ARM: dts: imx51-zii-rdu1: correct touchscreen axis inversion
authorNick Dyer <nick@shmanahar.org>
Thu, 28 Jun 2018 22:56:26 +0000 (23:56 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 3 Jul 2018 06:11:40 +0000 (14:11 +0800)
The RMI4 touchscreen driver applied inversion and axis swap in the
wrong order, violating the DT binding for those properties. This was fixed in
645a397, so correct the RDU1 DT to apply the inversion to the
correct axis.

Tested on Zii RDU1 00-5105-30 rev B

Signed-off-by: Nick Dyer <nick@shmanahar.org>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx51-zii-rdu1.dts

index 3d2baf1..aede622 100644 (file)
 
                rmi4-f11@11 {
                        reg = <0x11>;
-                       touchscreen-inverted-y;
+                       touchscreen-inverted-x;
                        touchscreen-swapped-x-y;
                        syna,sensor-type = <1>;
                };