Skip to contentSkip to conversation

dt-bindings: display: add #sound-dai-cells property to rockchip dw hdmi

PATCH Applied Johan Jonker 3 participants 5 messages Apr 13, 2024 – Apr 19, 2024

Subsystems (5)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 dt-bindings: display: add #sound-dai-cells property to rockchip dw hdmi

The Rockchip DWC HDMI TX Encoder can take one I2S input and transmit it over the HDMI output. Add #sound-dai-cells (= 0) to the binding for it.

---
 .../bindings/display/rockchip/rockchip,dw-hdmi.yaml          | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml +5 -0
index af638b6c0d21..2aac62219ff6 100644
@@ -15,6 +15,7 @@ description: |
 
 allOf:
   - $ref: ../bridge/synopsys,dw-hdmi.yaml#
+  - $ref: /schemas/sound/dai-common.yaml#
 
 properties:
   compatible:
@@ -124,6 +125,9 @@ properties:
     description:
       phandle to the GRF to mux vopl/vopb.
 
+  "#sound-dai-cells":
+    const: 0
+
 required:
   - compatible
   - reg
@@ -153,6 +157,7 @@ examples:
         ddc-i2c-bus = <&i2c5>;
         power-domains = <&power RK3288_PD_VIO>;
         rockchip,grf = <&grf>;
+        #sound-dai-cells = <0>;
 
         ports {
             #address-cells = <1>;

--
2.39.2

#1 lore raw

PATCH 2/3 dt-bindings: display: add #sound-dai-cells property to rockchip rk3066 hdmi

The Rockchip rk3066 HDMI controller can take one I2S input and transmit it over the HDMI output. Add #sound-dai-cells (= 0) to the binding for it.

---
 .../bindings/display/rockchip/rockchip,rk3066-hdmi.yaml    | 7 +++++++
 1 file changed, 7 insertions(+)
Documentation/devicetree/bindings/display/rockchip/rockchip,rk3066-hdmi.yaml +7 -0
index 1a68a940d165..6d4b78a36576 100644
@@ -10,6 +10,9 @@ maintainers:
   - Sandy Huang <[email protected]>
   - Heiko Stuebner <[email protected]>
 
+allOf:
+  - $ref: /schemas/sound/dai-common.yaml#
+
 properties:
   compatible:
     const: rockchip,rk3066-hdmi
@@ -34,6 +37,9 @@ properties:
     description:
       This soc uses GRF regs to switch the HDMI TX input between vop0 and vop1.
 
+  "#sound-dai-cells":
+    const: 0
+
   ports:
     $ref: /schemas/graph.yaml#/properties/ports
 
@@ -83,6 +89,7 @@ examples:
       pinctrl-names = "default";
       power-domains = <&power RK3066_PD_VIO>;
       rockchip,grf = <&grf>;
+      #sound-dai-cells = <0>;
 
       ports {
         #address-cells = <1>;

--
2.39.2

#2 lore raw

PATCH 3/3 dt-bindings: display: add #sound-dai-cells property to rockchip inno hdmi

In reply to Johan Jonker

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.

---
 .../bindings/display/rockchip/rockchip,inno-hdmi.yaml        | 5 +++++
 1 file changed, 5 insertions(+)
Documentation/devicetree/bindings/display/rockchip/rockchip,inno-hdmi.yaml +5 -0
index be78dcfa1c76..5b87b0f1963e 100644
@@ -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>;

--
2.39.2

maintainer Applied
#4 lore raw
In reply to Johan Jonker
Quoted 4 lines · Johan Jonker

The Rockchip DWC HDMI TX Encoder can take one I2S input and transmit it over the HDMI output. Add #sound-dai-cells (= 0) to the binding for it.

Applied, thanks!

[1/3] dt-bindings: display: add #sound-dai-cells property to rockchip dw hdmi

      commit: e58414e44b5315230de829ed88a63611646907ac
[2/3] dt-bindings: display: add #sound-dai-cells property to rockchip rk3066 hdmi
      commit: 9be3eb5d6ee57662a22b56153c7ee39265685455
[3/3] dt-bindings: display: add #sound-dai-cells property to rockchip inno hdmi
      commit: b1ee6bd3ea954d081bfb1d5559ce3e78ef40443a

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>