1 From 965351ba5a271c0a4a7776193b7af78871370f7a Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime@cerno.tech>
3 Date: Thu, 13 Feb 2020 16:45:24 +0100
4 Subject: [PATCH] dt-bindings: display: vc4: hdmi: Add BCM2711 HDMI
7 The HDMI controllers found in the BCM2711 SoC need some adjustments to the
8 bindings, especially since the registers have been shuffled around in more
11 Cc: Rob Herring <robh+dt@kernel.org>
12 Cc: devicetree@vger.kernel.org
13 Signed-off-by: Maxime Ripard <maxime@cerno.tech>
15 .../bindings/display/brcm,bcm2835-hdmi.yaml | 118 ++++++++++++++++--
16 1 file changed, 109 insertions(+), 9 deletions(-)
18 --- a/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml
19 +++ b/Documentation/devicetree/bindings/display/brcm,bcm2835-hdmi.yaml
20 @@ -11,24 +11,58 @@ maintainers:
24 - const: brcm,bcm2835-hdmi
27 + - brcm,bcm2711-hdmi0
28 + - brcm,bcm2711-hdmi1
33 + - description: HDMI register range
34 + - description: HD register range
37 + - description: HDMI controller register range
38 + - description: DVP register range
39 + - description: HDMI PHY register range
40 + - description: Rate Manager register range
41 + - description: Packet RAM register range
42 + - description: Metadata RAM register range
43 + - description: CSC register range
44 + - description: CEC register range
45 + - description: HD register range
49 - - description: HDMI register range
50 - - description: HD register range
66 - - description: The pixel clock
67 - - description: The HDMI state machine clock
70 + - description: The pixel clock
71 + - description: The HDMI state machine clock
74 + - description: The HDMI state machine clock
87 @@ -51,15 +85,54 @@ properties:
101 additionalProperties: false
108 + - brcm,bcm2711-hdmi0
109 + - brcm,bcm2711-hdmi1
142 #include <dt-bindings/clock/bcm2835.h>
143 @@ -77,4 +150,31 @@ examples:
144 clock-names = "pixel", "hdmi";
148 + hdmi0: hdmi@7ef00700 {
149 + compatible = "brcm,bcm2711-hdmi0";
150 + reg = <0x7ef00700 0x300>,
151 + <0x7ef00300 0x200>,
154 + <0x7ef01b00 0x200>,
155 + <0x7ef01f00 0x400>,
157 + <0x7ef04300 0x100>,
158 + <0x7ef20000 0x100>;
159 + reg-names = "hdmi",
168 + clocks = <&firmware_clocks 13>;
169 + clock-names = "hdmi";