Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: dt-bindings: fsl,sai: Add AUDMIX mode support on i.MX952

The SAI can connect to AUDMIX, but AUDMIX can be bypassed or not on
i.MX952. 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-3-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Shengjiu Wang and committed by
Mark Brown
4d3b56b8 7550d626

+16
+16
Documentation/devicetree/bindings/sound/fsl,sai.yaml
··· 132 132 - description: dataline mask for 'rx' 133 133 - description: dataline mask for 'tx' 134 134 135 + fsl,sai-amix-mode: 136 + $ref: /schemas/types.yaml#/definitions/string 137 + description: 138 + The audmix module is bypassed from hardware or not. 139 + enum: [none, bypass, audmix] 140 + default: none 141 + 135 142 fsl,sai-mclk-direction-output: 136 143 description: SAI will output the SAI MCLK clock. 137 144 type: boolean ··· 185 178 then: 186 179 properties: 187 180 fsl,sai-synchronous-rx: false 181 + 182 + - if: 183 + required: 184 + - fsl,sai-amix-mode 185 + then: 186 + properties: 187 + compatible: 188 + contains: 189 + const: fsl,imx952-sai 188 190 189 191 required: 190 192 - compatible