All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: tlv320adcx140: extend list of supported samplerates
@ 2023-02-14  9:10 Alexandru Ardelean
  2023-02-14 18:01 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandru Ardelean @ 2023-02-14  9:10 UTC (permalink / raw)
  To: alsa-devel
  Cc: broonie, lgirdwood, tiwai, steffen.aschbacher, patrick.frick,
	Alexandru Ardelean

From: Steffen Aschbacher <steffen.aschbacher@stihl.de>

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 <steffen.aschbacher@stihl.de>
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
---
 sound/soc/codecs/tlv320adcx140.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sound/soc/codecs/tlv320adcx140.h b/sound/soc/codecs/tlv320adcx140.h
index fd80fac8b327..27a1f1012fe2 100644
--- a/sound/soc/codecs/tlv320adcx140.h
+++ b/sound/soc/codecs/tlv320adcx140.h
@@ -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 | \
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: tlv320adcx140: extend list of supported samplerates
  2023-02-14  9:10 [PATCH] ASoC: tlv320adcx140: extend list of supported samplerates Alexandru Ardelean
@ 2023-02-14 18:01 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2023-02-14 18:01 UTC (permalink / raw)
  To: alsa-devel, Alexandru Ardelean
  Cc: lgirdwood, tiwai, steffen.aschbacher, patrick.frick

On Tue, 14 Feb 2023 11:10:51 +0200, Alexandru Ardelean wrote:
> 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.
> 
> [...]

Applied to

   broonie/sound.git for-next

Thanks!

[1/1] ASoC: tlv320adcx140: extend list of supported samplerates
      commit: 7af4222832a10c2726a93c2600652090ae06ecb9

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-14 18:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-14  9:10 [PATCH] ASoC: tlv320adcx140: extend list of supported samplerates Alexandru Ardelean
2023-02-14 18:01 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.