arm64: dts: rockchip: fix px30 lvds ports
authorHeiko Stuebner <heiko.stuebner@theobroma-systems.com>
Tue, 21 Jan 2020 22:20:54 +0000 (23:20 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 1 Mar 2020 00:43:30 +0000 (01:43 +0100)
The lvds controller has two ports. port@0 for the connection
to the display controller(s) and port@1 for the connection to
the panel, so should have a ports node covering the port@x nodes.

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

index 4f48411..495212c 100644 (file)
 
                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>;
+                       ports {
                                #address-cells = <1>;
                                #size-cells = <0>;
 
-                               lvds_vopb_in: endpoint@0 {
+                               port@0 {
                                        reg = <0>;
-                                       remote-endpoint = <&vopb_out_lvds>;
-                               };
-
-                               lvds_vopl_in: endpoint@1 {
-                                       reg = <1>;
-                                       remote-endpoint = <&vopl_out_lvds>;
+                                       #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>;
+                                       };
                                };
                        };
                };