File tree Expand file tree Collapse file tree 4 files changed +1317
-0
lines changed
Documentation/devicetree/bindings/input
drivers/input/touchscreen Expand file tree Collapse file tree 4 files changed +1317
-0
lines changed Original file line number Diff line number Diff line change 1+ Elantech I2C Touchscreen
2+
3+ Required properties:
4+ - compatible: must be "elan,ekth3500".
5+ - reg: I2C address of the chip.
6+ - interrupt-parent: a phandle for the interrupt controller (see interrupt
7+ binding[0]).
8+ - interrupts: interrupt to which the chip is connected (see interrupt
9+ binding[0]).
10+
11+ Optional properties:
12+ - wakeup-source: touchscreen can be used as a wakeup source.
13+ - pinctrl-names: should be "default" (see pinctrl binding [1]).
14+ - pinctrl-0: a phandle pointing to the pin settings for the device (see
15+ pinctrl binding [1]).
16+
17+ [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
18+ [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
19+
20+ Example:
21+ &i2c1 {
22+ /* ... */
23+
24+ touchscreen@10 {
25+ compatible = "elan,ekth3500";
26+ reg = <0x10>;
27+ interrupt-parent = <&gpio4>;
28+ interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
29+ wakeup-source;
30+ };
31+
32+ /* ... */
33+ };
Original file line number Diff line number Diff line change @@ -347,6 +347,18 @@ config TOUCHSCREEN_GUNZE
347347 To compile this driver as a module, choose M here: the
348348 module will be called gunze.
349349
350+ config TOUCHSCREEN_ELAN
351+ tristate "Elan eKTH I2C touchscreen"
352+ depends on I2C
353+ help
354+ Say Y here if you have an Elan eKTH I2C touchscreen
355+ connected to your system.
356+
357+ If unsure, say N.
358+
359+ To compile this driver as a module, choose M here: the
360+ module will be called elants_i2c.
361+
350362config TOUCHSCREEN_ELO
351363 tristate "Elo serial touchscreens"
352364 select SERIO
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ obj-$(CONFIG_TOUCHSCREEN_EDT_FT5X06) += edt-ft5x06.o
3131obj-$(CONFIG_TOUCHSCREEN_HAMPSHIRE) += hampshire.o
3232obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o
3333obj-$(CONFIG_TOUCHSCREEN_EETI) += eeti_ts.o
34+ obj-$(CONFIG_TOUCHSCREEN_ELAN) += elants_i2c.o
3435obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o
3536obj-$(CONFIG_TOUCHSCREEN_EGALAX) += egalax_ts.o
3637obj-$(CONFIG_TOUCHSCREEN_FUJITSU) += fujitsu_ts.o
You can’t perform that action at this time.
0 commit comments