Re: [RESEND PATCH v5 4/5] ASoC: fsl_asrc: expose individual DAIs per conversion path

From: Chancel Liu

Date: Tue Sep 22 2026 - 02:02:08 EST


On 9/22/2026 11:34 AM, shengjiu.wang@xxxxxxxxxxx wrote:
> From: Shengjiu Wang <shengjiu.wang@xxxxxxx>
>
> The i.MX ASRC hardware supports three independent conversion pairs
> (A, B, C). The driver previously registered a single DAI with generic
> stream names "ASRC-Playback" and "ASRC-Capture", which prevents
> multiple independent conversion paths from being used simultaneously.
>
> Replace the single fsl_asrc_dai instance with an array of three DAI
> drivers to allow up to three independent conversion paths to be active
> at the same time:
>
> asrc-0 -- ASRC-Playback / ASRC-Capture (backward compatible)
> asrc-1 -- ASRC1-Playback / ASRC1-Capture
> asrc-2 -- ASRC2-Playback / ASRC2-Capture
>
> asrc-0 retains the original generic stream names to preserve backward
> compatibility with existing machine drivers and board configurations.
> Each DAI retains the same channel, rate and format capabilities as the
> original. Update the devm_snd_soc_register_component() call to register
> all three DAIs.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang@xxxxxxx>

Reviewed-by: Chancel Liu <chancel.liu@xxxxxxxxx>

Regards,
Chancel Liu