[RESEND PATCH v5 5/5] ASoC: fsl_easrc: expose individual DAIs per conversion path
Daniel Baluta
daniel.baluta at oss.nxp.com
Wed Sep 23 08:25:08 PDT 2026
On 9/22/26 06:34, shengjiu.wang at oss.nxp.com wrote:
> From: Shengjiu Wang <shengjiu.wang at nxp.com>
>
> The i.MX EASRC hardware supports four independent conversion contexts
> (A, B, C, D). 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_easrc_dai instance with an array of four DAI
> drivers to allow up to four independent conversion paths to be active
> at the same time:
>
> easrc-0 -- ASRC-Playback / ASRC-Capture (backward compatible)
> easrc-1 -- ASRC1-Playback / ASRC1-Capture
> easrc-2 -- ASRC2-Playback / ASRC2-Capture
> easrc-3 -- ASRC3-Playback / ASRC3-Capture
>
> easrc-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, including IEC958 subframe support on the capture side. Update
> the devm_snd_soc_register_component() call to register all four DAIs.
>
> Signed-off-by: Shengjiu Wang <shengjiu.wang at nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta at nxp.com>
More information about the linux-arm-kernel
mailing list