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
347
347
To compile this driver as a module, choose M here: the
348
348
module will be called gunze.
349
349
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
+
350
362
config TOUCHSCREEN_ELO
351
363
tristate "Elo serial touchscreens"
352
364
select SERIO
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ obj-$(CONFIG_TOUCHSCREEN_EDT_FT5X06) += edt-ft5x06.o
31
31
obj-$(CONFIG_TOUCHSCREEN_HAMPSHIRE) += hampshire.o
32
32
obj-$(CONFIG_TOUCHSCREEN_GUNZE) += gunze.o
33
33
obj-$(CONFIG_TOUCHSCREEN_EETI) += eeti_ts.o
34
+ obj-$(CONFIG_TOUCHSCREEN_ELAN) += elants_i2c.o
34
35
obj-$(CONFIG_TOUCHSCREEN_ELO) += elo.o
35
36
obj-$(CONFIG_TOUCHSCREEN_EGALAX) += egalax_ts.o
36
37
obj-$(CONFIG_TOUCHSCREEN_FUJITSU) += fujitsu_ts.o
You can’t perform that action at this time.
0 commit comments