Input: tm2-touchkey - add support for aries touchkey variant
[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 - interrupt-parent: a phandle for the interrupt controller (see interrupt
10         binding[0]).
11 - interrupts: interrupt to which the chip is connected (see interrupt
12         binding[0]).
13 - vcc-supply : internal regulator output. 1.8V
14 - vdd-supply : power supply for IC 3.3V
15
16 Optional properties:
17 - linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK
18
19 [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
20
21 Example:
22         &i2c0 {
23                 /* ... */
24
25                 touchkey@20 {
26                         compatible = "cypress,tm2-touchkey";
27                         reg = <0x20>;
28                         interrupt-parent = <&gpa3>;
29                         interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
30                         vcc-supply=<&ldo32_reg>;
31                         vdd-supply=<&ldo33_reg>;
32                         linux,keycodes = <KEY_PHONE KEY_BACK>;
33                 };
34         };