ARM: dts: imx6: RDU2: fix eGalax touchscreen node
authorLucas Stach <l.stach@pengutronix.de>
Mon, 5 Nov 2018 17:31:56 +0000 (18:31 +0100)
committerShawn Guo <shawnguo@kernel.org>
Fri, 16 Nov 2018 03:01:45 +0000 (11:01 +0800)
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>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index 85e79a33bcd434c32db994528463543668c239d6..69942c7ff89db6ef3c503843a39004357bf856e2 100644 (file)
        };
 
        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";
        };