summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2017-03-08 19:42:49 +0300
committerMark Brown <broonie@kernel.org>2017-03-13 19:09:17 +0300
commit8d45f2d23864ae1582d095c54605540cd3640169 (patch)
treef9b1a57d779269195aa8f4e27a3b932b103687ea /include/sound
parent45114c364d476ba0bbc294d63955f49fbf378779 (diff)
downloadlinux-8d45f2d23864ae1582d095c54605540cd3640169.tar.xz
ASoC: cs35l35: Add for configuring drive mode in unused slots
Add support for setting how the I2S pins are driven in unused slots, currently the chip will just use the default of drive 0, however this causes issues when multiple devices are attached to the same bus. Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/cs35l35.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/cs35l35.h b/include/sound/cs35l35.h
index de92e452bf93..983c610eba2e 100644
--- a/include/sound/cs35l35.h
+++ b/include/sound/cs35l35.h
@@ -80,6 +80,8 @@ struct cs35l35_platform_data {
bool stereo;
/* serial port drive strength */
int sp_drv_str;
+ /* serial port drive in unused slots */
+ int sp_drv_unused;
/* Boost Power Down with FET */
bool bst_pdn_fet_on;
/* Boost Voltage : used if ClassH Algo Enabled */