Merge branch 'drm-fixes-4.19' of git://people.freedesktop.org/~agd5f/linux into drm...
[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 - interrupts: interrupt to which the chip is connected (see interrupt
7   binding[0]).
8
9 Optional properties:
10 - wakeup-source: touchpad 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 - vcc-supply: a phandle for the regulator supplying 3.3V power.
15 - elan,trackpoint: touchpad can support a trackpoint (boolean)
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                 touchpad@15 {
25                         compatible = "elan,ekth3000";
26                         reg = <0x15>;
27                         interrupt-parent = <&gpio4>;
28                         interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
29                         wakeup-source;
30                 };
31
32                 /* ... */
33         };