1 * TI's Keypad Controller device tree bindings 1 * TI's Keypad Controller device tree bindings 2 2 3 TI's Keypad controller is used to interface a 3 TI's Keypad controller is used to interface a SoC with a matrix-type 4 keypad device. The keypad controller supports 4 keypad device. The keypad controller supports multiple row and column lines. 5 A key can be placed at each intersection of a 5 A key can be placed at each intersection of a unique row and a unique column. 6 The keypad controller can sense a key-press an 6 The keypad controller can sense a key-press and key-release and report the 7 event using a interrupt to the cpu. 7 event using a interrupt to the cpu. 8 8 9 This binding is based on the matrix-keymap bin 9 This binding is based on the matrix-keymap binding with the following 10 changes: 10 changes: 11 11 12 keypad,num-rows and keypad,num-columns are req 12 keypad,num-rows and keypad,num-columns are required. 13 13 14 Required SoC Specific Properties: 14 Required SoC Specific Properties: 15 - compatible: should be one of the following 15 - compatible: should be one of the following 16 - "ti,omap4-keypad": For controllers compat 16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad 17 controller. 17 controller. 18 18 19 Optional Properties specific to linux: 19 Optional Properties specific to linux: 20 - linux,keypad-no-autorepeat: do no enable aut 20 - linux,keypad-no-autorepeat: do no enable autorepeat feature. 21 21 22 Example: 22 Example: 23 keypad@4ae1c000{ 23 keypad@4ae1c000{ 24 compatible = "ti,omap4-keypad" 24 compatible = "ti,omap4-keypad"; 25 keypad,num-rows = <2>; 25 keypad,num-rows = <2>; 26 keypad,num-columns = <8>; 26 keypad,num-columns = <8>; 27 linux,keypad-no-autorepeat; 27 linux,keypad-no-autorepeat; 28 }; 28 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.