ARM: dts: imx6: RDU2: correct touchscreen axis inversion
authorLucas Stach <l.stach@pengutronix.de>
Wed, 6 Jun 2018 09:30:45 +0000 (11:30 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 19 Jun 2018 02:18:29 +0000 (10:18 +0800)
The RMI4 touchscreen driver applied inversion and axis swap in the
wrong order, violating the DT binding for those properties. This is
fixed now, so correct the RDU2 DT to apply the inversion to the
correct axis.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index 19a075aee19eabfb5ac2b127db45199bca2f0d6a..8e154c9bf814d698ed1fb1ce259b43dca9835a6f 100644 (file)
 
                rmi4-f11@11 {
                        reg = <0x11>;
-                       touchscreen-inverted-y;
+                       touchscreen-inverted-x;
                        touchscreen-swapped-x-y;
                        syna,sensor-type = <1>;
                };
 
                rmi4-f12@12 {
                        reg = <0x12>;
-                       touchscreen-inverted-y;
+                       touchscreen-inverted-x;
                        touchscreen-swapped-x-y;
                        syna,sensor-type = <1>;
                };