ARM: dts: bcm27xx: Fix to of_graph from bridge node for panel 61/209061/1 accepted/tizen/unified/20190702.114802 submit/tizen/20190702.072015
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 2 Jul 2019 02:08:59 +0000 (11:08 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 2 Jul 2019 02:18:33 +0000 (11:18 +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 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>;
-                       };
                };
        };