blob: 34ed1c60ff95ce80b6c763a14d1ee577f4cfcba7 [file] [log] [blame]
Sourav Poddar13987432012-07-13 00:10:47 -07001* TI's Keypad Controller device tree bindings
2
3TI's Keypad controller is used to interface a SoC with a matrix-type
4keypad device. The keypad controller supports multiple row and column lines.
5A key can be placed at each intersection of a unique row and a unique column.
6The keypad controller can sense a key-press and key-release and report the
7event using a interrupt to the cpu.
8
Simon Glass1d0b1c72013-01-10 17:41:32 -08009This binding is based on the matrix-keymap binding with the following
10changes:
11
12keypad,num-rows and keypad,num-columns are required.
13
Sourav Poddar13987432012-07-13 00:10:47 -070014Required SoC Specific Properties:
15- compatible: should be one of the following
16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad
17 controller.
18
Sourav Poddar13987432012-07-13 00:10:47 -070019Optional Properties specific to linux:
20- linux,keypad-no-autorepeat: do no enable autorepeat feature.
21
22Example:
23 keypad@4ae1c000{
24 compatible = "ti,omap4-keypad";
25 keypad,num-rows = <2>;
26 keypad,num-columns = <8>;
27 linux,keypad-no-autorepeat;
28 };