Skip to contentSkip to conversation

ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen

PATCH Applied Adam Ford 3 participants 4 messages Nov 6, 2019 – Dec 4, 2019

Subsystems (2)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH v2 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.

This patch adds the node to enable this feature.

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

V2: Change node to touchscreen@26 and move comment about 5.5 to under the dashes

arch/arm/boot/dts/imx6q-logicpd.dts +10 -0
index d96ae54be338..7a3d1d3e54a9 100644
@@ -73,6 +73,16 @@
 	status = "okay";
 };
 
+&i2c1 {
+	touchscreen@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.20.1
#1 lore raw

Hi Adam,

Quoted 16 lines · Adam Ford

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

This patch adds the node to enable this feature.

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

V2: Change node to touchscreen@26 and move comment about 5.5 to under the dashes

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

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

Quoted 9 lines
arch/arm/boot/dts/imx6q-logicpd.dts +6 -0
@@ -73,6 +73,16 @@
 	status = "okay";
 };
 
+&i2c1 {
+	touchscreen@26 {
+		compatible = "ilitek,ili2117";
+		reg = <0x26>;
+		pinctrl-names = "default";
+		pinctrl-0 = <&pinctrl_touchscreen>;

This phandle already exists?

Regards,
Marco

Quoted 12 lines
arch/arm/boot/dts/imx6q-logicpd.dts +4 -0
+		interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_RISING>;
+	};
+};
+
 &ldb {
 	status = "okay";
 
Signature · 1 line
2.20.1
Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
author
#2 lore raw
Quoted 23 lines · Marco Felsch

Hi Adam,

Quoted 19 lines · Adam Ford

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

This patch adds the node to enable this feature.

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

V2: Change node to touchscreen@26 and move comment about 5.5 to under the dashes

arch/arm/boot/dts/imx6q-logicpd.dts +0 -0
index d96ae54be338..7a3d1d3e54a9 100644
@@ -73,6 +73,16 @@
      status = "okay";
 };
 
Quoted 8 lines

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

Quoted 6 lines
arch/arm/boot/dts/imx6q-logicpd.dts +6 -0
+&i2c1 {
+     touchscreen@26 {
+             compatible = "ilitek,ili2117";
+             reg = <0x26>;
+             pinctrl-names = "default";
+             pinctrl-0 = <&pinctrl_touchscreen>;

This phandle already exists?

Yes it does exist, but it probably should not have been since there was no user of it. At least this fixes that. :-)

adam

Quoted 22 lines

Regards,
Marco

Quoted 8 lines
arch/arm/boot/dts/imx6q-logicpd.dts +4 -1
+             interrupts-extended = <&gpio1 6 IRQ_TYPE_EDGE_RISING>;
+     };
+};
+
 &ldb {
      status = "okay";
 
--
Quoted 4 lines

2.20.1

--

Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |