diff mbox series

[v8,10/24] dt-bindings: display: rockchip: dw-hdmi: Add additional clock

Message ID 20220311083323.887372-11-s.hauer@pengutronix.de
State New
Headers show
Series [v8,01/24] drm/rockchip: Embed drm_encoder into rockchip_decoder | expand

Commit Message

Sascha Hauer March 11, 2022, 8:33 a.m. UTC
The rk3568 HDMI has an additional clock that needs to be enabled for the
HDMI controller to work. It is not needed for the HDMI controller
itself, but to make the SoC internal busses work.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---

Notes:
    Changes since v7:
    - rename hclk to niu

 .../bindings/display/rockchip/rockchip,dw-hdmi.yaml        | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
index e6b8437a1e2d1..1df61cb420744 100644
--- a/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
+++ b/Documentation/devicetree/bindings/display/rockchip/rockchip,dw-hdmi.yaml
@@ -33,12 +33,13 @@  properties:
     items:
       - {}
       - {}
-      # The next three clocks are all optional, but shall be specified in this
+      # The next four clocks are all optional, but shall be specified in this
       # order when present.
       - description: The HDMI CEC controller main clock
       - description: Power for GRF IO
       - description: External clock for some HDMI PHY (old clock name, deprecated)
       - description: External clock for some HDMI PHY (new name)
+      - description: NIU clock, needed on rk356x for SoC internal bus circuitry
 
   clock-names:
     minItems: 2
@@ -50,13 +51,17 @@  properties:
           - grf
           - vpll
           - ref
+          - niu
       - enum:
           - grf
           - vpll
           - ref
+          - niu
       - enum:
           - vpll
           - ref
+          - niu
+      - const: niu
 
   ddc-i2c-bus:
     $ref: /schemas/types.yaml#/definitions/phandle