]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Dec 2019 07:51:24 +0000 (08:51 +0100)
[ 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>
arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi

index 7fff3717cf7c09ae29d130756b3f33856d7ef819..315d0e7615f335efd3e7e120ce2360b149de7acf 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";
        };