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

ASoC: dt-bindings: fsl_spdif: Document imx6sl/sx compatible fallback

i.MX6SL and i.MX6SX SPDIF blocks are compatible with i.MX35.

Document 'fsl,imx35-spdif' as a fallback compatible for these two
chip variants.

This fixes the following dt-schema warnings:

compatible: ['fsl,imx6sl-spdif', 'fsl,imx35-spdif'] is too long
compatible: ['fsl,imx6sx-spdif', 'fsl,imx35-spdif'] is too long

Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://patch.msgid.link/20241028020749.36972-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Fabio Estevam and committed by
Mark Brown
82e54d65 224b898f

+17 -10
+17 -10
Documentation/devicetree/bindings/sound/fsl,spdif.yaml
··· 16 16 17 17 properties: 18 18 compatible: 19 - enum: 20 - - fsl,imx35-spdif 21 - - fsl,vf610-spdif 22 - - fsl,imx6sx-spdif 23 - - fsl,imx8qm-spdif 24 - - fsl,imx8qxp-spdif 25 - - fsl,imx8mq-spdif 26 - - fsl,imx8mm-spdif 27 - - fsl,imx8mn-spdif 28 - - fsl,imx8ulp-spdif 19 + oneOf: 20 + - items: 21 + - enum: 22 + - fsl,imx35-spdif 23 + - fsl,imx6sx-spdif 24 + - fsl,imx8mm-spdif 25 + - fsl,imx8mn-spdif 26 + - fsl,imx8mq-spdif 27 + - fsl,imx8qm-spdif 28 + - fsl,imx8qxp-spdif 29 + - fsl,imx8ulp-spdif 30 + - fsl,vf610-spdif 31 + - items: 32 + - enum: 33 + - fsl,imx6sl-spdif 34 + - fsl,imx6sx-spdif 35 + - const: fsl,imx35-spdif 29 36 30 37 reg: 31 38 maxItems: 1