Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx50-kobo-aura: Enable eKTF2132 touchscreen

The Kobo Aura has an eKTF2132 touchscreen controller.

Although the vendor kernel toggles a reset pin (GPIO5-12) during the
startup sequence, the touchscreen works without it.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Jonathan Neuschäfer and committed by
Shawn Guo
b9639a8b 21658d51

+16 -1
+16 -1
arch/arm/boot/dts/imx50-kobo-aura.dts
··· 6 6 /dts-v1/; 7 7 #include "imx50.dtsi" 8 8 #include <dt-bindings/input/input.h> 9 + #include <dt-bindings/interrupt-controller/irq.h> 9 10 10 11 / { 11 12 model = "Kobo Aura (N514)"; ··· 120 119 pinctrl-0 = <&pinctrl_i2c1>; 121 120 status = "okay"; 122 121 123 - /* TODO: ektf2132 touch controller at 0x15 */ 122 + touchscreen@15 { 123 + reg = <0x15>; 124 + compatible = "elan,ektf2132"; 125 + pinctrl-names = "default"; 126 + pinctrl-0 = <&pinctrl_ts>; 127 + power-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>; 128 + interrupts-extended = <&gpio5 13 IRQ_TYPE_EDGE_FALLING>; 129 + }; 124 130 }; 125 131 126 132 &i2c2 { ··· 230 222 MX50_PAD_SD3_D5__ESDHC3_DAT5 0x1d4 231 223 MX50_PAD_SD3_D6__ESDHC3_DAT6 0x1d4 232 224 MX50_PAD_SD3_D7__ESDHC3_DAT7 0x1d4 225 + >; 226 + }; 227 + 228 + pinctrl_ts: tsgrp { 229 + fsl,pins = < 230 + MX50_PAD_CSPI_MOSI__GPIO4_9 0x0 231 + MX50_PAD_SD2_D5__GPIO5_13 0x0 233 232 >; 234 233 }; 235 234