ARM: dts: bcm27xx: Fix to of_graph from bridge node for panel
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 2 Jul 2019 02:08:59 +0000 (11:08 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 4 Nov 2019 09:00:55 +0000 (18:00 +0900)
Beginning with kernel v4.15, the i2c management of the touchscreen
panel driver has been changed to use of_graph from brdge node. So
change to of_graph and remove the unnecessary nodes.

Change-Id: Ibf131aebd964360874ebe2f3792f0912f6e8988d
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
arch/arm/boot/dts/bcm2709-rpi-2-b.dts
arch/arm/boot/dts/bcm270x.dtsi
arch/arm/boot/dts/bcm2710-rpi-3-b-plus.dts
arch/arm/boot/dts/bcm2710-rpi-3-b.dts
arch/arm/boot/dts/overlays/vc4-kms-v3d-overlay.dts

index 6e54589..25d66a7 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       pitouchscreen: panel@0 {
-               compatible = "raspberrypi,touchscreen";
-               reg = <0>;
-               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-       };
 };
index aae30e8..02fa807 100644 (file)
                        #size-cells = <0>;
                        status = "disabled";
 
-                       pitouchscreen_bridge: bridge@45 {
-                               compatible = "raspberrypi,touchscreen-bridge-i2c";
+                       lcd@45 {
+                               compatible = "raspberrypi,7inch-touchscreen-panel";
                                reg = <0x45>;
-                       };
 
-                       pitouchscreen_touch: bridge@38 {
-                               compatible = "raspberrypi,touchscreen-ts-i2c";
-                               reg = <0x38>;
+                               port {
+                                       panel_dsi_port: endpoint {
+                                               remote-endpoint = <&dsi_out_port>;
+                                       };
+                               };
                        };
                };
 
 
 &dsi1 {
        power-domains = <&power RPI_POWER_DOMAIN_DSI1>;
+
+       port {
+               dsi_out_port: endpoint {
+                       remote-endpoint = <&panel_dsi_port>;
+               };
+       };
 };
index 0d388c4..f21ec97 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       pitouchscreen: panel@0 {
-               compatible = "raspberrypi,touchscreen";
-               reg = <0>;
-               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-       };
 };
index 2e164ef..9a78b5a 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       pitouchscreen: panel@0 {
-               compatible = "raspberrypi,touchscreen";
-               reg = <0>;
-               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-       };
 };
index b872c46..cfd1970 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "okay";
-
-                       pitouchscreen: panel@0 {
-                               compatible = "raspberrypi,touchscreen";
-                               reg = <0>;
-                               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-                       };
                };
        };