Skip to contentSkip to conversation

ARM: dts: imx6: RDU2: fix eGalax touchscreen node

PATCH New Lucas Stach 2 participants 2 messages Nov 5, 2018 – Nov 16, 2018

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

PATCH 1/1 ARM: dts: imx6: RDU2: fix eGalax touchscreen node

Use the correct compatible for the new protocol used by the firmware on the touch controller, the GPIO wakeup isn't used in that case. Also eGalax touch needs axis swapping, just as with the RMI4 touch.

---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi +3 -2
index 7fff3717cf7c..315d0e7615f3 100644
@@ -609,13 +609,14 @@
 	};
 
 	touchscreen at 2a {
-		compatible = "eeti,egalax_ts";
+		compatible = "eeti,exc3000";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_ts>;
 		reg = <0x2a>;
 		interrupt-parent = <&gpio1>;
 		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
-		wakeup-gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+		touchscreen-inverted-x;
+		touchscreen-swapped-x-y;
 		status = "disabled";
 	};
 
Signature · 1 line
2.19.1
Applied
#1 lore raw

PATCH 1/1 ARM: dts: imx6: RDU2: fix eGalax touchscreen node

Quoted 5 lines · Lucas Stach

Use the correct compatible for the new protocol used by the firmware on the touch controller, the GPIO wakeup isn't used in that case. Also eGalax touch needs axis swapping, just as with the RMI4 touch.

Applied, thanks.