]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/stmpe-keypad.txt
Input: stmpe-keypad - add support for Device Tree bindings
[karo-tx-linux.git] / Documentation / devicetree / bindings / input / stmpe-keypad.txt
1 * STMPE Keypad
2
3 Required properties:
4  - compatible               : "st,stmpe-keypad"
5  - linux,keymap             : See ./matrix-keymap.txt
6
7 Optional properties:
8  - debounce-interval        : Debouncing interval time in milliseconds
9  - st,scan-count            : Scanning cycles elapsed before key data is updated
10  - st,no-autorepeat         : If specified device will not autorepeat
11
12 Example:
13
14         stmpe_keypad {
15                 compatible = "st,stmpe-keypad";
16
17                 debounce-interval = <64>;
18                 st,scan-count = <8>;
19                 st,no-autorepeat;
20
21                 linux,keymap = <0x205006b
22                                 0x4010074
23                                 0x3050072
24                                 0x1030004
25                                 0x502006a
26                                 0x500000a
27                                 0x5008b
28                                 0x706001c
29                                 0x405000b
30                                 0x6070003
31                                 0x3040067
32                                 0x303006c
33                                 0x60400e7
34                                 0x602009e
35                                 0x4020073
36                                 0x5050002
37                                 0x4030069
38                                 0x3020008>;
39         };