]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: fsl_sai: Add AUDMIX mode support on i.MX952
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 23 Jan 2026 08:25:01 +0000 (16:25 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 26 Jan 2026 12:09:19 +0000 (12:09 +0000)
commit19b08fd23b20593ebe43708308dbddb02507877d
tree636e9d5b654bbed6b0b3a9e4ea83b2863fc4fa25
parent291f2f908823832e932582500816ad614631d568
ASoC: fsl_sai: Add AUDMIX mode support on i.MX952

One of SAI interfaces is connected to AUDMIX in the i.MX952 chip, but
AUDMIX can be bypassed or not bypassed on the i.MX952 platform.

There are three use cases:
1) SAI -> Codec (No AUDMIX between SAI and Codec)
2) SAI -> Codec (Has AUDMIX, but AUDMIX is bypassed)
3) SAI -> AUDMIX -> Codec (Has AUDMIX and used)

So add 'fsl,sai-amix-mode' property for this feature

fsl,sai-amix-mode = "none": is for case 1)
fsl,sai-amix-mode = "bypass": is for case 2)
fsl,sai-amix-mode = "audmix": is for case 3)

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://patch.msgid.link/20260123082501.4050296-5-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/firmware/imx/sm.h
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/fsl_sai.h