]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - Bindings/input/elants_i2c.txt
Import DTS files from Linux 5.7
[FreeBSD/FreeBSD.git] / Bindings / input / elants_i2c.txt
1 Elantech I2C Touchscreen
2
3 Required 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
9 Optional 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
21 Example:
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         };