]> Git Repo - linux.git/commitdiff
ASoC: tlv320adcx140: extend list of supported samplerates
authorSteffen Aschbacher <[email protected]>
Tue, 14 Feb 2023 09:10:51 +0000 (11:10 +0200)
committerMark Brown <[email protected]>
Tue, 14 Feb 2023 13:25:18 +0000 (13:25 +0000)
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]>
sound/soc/codecs/tlv320adcx140.h

index fd80fac8b32749bdb7d48cfc96afb93dcacc7eaa..27a1f1012fe24c8cb247ad4c2c9cf05c5b110b4c 100644 (file)
@@ -6,7 +6,9 @@
 #define _TLV320ADCX140_H
 
 #define ADCX140_RATES  (SNDRV_PCM_RATE_44100 | \
-                        SNDRV_PCM_RATE_48000)
+                        SNDRV_PCM_RATE_48000 | \
+                        SNDRV_PCM_RATE_96000 | \
+                        SNDRV_PCM_RATE_192000)
 
 #define ADCX140_FORMATS        (SNDRV_PCM_FMTBIT_S16_LE | \
                         SNDRV_PCM_FMTBIT_S20_3LE | \
This page took 0.057456 seconds and 4 git commands to generate.