]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: ux500: Move Synaptics to right include
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 22 Mar 2021 21:33:14 +0000 (22:33 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Mar 2021 09:45:15 +0000 (10:45 +0100)
The Synaptics RMI4 touchscreen is a property of the
TVK1281618 R2 UIB, so move it into that file instead
of the main TVK1281618 main include so we can define
another touchscreen for the R3 UIB.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/boot/dts/ste-href-tvk1281618-r2.dtsi
arch/arm/boot/dts/ste-href-tvk1281618.dtsi

index c55993c35bd99096a862205b61e562d6a8591fda..de6acee738e5a83659a426edac7c224d87ac4dbc 100644 (file)
                };
                i2c@80110000 {
                        synaptics@4b {
+                               /* Synaptics RMI4 TM1217 touchscreen */
+                               compatible = "syna,rmi4-i2c";
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+                               reg = <0x4b>;
+                               vdd-supply = <&ab8500_ldo_aux1_reg>;
+                               vddio-supply = <&db8500_vsmps2_reg>;
+                               pinctrl-names = "default";
+                               pinctrl-0 = <&synaptics_tvk_mode>;
+                               interrupt-parent = <&gpio2>;
+                               interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
+
+                               rmi4-f01@1 {
+                                       reg = <0x1>;
+                                       syna,nosleep = <1>;
+                               };
                                rmi4-f11@11 {
+                                       reg = <0x11>;
+                                       syna,sensor-type = <1>;
                                        /* This is a landscape display */
                                        touchscreen-swapped-x-y;
                                };
                                };
                        };
                };
+               pinctrl {
+                       synaptics {
+                               synaptics_tvk_mode: synaptics_tvk {
+                                       /* Touchscreen uses GPIO 84 */
+                                       tvk_cfg1 {
+                                               pins = "GPIO84_C2";
+                                               ste,config = <&gpio_in_pu>;
+                                       };
+                               };
+                       };
+               };
        };
 };
index 1ee7d001fd3132a24a0f2f4cfd561b65fb93f5af..34b9f434b4b7714571cb96f6fec64766e2edb1b1 100644 (file)
                        };
                };
 
-               i2c@80110000 {
-                       synaptics@4b {
-                               /* Synaptics RMI4 TM1217 touchscreen */
-                               compatible = "syna,rmi4-i2c";
-                               #address-cells = <1>;
-                               #size-cells = <0>;
-                               reg = <0x4b>;
-                               vdd-supply = <&ab8500_ldo_aux1_reg>;
-                               vddio-supply = <&db8500_vsmps2_reg>;
-                               pinctrl-names = "default";
-                               pinctrl-0 = <&synaptics_tvk_mode>;
-                               interrupt-parent = <&gpio2>;
-                               interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
-
-                               rmi4-f01@1 {
-                                       reg = <0x1>;
-                                       syna,nosleep = <1>;
-                               };
-                               rmi4-f11@11 {
-                                       reg = <0x11>;
-                                       syna,sensor-type = <1>;
-                               };
-                       };
-               };
-
                pinctrl {
                        /* Pull up this GPIO pin */
                        tc35893 {
                                        };
                                };
                        };
-                       synaptics {
-                               synaptics_tvk_mode: synaptics_tvk {
-                                       /* Touchscreen uses GPIO 84 */
-                                       tvk_cfg1 {
-                                               pins = "GPIO84_C2";
-                                               ste,config = <&gpio_in_pu>;
-                                       };
-                               };
-                       };
                };
        };
 };