]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
ARM: dts: imx6q-logicpd: Enable ili2117a Touchscreen
authorAdam Ford <aford173@gmail.com>
Wed, 6 Nov 2019 14:23:08 +0000 (08:23 -0600)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 00:28:06 +0000 (08:28 +0800)
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.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6q-logicpd.dts

index d96ae54be3381399f9fe2285a6a0f45e7278b54f..7a3d1d3e54a9427c90f1f0846c1234bce93aec1c 100644 (file)
        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";