ASoC: dt-bindings: fsl,mqs: Reference common DAI properties
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 28 Mar 2025 02:13:39 +0000 (10:13 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 6 Apr 2025 22:25:16 +0000 (23:25 +0100)
Reference the dai-common.yaml schema to allow '#sound-dai-cells' and
"sound-name-prefix' to be used.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250328021339.1593635-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/fsl,mqs.yaml

index 8c22e8348b14df4bad5775f4b18e14a6cbbccd1d..d1ac84e518a0bcd76e672b43ca7d1716e4cb4c63 100644 (file)
@@ -28,6 +28,9 @@ properties:
       - fsl,imx95-aonmix-mqs
       - fsl,imx95-netcmix-mqs
 
+  "#sound-dai-cells":
+    const: 0
+
   clocks:
     minItems: 1
     maxItems: 2
@@ -55,6 +58,7 @@ required:
   - clock-names
 
 allOf:
+  - $ref: dai-common.yaml#
   - if:
       properties:
         compatible:
@@ -86,7 +90,7 @@ allOf:
       required:
         - gpr
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |