]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: r8a7796: Add HDMI encoder instance
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 10 Jul 2017 09:57:08 +0000 (12:57 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 27 Jul 2017 13:59:07 +0000 (15:59 +0200)
Add the HDMI encoder to the R8A7796 DT in disabled state.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a7796.dtsi

index 8c0d58d49bdf0fba743705c3d694ca737aa8c395..016cdd0bf289abfd331200943f933e1e5040d506 100644 (file)
@@ -1665,6 +1665,31 @@ fcpvd2: fcp@fea37000 {
                        resets = <&cpg 601>;
                };
 
+               hdmi0: hdmi@fead0000 {
+                       compatible = "renesas,r8a7796-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 R8A7796_CLK_HDMI>;
+                       clock-names = "iahb", "isfr";
+                       power-domains = <&sysc R8A7796_PD_ALWAYS_ON>;
+                       resets = <&cpg 729>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               port@0 {
+                                       reg = <0>;
+                                       dw_hdmi0_in: endpoint {
+                                               remote-endpoint = <&du_out_hdmi0>;
+                                       };
+                               };
+                               port@1 {
+                                       reg = <1>;
+                               };
+                       };
+               };
+
                du: display@feb00000 {
                        compatible = "renesas,du-r8a7796";
                        reg = <0 0xfeb00000 0 0x70000>,
@@ -1694,6 +1719,7 @@ du_out_rgb: endpoint {
                                port@1 {
                                        reg = <1>;
                                        du_out_hdmi0: endpoint {
+                                               remote-endpoint = <&dw_hdmi0_in>;
                                        };
                                };
                                port@2 {