]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: rockchip: Add PX30 LVDS
authorMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 24 Dec 2019 14:39:00 +0000 (15:39 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 6 Jan 2020 11:45:27 +0000 (12:45 +0100)
Describe LVDS IP. Add the CRTC and LVDS relevant endpoints so they can
be linked together.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20191224143900.23567-12-miquel.raynal@bootlin.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/px30.dtsi

index 986ed249a733f896e37f4bc0a1f05dbd731860a3..b3fb9d31746698418a0cf3dc7cf6c2a0b59d02bc 100644 (file)
@@ -410,6 +410,33 @@ io_domains: io-domains {
                        compatible = "rockchip,px30-io-voltage-domain";
                        status = "disabled";
                };
+
+               lvds: lvds {
+                       compatible = "rockchip,px30-lvds";
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       phys = <&dsi_dphy>;
+                       phy-names = "dphy";
+                       rockchip,grf = <&grf>;
+                       rockchip,output = "lvds";
+                       status = "disabled";
+
+                       port@0 {
+                               reg = <0>;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               lvds_vopb_in: endpoint@0 {
+                                       reg = <0>;
+                                       remote-endpoint = <&vopb_out_lvds>;
+                               };
+
+                               lvds_vopl_in: endpoint@1 {
+                                       reg = <1>;
+                                       remote-endpoint = <&vopl_out_lvds>;
+                               };
+                       };
+               };
        };
 
        uart1: serial@ff158000 {
@@ -1015,6 +1042,11 @@ vopb_out_dsi: endpoint@0 {
                                reg = <0>;
                                remote-endpoint = <&dsi_in_vopb>;
                        };
+
+                       vopb_out_lvds: endpoint@1 {
+                               reg = <1>;
+                               remote-endpoint = <&lvds_vopb_in>;
+                       };
                };
        };
 
@@ -1052,6 +1084,11 @@ vopl_out_dsi: endpoint@0 {
                                reg = <0>;
                                remote-endpoint = <&dsi_in_vopl>;
                        };
+
+                       vopl_out_lvds: endpoint@1 {
+                               reg = <1>;
+                               remote-endpoint = <&lvds_vopl_in>;
+                       };
                };
        };