Skip to contentSkip to conversation

ARM: dts: imx6: RDU2: correct touchscreen axis inversion

PATCH New Lucas Stach 2 participants 2 messages Jun 6, 2018 – Jun 19, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: imx6: RDU2: correct touchscreen axis inversion

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.

---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +2 -2
index 911f7f0e3cea..605ec969a859 100644
@@ -558,14 +558,14 @@
 
 		rmi4-f11 at 11 {
 			reg = <0x11>;
-			touchscreen-inverted-y;
+			touchscreen-inverted-x;
 			touchscreen-swapped-x-y;
 			syna,sensor-type = <1>;
 		};
 
 		rmi4-f12 at 12 {
 			reg = <0x12>;
-			touchscreen-inverted-y;
+			touchscreen-inverted-x;
 			touchscreen-swapped-x-y;
 			syna,sensor-type = <1>;
 		};
Signature · 1 line
2.17.1
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6: RDU2: correct touchscreen axis inversion

Quoted 6 lines · Lucas Stach

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.

Applied, thanks.