devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6: RDU2: fix eGalax touchscreen node
@ 2018-11-05 17:31 Lucas Stach
  2018-11-16  3:02 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2018-11-05 17:31 UTC (permalink / raw)
  To: Shawn Guo
  Cc: Fabio Estevam, devicetree, kernel, linux-arm-kernel,
	patchwork-lst

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>
---
 arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
index 7fff3717cf7c..315d0e7615f3 100644
--- a/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-zii-rdu2.dtsi
@@ -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";
 	};
 
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: dts: imx6: RDU2: fix eGalax touchscreen node
  2018-11-05 17:31 [PATCH] ARM: dts: imx6: RDU2: fix eGalax touchscreen node Lucas Stach
@ 2018-11-16  3:02 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2018-11-16  3:02 UTC (permalink / raw)
  To: Lucas Stach
  Cc: Fabio Estevam, devicetree, kernel, linux-arm-kernel,
	patchwork-lst

On Mon, Nov 05, 2018 at 06:31:56PM +0100, Lucas Stach wrote:
> 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>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-16  3:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-05 17:31 [PATCH] ARM: dts: imx6: RDU2: fix eGalax touchscreen node Lucas Stach
2018-11-16  3:02 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).