Merge tag 'v4.20' into next
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / cypress,tm2-touchkey.txt
1 Samsung tm2-touchkey
2
3 Required properties:
4 - compatible:
5     * "cypress,tm2-touchkey" - for the touchkey found on the tm2 board
6     * "cypress,midas-touchkey" - for the touchkey found on midas boards
7     * "cypress,aries-touchkey" - for the touchkey found on aries boards
8 - reg: I2C address of the chip.
9 - interrupts: interrupt to which the chip is connected (see interrupt
10         binding[0]).
11 - vcc-supply : internal regulator output. 1.8V
12 - vdd-supply : power supply for IC 3.3V
13
14 Optional properties:
15 - linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK
16
17 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
18
19 Example:
20         &i2c0 {
21                 /* ... */
22
23                 touchkey@20 {
24                         compatible = "cypress,tm2-touchkey";
25                         reg = <0x20>;
26                         interrupt-parent = <&gpa3>;
27                         interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
28                         vcc-supply=<&ldo32_reg>;
29                         vdd-supply=<&ldo33_reg>;
30                         linux,keycodes = <KEY_PHONE KEY_BACK>;
31                 };
32         };