ASoC: dt-bindings: samsung,tm2: Correct "audio-codec" constraints
authorRob Herring <robh@kernel.org>
Wed, 24 Jan 2024 19:07:53 +0000 (13:07 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 26 Jan 2024 14:46:54 +0000 (14:46 +0000)
The "audio-codec" constraints define how many entries(2), but not the
size of each entry. Each entry is a single phandle. Define the size with
an inner 'items' list.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://msgid.link/r/20240124190754.1554899-1-robh@kernel.org
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/samsung,tm2.yaml

index 7605925..cbc7ba3 100644 (file)
@@ -25,8 +25,11 @@ properties:
     description: Phandles to the codecs.
     $ref: /schemas/types.yaml#/definitions/phandle-array
     items:
-      - description: Phandle to the WM5110 audio codec.
-      - description: Phandle to the HDMI transmitter node.
+      - items:
+          - description: Phandle to the WM5110 audio codec.
+      - items:
+          - description: Phandle to the HDMI transmitter node.
+
 
   samsung,audio-routing:
     description: |