summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorJeremy McDermond <nh6z@nh6z.net>2016-04-19 02:24:06 +0200
committerMark Brown <broonie@kernel.org>2016-04-19 11:54:47 +0200
commit125bc681bc5d8183594e30492f0345a61ab3cc94 (patch)
treedce455d3c2761a96b8c03c94a90004385ee49b10 /sound/soc/codecs/Kconfig
parentASoC: tlv320aic32x4: Break out I2C support into separate module (diff)
downloadlinux-125bc681bc5d8183594e30492f0345a61ab3cc94.tar.xz
linux-125bc681bc5d8183594e30492f0345a61ab3cc94.zip
ASoC: tlv320aic32x4: Add SPI support
Add support for running the tlv32x4 control channel over SPI rather than I2C. Signed-off-by: Jeremy McDermond <nh6z@nh6z.net> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 38d07c3f5a38..3cc56e7d6e78 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -130,6 +130,7 @@ config SND_SOC_ALL_CODECS
select SND_SOC_TLV320AIC26 if SPI_MASTER
select SND_SOC_TLV320AIC31XX if I2C
select SND_SOC_TLV320AIC32X4_I2C if I2C
+ select SND_SOC_TLV320AIC32X4_SPI if SPI_MASTER
select SND_SOC_TLV320AIC3X if I2C
select SND_SOC_TPA6130A2 if I2C
select SND_SOC_TLV320DAC33 if I2C
@@ -774,6 +775,11 @@ config SND_SOC_TLV320AIC32X4_I2C
depends on I2C
select SND_SOC_TLV320AIC32X4
+config SND_SOC_TLV320AIC32X4_SPI
+ tristate
+ depends on SPI_MASTER
+ select SND_SOC_TLV320AIC32X4
+
config SND_SOC_TLV320AIC3X
tristate "Texas Instruments TLV320AIC3x CODECs"
depends on I2C