backlight: lp855x: Add enable regulator
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / cypress,cyapa.txt
blob8d91ba9ff2fd0918bbf18fc1149f2fb3613bf80e
1 Cypress I2C Touchpad
3 Required properties:
4 - compatible: must be "cypress,cyapa".
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         &i2c0 {
23                 /* ... */
25                 /* Cypress Gen3 touchpad */
26                 touchpad@67 {
27                         compatible = "cypress,cyapa";
28                         reg = <0x67>;
29                         interrupt-parent = <&gpio>;
30                         interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO 2 */
31                         wakeup-source;
32                 };
34                 /* Cypress Gen5 and later touchpad */
35                 touchpad@24 {
36                         compatible = "cypress,cyapa";
37                         reg = <0x24>;
38                         interrupt-parent = <&gpio>;
39                         interrupts = <2 IRQ_TYPE_EDGE_FALLING>; /* GPIO 2 */
40                         wakeup-source;
41                 };
43                 /* ... */
44         };