]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: renesas: r8a77965: Add LVDS support
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 18 Oct 2018 00:41:49 +0000 (03:41 +0300)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 5 Nov 2018 11:47:18 +0000 (12:47 +0100)
The M3-N (r8a77965) platform has one LVDS encoder connected to the DU.
Add the corresponding DT node and wire it up.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77965.dtsi

index 83946ca2eba5d042b091cbbae863bb56d207f1c3..b984b85dc066c0d80d3cf06fb3816535ed2ebba6 100644 (file)
@@ -2153,6 +2153,33 @@ du_out_hdmi0: endpoint {
                                port@2 {
                                        reg = <2>;
                                        du_out_lvds0: endpoint {
                                port@2 {
                                        reg = <2>;
                                        du_out_lvds0: endpoint {
+                                               remote-endpoint = <&lvds0_in>;
+                                       };
+                               };
+                       };
+               };
+
+               lvds0: lvds@feb90000 {
+                       compatible = "renesas,r8a77965-lvds";
+                       reg = <0 0xfeb90000 0 0x14>;
+                       clocks = <&cpg CPG_MOD 727>;
+                       power-domains = <&sysc R8A77965_PD_ALWAYS_ON>;
+                       resets = <&cpg 727>;
+                       status = "disabled";
+
+                       ports {
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               port@0 {
+                                       reg = <0>;
+                                       lvds0_in: endpoint {
+                                               remote-endpoint = <&du_out_lvds0>;
+                                       };
+                               };
+                               port@1 {
+                                       reg = <1>;
+                                       lvds0_out: endpoint {
                                        };
                                };
                        };
                                        };
                                };
                        };