]>
Commit | Line | Data |
---|---|---|
72d1f234 JL |
1 | Samsung tm2-touchkey |
2 | ||
3 | Required properties: | |
d6f66f61 SS |
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 | |
1cdbd3e5 | 7 | * "cypress,aries-touchkey" - for the touchkey found on aries boards |
72d1f234 | 8 | - reg: I2C address of the chip. |
72d1f234 JL |
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 | ||
07df1c55 JB |
14 | Optional properties: |
15 | - linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK | |
16 | ||
72d1f234 JL |
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>; | |
07df1c55 | 30 | linux,keycodes = <KEY_PHONE KEY_BACK>; |
72d1f234 JL |
31 | }; |
32 | }; |