Skip to content

Commit e9a3b57

Browse files
Ricard Wanderlofbroonie
authored andcommitted
ASoC: codec: tlv320adc3xxx: New codec driver
New codec driver for Texas Instruments TLV320ADC3001 and TLV320ADC3101 audio ADCs. Signed-off-by: Ricard Wanderlof <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent e047d03 commit e9a3b57

File tree

3 files changed

+1321
-0
lines changed

3 files changed

+1321
-0
lines changed

sound/soc/codecs/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ config SND_SOC_ALL_CODECS
220220
imply SND_SOC_TDA7419
221221
imply SND_SOC_TFA9879
222222
imply SND_SOC_TFA989X
223+
imply SND_SOC_TLV320ADC3XXX
223224
imply SND_SOC_TLV320ADCX140
224225
imply SND_SOC_TLV320AIC23_I2C
225226
imply SND_SOC_TLV320AIC23_SPI
@@ -1496,6 +1497,13 @@ config SND_SOC_TFA989X
14961497
Note that the driver currently bypasses the built-in "CoolFlux DSP"
14971498
and does not support (hardware) volume control.
14981499

1500+
config SND_SOC_TLV320ADC3XXX
1501+
tristate "Texas Instruments TLV320ADC3001/3101 audio ADC"
1502+
depends on I2C
1503+
help
1504+
Enable support for Texas Instruments TLV320ADC3001 and TLV320ADC3101
1505+
ADCs.
1506+
14991507
config SND_SOC_TLV320AIC23
15001508
tristate
15011509

sound/soc/codecs/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ snd-soc-tda7419-objs := tda7419.o
239239
snd-soc-tas2770-objs := tas2770.o
240240
snd-soc-tfa9879-objs := tfa9879.o
241241
snd-soc-tfa989x-objs := tfa989x.o
242+
snd-soc-tlv320adc3xxx-objs := tlv320adc3xxx.o
242243
snd-soc-tlv320aic23-objs := tlv320aic23.o
243244
snd-soc-tlv320aic23-i2c-objs := tlv320aic23-i2c.o
244245
snd-soc-tlv320aic23-spi-objs := tlv320aic23-spi.o
@@ -574,6 +575,7 @@ obj-$(CONFIG_SND_SOC_TDA7419) += snd-soc-tda7419.o
574575
obj-$(CONFIG_SND_SOC_TAS2770) += snd-soc-tas2770.o
575576
obj-$(CONFIG_SND_SOC_TFA9879) += snd-soc-tfa9879.o
576577
obj-$(CONFIG_SND_SOC_TFA989X) += snd-soc-tfa989x.o
578+
obj-$(CONFIG_SND_SOC_TLV320ADC3XXX) += snd-soc-tlv320adc3xxx.o
577579
obj-$(CONFIG_SND_SOC_TLV320AIC23) += snd-soc-tlv320aic23.o
578580
obj-$(CONFIG_SND_SOC_TLV320AIC23_I2C) += snd-soc-tlv320aic23-i2c.o
579581
obj-$(CONFIG_SND_SOC_TLV320AIC23_SPI) += snd-soc-tlv320aic23-spi.o

0 commit comments

Comments
 (0)