Skip to content

Commit 7af4222

Browse files
daschbacbroonie
authored andcommitted
ASoC: tlv320adcx140: extend list of supported samplerates
The 'tlv320adcx140' driver currently supports 3 devices: TLV320ADC3140, TLV320ADC5140 and TLV320ADC6140. All 3 devices, support higher samplerates, up to 768-kHz according to their datasheets. In our applications, we only tested (and worked) with 96 kHz and 192 kHz. This change extends the list of supported sample-rates for these devices with 96 & 192 kHz. References: https://www.ti.com/product/TLV320ADC3140 https://www.ti.com/product/TLV320ADC5140 https://www.ti.com/product/TLV320ADC6140 Signed-off-by: Steffen Aschbacher <[email protected]> Signed-off-by: Alexandru Ardelean <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8854144 commit 7af4222

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sound/soc/codecs/tlv320adcx140.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
#define _TLV320ADCX140_H
77

88
#define ADCX140_RATES (SNDRV_PCM_RATE_44100 | \
9-
SNDRV_PCM_RATE_48000)
9+
SNDRV_PCM_RATE_48000 | \
10+
SNDRV_PCM_RATE_96000 | \
11+
SNDRV_PCM_RATE_192000)
1012

1113
#define ADCX140_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | \
1214
SNDRV_PCM_FMTBIT_S20_3LE | \

0 commit comments

Comments
 (0)