.. | .. |
---|
1 | 1 | Samsung tm2-touchkey |
---|
2 | 2 | |
---|
3 | 3 | Required properties: |
---|
4 | | -- compatible: must be "cypress,tm2-touchkey" |
---|
| 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 | + * "coreriver,tc360-touchkey" - for the Coreriver TouchCore 360 touchkey |
---|
5 | 9 | - reg: I2C address of the chip. |
---|
6 | 10 | - interrupts: interrupt to which the chip is connected (see interrupt |
---|
7 | 11 | binding[0]). |
---|
8 | 12 | - vcc-supply : internal regulator output. 1.8V |
---|
9 | 13 | - vdd-supply : power supply for IC 3.3V |
---|
| 14 | + |
---|
| 15 | +Optional properties: |
---|
| 16 | +- linux,keycodes: array of keycodes (max 4), default KEY_PHONE and KEY_BACK |
---|
10 | 17 | |
---|
11 | 18 | [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt |
---|
12 | 19 | |
---|
.. | .. |
---|
21 | 28 | interrupts = <2 IRQ_TYPE_EDGE_FALLING>; |
---|
22 | 29 | vcc-supply=<&ldo32_reg>; |
---|
23 | 30 | vdd-supply=<&ldo33_reg>; |
---|
| 31 | + linux,keycodes = <KEY_PHONE KEY_BACK>; |
---|
24 | 32 | }; |
---|
25 | 33 | }; |
---|