Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / elan_i2c.txt
blobee3242c4ba67a43e67b5b3295637523ecd8bef9c
1 Elantech I2C Touchpad
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]).
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.
18 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
19 [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
21 Example:
22         &i2c1 {
23                 /* ... */
25                 touchpad@15 {
26                         compatible = "elan,ekth3000";
27                         reg = <0x15>;
28                         interrupt-parent = <&gpio4>;
29                         interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
30                         wakeup-source;
31                 };
33                 /* ... */
34         };