ARM: dts: ux500: Fix touchscreen on TVK R2
authorLinus Walleij <linus.walleij@linaro.org>
Sun, 21 Mar 2021 01:25:49 +0000 (02:25 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Mar 2021 09:42:31 +0000 (10:42 +0100)
The touchscreen is mounted with flipped x/y on the R2
version of TVK1281618. Push this setting to that DTS file
only.

The function nodes were named wrong so the OF properties
didn not "take". Fix the node names from "rmi-fnn" to
"rmi4-nn" so this also work.

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 e024520f4d476df5077bf38e83aa2b4074dcde12..c55993c35bd99096a862205b61e562d6a8591fda 100644 (file)
                                             <19 IRQ_TYPE_EDGE_RISING>;
                        };
                };
+               i2c@80110000 {
+                       synaptics@4b {
+                               rmi4-f11@11 {
+                                       /* This is a landscape display */
+                                       touchscreen-swapped-x-y;
+                               };
+                       };
+               };
                mcde@a0350000 {
                        status = "okay";
 
index e1dbfae225956220f2a5bd896e37f42f7f0f90b8..1ee7d001fd3132a24a0f2f4cfd561b65fb93f5af 100644 (file)
                                interrupt-parent = <&gpio2>;
                                interrupts = <20 IRQ_TYPE_EDGE_FALLING>;
 
-                               rmi-f01@1 {
+                               rmi4-f01@1 {
                                        reg = <0x1>;
                                        syna,nosleep = <1>;
                                };
-                               rmi-f11@11 {
+                               rmi4-f11@11 {
                                        reg = <0x11>;
-                                       touchscreen-inverted-x;
                                        syna,sensor-type = <1>;
                                };
                        };