Merge tag 'modules-for-v4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / elan_i2c.txt
1 Elantech I2C Touchpad
2
3 Required properties:
4 - compatible: must be "elan,ekth3000".
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: touchpad 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 - vcc-supply: a phandle for the regulator supplying 3.3V power.
17 - elan,trackpoint: touchpad can support a trackpoint (boolean)
18
19 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20 [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
21
22 Example:
23         &i2c1 {
24                 /* ... */
25
26                 touchpad@15 {
27                         compatible = "elan,ekth3000";
28                         reg = <0x15>;
29                         interrupt-parent = <&gpio4>;
30                         interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
31                         wakeup-source;
32                 };
33
34                 /* ... */
35         };