xref: /freebsd/sys/contrib/device-tree/Bindings/input/stmpe-keypad.txt (revision 2008043f386721d58158e37e0d7e50df8095942d)
1* STMPE Keypad
2
3Required properties:
4 - compatible               : "st,stmpe-keypad"
5 - linux,keymap             : See ./matrix-keymap.txt
6
7Optional 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 - keypad,num-rows          : See ./matrix-keymap.txt
12 - keypad,num-columns       : See ./matrix-keymap.txt
13
14Example:
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	};
42