ARM: dts: bcm27xx: Fix to of_graph from bridge node for touchscreen 87/209287/4 accepted/tizen/unified/20190708.114147 submit/tizen/20190708.061153
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 4 Jul 2019 08:42:52 +0000 (17:42 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 5 Jul 2019 06:25:26 +0000 (06:25 +0000)
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: I6ef786ed472ef2b350eb8683568d0ecb407182c0
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 976ad46..89bbd53 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       pitouchscreen: panel@0 {
-               compatible = "raspberrypi,touchscreen";
-               reg = <0>;
-               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-       };
 };
index 6f19c64..1d09f66 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 f024be1..6787a00 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       pitouchscreen: panel@0 {
-               compatible = "raspberrypi,touchscreen";
-               reg = <0>;
-               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-       };
 };
index 6232735..10a2a49 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        status = "okay";
-
-       pitouchscreen: panel@0 {
-               compatible = "raspberrypi,touchscreen";
-               reg = <0>;
-               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-       };
 };
index cb2e16d..ec376ee 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        status = "okay";
-
-                       pitouchscreen: panel@0 {
-                               compatible = "raspberrypi,touchscreen";
-                               reg = <0>;
-                               raspberrypi,touchscreen-bridge = <&pitouchscreen_bridge>;
-                       };
                };
        };