Skip to contentSkip to conversation

ARM: dts: imx51-zii-rdu1: correct touchscreen axis inversion

PATCH Applied Nick Dyer 3 participants 3 messages Jun 28, 2018 – Jul 3, 2018

Subsystems (2)
lore
Share & tools
lore

Nick Dyer

author
#0 lore raw

PATCH 1/1 ARM: dts: imx51-zii-rdu1: 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 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

---
 arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
index 68f5c1d5ecd0..b1d83fb08150 100644
@@ -553,7 +553,7 @@
 
 		rmi4-f11 at 11 {
 			reg = <0x11>;
-			touchscreen-inverted-y;
+			touchscreen-inverted-x;
 			touchscreen-swapped-x-y;
 			syna,sensor-type = <1>;
 		};
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Am Donnerstag, den 28.06.2018, 23:56 +0100 schrieb Nick Dyer:

Quoted 8 lines

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

Quoted 17 lines

---
?arch/arm/boot/dts/imx51-zii-rdu1.dts | 2 +-
?1 file changed, 1 insertion(+), 1 deletion(-)

arch/arm/boot/dts/imx51-zii-rdu1.dts +0 -0
index 68f5c1d5ecd0..b1d83fb08150 100644
@@ -553,7 +553,7 @@

?

Quoted 7 lines

? rmi4-f11 at 11 {
? reg = <0x11>;

arch/arm/boot/dts/imx51-zii-rdu1.dts +1 -1
-			touchscreen-inverted-y;
+			touchscreen-inverted-x;

? touchscreen-swapped-x-y;
? syna,sensor-type = <1>;
? };

Applied
#2 lore raw
In reply to Nick Dyer
Quoted 8 lines · Nick Dyer

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

Applied, thanks.