dt-bindings: display: add #sound-dai-cells property to rockchip inno hdmi
authorJohan Jonker <jbx6244@gmail.com>
Sat, 13 Apr 2024 15:39:24 +0000 (17:39 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 19 Apr 2024 11:05:43 +0000 (13:05 +0200)
The Rockchip inno HDMI controller can take one I2S input and transmit it
over the HDMI output. Add #sound-dai-cells (= 0) to the binding for it.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/521d4229-7490-4494-8191-cd5f3119249e@gmail.com
Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml

index be78dcfa1c762902b277b34365aef1e7517883d1..5b87b0f1963e169e41ba18e8e4f535b064072a58 100644 (file)
@@ -37,6 +37,9 @@ properties:
   power-domains:
     maxItems: 1
 
+  "#sound-dai-cells":
+    const: 0
+
   ports:
     $ref: /schemas/graph.yaml#/properties/ports
 
@@ -66,6 +69,7 @@ required:
   - ports
 
 allOf:
+  - $ref: /schemas/sound/dai-common.yaml#
   - if:
       properties:
         compatible:
@@ -106,6 +110,7 @@ examples:
       clock-names = "pclk";
       pinctrl-names = "default";
       pinctrl-0 = <&hdmi_ctl>;
+      #sound-dai-cells = <0>;
 
       ports {
         #address-cells = <1>;