arm64: dts: renesas: r8a774b1: Add HDMI encoder instance
authorBiju Das <biju.das@bp.renesas.com>
Wed, 2 Oct 2019 15:20:13 +0000 (16:20 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 10 Oct 2019 14:22:07 +0000 (16:22 +0200)
Add the HDMI encoder to the R8A774B1 DT in disabled state.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/1570029619-43238-4-git-send-email-biju.das@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
arch/arm64/boot/dts/renesas/r8a774b1.dtsi

index 777b45d..979be5a 100644 (file)
                };
 
                hdmi0: hdmi@fead0000 {
+                       compatible = "renesas,r8a774b1-hdmi",
+                                    "renesas,rcar-gen3-hdmi";
                        reg = <0 0xfead0000 0 0x10000>;
+                       interrupts = <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 729>,
+                                <&cpg CPG_CORE R8A774B1_CLK_HDMI>;
+                       clock-names = "iahb", "isfr";
+                       power-domains = <&sysc R8A774B1_PD_ALWAYS_ON>;
+                       resets = <&cpg 729>;
+                       status = "disabled";
 
                        ports {
                                #address-cells = <1>;
                                port@0 {
                                        reg = <0>;
                                        dw_hdmi0_in: endpoint {
+                                               remote-endpoint = <&du_out_hdmi0>;
                                        };
                                };
                                port@1 {
                                        reg = <1>;
                                };
+                               port@2 {
+                                       /* HDMI sound */
+                                       reg = <2>;
+                               };
                        };
                };
 
                                port@1 {
                                        reg = <1>;
                                        du_out_hdmi0: endpoint {
+                                               remote-endpoint = <&dw_hdmi0_in>;
                                        };
                                };
                                port@2 {