Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: meson: axg: extend TDM maximum sample rate to 384kHz

The TDM HW on the axg SoC families and derivatives actually supports
384kHz sampling rate.

Update the fifo and tdm interface constraints accordingly.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20230907090910.13546-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Jerome Brunet and committed by
Mark Brown
43f2d432 428cc410

+3 -3
+1 -1
sound/soc/meson/axg-fifo.c
··· 31 31 SNDRV_PCM_INFO_NO_PERIOD_WAKEUP), 32 32 .formats = AXG_FIFO_FORMATS, 33 33 .rate_min = 5512, 34 - .rate_max = 192000, 34 + .rate_max = 384000, 35 35 .channels_min = 1, 36 36 .channels_max = AXG_FIFO_CH_MAX, 37 37 .period_bytes_min = AXG_FIFO_BURST,
+1 -1
sound/soc/meson/axg-fifo.h
··· 22 22 23 23 #define AXG_FIFO_CH_MAX 128 24 24 #define AXG_FIFO_RATES (SNDRV_PCM_RATE_5512 | \ 25 - SNDRV_PCM_RATE_8000_192000) 25 + SNDRV_PCM_RATE_8000_384000) 26 26 #define AXG_FIFO_FORMATS (SNDRV_PCM_FMTBIT_S8 | \ 27 27 SNDRV_PCM_FMTBIT_S16_LE | \ 28 28 SNDRV_PCM_FMTBIT_S20_LE | \
+1 -1
sound/soc/meson/axg-tdm.h
··· 16 16 #define AXG_TDM_NUM_LANES 4 17 17 #define AXG_TDM_CHANNEL_MAX 128 18 18 #define AXG_TDM_RATES (SNDRV_PCM_RATE_5512 | \ 19 - SNDRV_PCM_RATE_8000_192000) 19 + SNDRV_PCM_RATE_8000_384000) 20 20 #define AXG_TDM_FORMATS (SNDRV_PCM_FMTBIT_S8 | \ 21 21 SNDRV_PCM_FMTBIT_S16_LE | \ 22 22 SNDRV_PCM_FMTBIT_S20_LE | \