Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1Elantech I2C Touchscreen
2
3Required properties:
4- compatible: must be "elan,ekth3500".
5- reg: I2C address of the chip.
6- interrupts: interrupt to which the chip is connected (see interrupt
7 binding[0]).
8
9Optional properties:
10- wakeup-source: touchscreen can be used as a wakeup source.
11- pinctrl-names: should be "default" (see pinctrl binding [1]).
12- pinctrl-0: a phandle pointing to the pin settings for the device (see
13 pinctrl binding [1]).
14- reset-gpios: reset gpio the chip is connected to.
15- vcc33-supply: a phandle for the regulator supplying 3.3V power.
16- vccio-supply: a phandle for the regulator supplying IO power.
17
18[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
19[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
20
21Example:
22 &i2c1 {
23 /* ... */
24
25 touchscreen@10 {
26 compatible = "elan,ekth3500";
27 reg = <0x10>;
28 interrupt-parent = <&gpio4>;
29 interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
30 wakeup-source;
31 };
32
33 /* ... */
34 };