Linux Input/HID development
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen
@ 2019-11-05 13:35 Adam Ford
  2019-11-05 13:39 ` Fabio Estevam
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2019-11-05 13:35 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: linux-imx, festevam, shawnguo, adam.ford, dmitry.torokhov,
	linux-input, marex, Adam Ford

The LCD used with the imx6q-logicpd board has an integrated
ili2117a touch controller connected to i2c1.

ili2117 support is scheduled to be introduced for Kernel v5.5.

This patch adds the node to enable this feature.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/arch/arm/boot/dts/imx6q-logicpd.dts b/arch/arm/boot/dts/imx6q-logicpd.dts
index d96ae54be338..a5025f3009a9 100644
--- a/arch/arm/boot/dts/imx6q-logicpd.dts
+++ b/arch/arm/boot/dts/imx6q-logicpd.dts
@@ -73,6 +73,16 @@
 	status = "okay";
 };
 
+&i2c1 {
+	ili_touch: ilitouch@26 {
+		compatible = "ilitek,ili2117";
+		reg = <0x26>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_touchscreen>;
+		interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_RISING>;
+	};
+};
+
 &ldb {
 	status = "okay";
 
-- 
2.17.1


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

* Re: [PATCH] ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen
  2019-11-05 13:35 [PATCH] ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen Adam Ford
@ 2019-11-05 13:39 ` Fabio Estevam
  0 siblings, 0 replies; 2+ messages in thread
From: Fabio Estevam @ 2019-11-05 13:39 UTC (permalink / raw)
  To: Adam Ford
  Cc: moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	NXP Linux Team, Shawn Guo, Adam Ford, Dmitry Torokhov,
	linux-input, Marek Vasut

On Tue, Nov 5, 2019 at 10:36 AM Adam Ford <aford173@gmail.com> wrote:
>
> The LCD used with the imx6q-logicpd board has an integrated
> ili2117a touch controller connected to i2c1.
>
> ili2117 support is scheduled to be introduced for Kernel v5.5.

Maybe this sentence could be put below the --- line?

It will look strange to read this commit log in the future :-)

> This patch adds the node to enable this feature.
>
> Signed-off-by: Adam Ford <aford173@gmail.com>
>
> diff --git a/arch/arm/boot/dts/imx6q-logicpd.dts b/arch/arm/boot/dts/imx6q-logicpd.dts
> index d96ae54be338..a5025f3009a9 100644
> --- a/arch/arm/boot/dts/imx6q-logicpd.dts
> +++ b/arch/arm/boot/dts/imx6q-logicpd.dts
> @@ -73,6 +73,16 @@
>         status = "okay";
>  };
>
> +&i2c1 {
> +       ili_touch: ilitouch@26 {

node names should be generic, so:

touchscreen@26

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

end of thread, other threads:[~2019-11-05 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-05 13:35 [PATCH] ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen Adam Ford
2019-11-05 13:39 ` Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox