]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: imx-rpmsg: Add DSD format support with dynamic DAI format switching
authorChancel Liu <chancel.liu@nxp.com>
Thu, 26 Mar 2026 05:56:14 +0000 (14:56 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 3 Apr 2026 14:13:22 +0000 (15:13 +0100)
commitccd7e53b7d6f06b0fef0f657c8cf377be2e8978d
treeb2f95ea338f5c1cfa9dadd72a22ca4569052a7fb
parentba2a0e81d4d71c3bbc61c420b6fac5abaeddd77d
ASoC: imx-rpmsg: Add DSD format support with dynamic DAI format switching

Add hw_params callback to dynamically switch DAI format between I2S
and PDM based on audio stream format. When DSD formats are detected,
the DAI format is switched to PDM mode.

Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Link: https://patch.msgid.link/20260326055614.3614104-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-rpmsg.c