Skip to contentSkip to conversation

ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen

PATCH Superseded Adam Ford 2 participants 2 messages Nov 5, 2019

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen

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.

arch/arm/boot/dts/imx6q-logicpd.dts +10 -0
index d96ae54be338..a5025f3009a9 100644
@@ -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";
 
Signature · 1 line
2.17.1
reviewer
#1 lore raw
Quoted 5 lines · 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.

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

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

Quoted 9 lines

This patch adds the node to enable this feature.

arch/arm/boot/dts/imx6q-logicpd.dts +0 -0
index d96ae54be338..a5025f3009a9 100644

arch/arm/boot/dts/imx6q-logicpd.dts line 77

Quoted 5 lines
arch/arm/boot/dts/imx6q-logicpd.dts +2 -0
@@ -73,6 +73,16 @@
        status = "okay";
 };
 
+&i2c1 {
+       ili_touch: ilitouch@26 {

node names should be generic, so:

touchscreen@26