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

[ Upstream commit 749a5068f2e2453a38777b1d5fc322d503cabf1d ]

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.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Lucas Stach 2018-11-05 18:31:56 +01:00 committed by Greg Kroah-Hartman
parent 6593005475
commit f38b78cf6f

View file

@ -609,13 +609,14 @@
};
touchscreen@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";
};