diff options
author | Jacob Siverskog | 2016-01-22 13:39:54 +0100 |
---|---|---|
committer | Mark Brown | 2016-01-29 00:36:21 +0100 |
commit | 70e3e56e6c3d499be47322037ed4a42314a8e509 (patch) | |
tree | 08a466c428c81e4e45f5c7263cf7ec742264e784 /sound/soc/codecs/Kconfig | |
parent | ASoC: pcm179x: Split into core and SPI parts (diff) | |
download | kernel-qcow2-linux-70e3e56e6c3d499be47322037ed4a42314a8e509.tar.gz kernel-qcow2-linux-70e3e56e6c3d499be47322037ed4a42314a8e509.tar.xz kernel-qcow2-linux-70e3e56e6c3d499be47322037ed4a42314a8e509.zip |
ASoC: pcm179x: Add I2C interface driver
The PCM179x family supports both SPI and I2C. This patch adds support
for the I2C interface.
Signed-off-by: Jacob Siverskog <jacob@teenage.engineering>
Reviewed-by: Johan Hovold <johan@kernel.org>
Acked-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index ae720f1b15e8..3a8fcf13200f 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -87,6 +87,7 @@ config SND_SOC_ALL_CODECS select SND_SOC_ML26124 if I2C select SND_SOC_NAU8825 if I2C select SND_SOC_PCM1681 if I2C + select SND_SOC_PCM179X_I2C if I2C select SND_SOC_PCM179X_SPI if SPI_MASTER select SND_SOC_PCM3008 select SND_SOC_PCM3168A_I2C if I2C @@ -529,6 +530,14 @@ config SND_SOC_PCM1681 config SND_SOC_PCM179X tristate +config SND_SOC_PCM179X_I2C + tristate "Texas Instruments PCM179X CODEC (I2C)" + depends on I2C + select SND_SOC_PCM179X + help + Enable support for Texas Instruments PCM179x CODEC. + Select this if your PCM179x is connected via an I2C bus. + config SND_SOC_PCM179X_SPI tristate "Texas Instruments PCM179X CODEC (SPI)" depends on SPI_MASTER |