Commit | Line | Data |
---|---|---|
6ea32387 DT |
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 | |
a4164863 LW |
11 | - keypad,num-rows : See ./matrix-keymap.txt |
12 | - keypad,num-columns : See ./matrix-keymap.txt | |
6ea32387 DT |
13 | |
14 | Example: | |
15 | ||
16 | stmpe_keypad { | |
17 | compatible = "st,stmpe-keypad"; | |
18 | ||
19 | debounce-interval = <64>; | |
20 | st,scan-count = <8>; | |
21 | st,no-autorepeat; | |
22 | ||
23 | linux,keymap = <0x205006b | |
24 | 0x4010074 | |
25 | 0x3050072 | |
26 | 0x1030004 | |
27 | 0x502006a | |
28 | 0x500000a | |
29 | 0x5008b | |
30 | 0x706001c | |
31 | 0x405000b | |
32 | 0x6070003 | |
33 | 0x3040067 | |
34 | 0x303006c | |
35 | 0x60400e7 | |
36 | 0x602009e | |
37 | 0x4020073 | |
38 | 0x5050002 | |
39 | 0x4030069 | |
40 | 0x3020008>; | |
41 | }; |