From: NĂ­colas F. R. A. Prado Date: Mon, 24 Oct 2022 23:06:57 +0000 (-0400) Subject: ASoC: dt-bindings: mt8192-mt6359: Set maxItems, not type, for sound-dai X-Git-Tag: v6.6.7~3823^2^2~161 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=555e6f573a0a08b66b9543a0e098c5d6adf8e8af;p=platform%2Fkernel%2Flinux-starfive.git ASoC: dt-bindings: mt8192-mt6359: Set maxItems, not type, for sound-dai sound-dai is a standard property whose type is already set to phandle-array by sound-dai.yaml, so there's no need to set it (and wrongly so for headset-codec) in this binding. What should be set however is the maximum number of items, which for headset-codec should be 1. Signed-off-by: NĂ­colas F. R. A. Prado Acked-by: Rob Herring Link: https://lore.kernel.org/r/20221024230658.1772907-1-nfraprado@collabora.com Signed-off-by: Mark Brown --- diff --git a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml index 478be7e..c6e614c 100644 --- a/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml +++ b/Documentation/devicetree/bindings/sound/mt8192-mt6359-rt1015-rt5682.yaml @@ -34,7 +34,7 @@ properties: properties: sound-dai: - $ref: /schemas/types.yaml#/definitions/phandle + maxItems: 1 required: - sound-dai @@ -48,7 +48,6 @@ properties: maxItems: 2 items: maxItems: 1 - $ref: /schemas/types.yaml#/definitions/phandle-array required: - sound-dai