[PATCH v2 0/5] ASoC: fsl-asoc-card: Add some improvements
From: Shengjiu Wang
Date: Wed Apr 29 2026 - 06:02:39 EST
This patch series addresses several issues in the Freescale Generic ASoC
Sound Card driver related to hardware limitations, DPCM path switching,
and codec-specific constraints.
The fsl-asoc-card driver provides a generic machine driver for i.MX SoCs,
supporting various codecs and optional ASRC (Asynchronous Sample Rate
Converter) for sample rate conversion. During testing several issues were
identified:
1. Missing channel constraint propagation in DPCM mode
2. DPCM path switching causing audio dropouts
3. Hardware channel alignment requirements
4. Clock generation limitations preventing certain audio formats
5. Codec-specific PLL frequency violations
changes in v2:
- Patch 3/5: remove the static constraint_rates and constraint_channels
variable in fsl_asoc_card_startup(), move them to
struct fsl_asoc_card_priv, to avoid conflict with other instance
- Patch 4/5: make exclude S20_3LE format specific to WM8960/WM8962 + SAI
case, to avoid impact to other users.
Shengjiu Wang (5):
ASoC: fsl-asoc-card: enable dpcm_merged_chan flag for ASRC frontend
ASoC: fsl-asoc-card: enable ignore_pmdown_time for ASRC case
ASoC: fsl-asoc-card: add channel and rate constraints for CS42888
ASoC: fsl-asoc-card: exclude S20_3LE format for WM8960/WM8962 + SAI
ASoC: fsl-asoc-card: reduce WM8904 PLL ratio to meet frequency limit
sound/soc/fsl/fsl-asoc-card.c | 111 +++++++++++++++++++++++++++++++++-
1 file changed, 110 insertions(+), 1 deletion(-)
--
2.34.1