Back to home page

OSCL-LXR

 
 

    


0001 * TI's Keypad Controller device tree bindings
0002 
0003 TI's Keypad controller is used to interface a SoC with a matrix-type
0004 keypad device. The keypad controller supports multiple row and column lines.
0005 A key can be placed at each intersection of a unique row and a unique column.
0006 The keypad controller can sense a key-press and key-release and report the
0007 event using a interrupt to the cpu.
0008 
0009 This binding is based on the matrix-keymap binding with the following
0010 changes:
0011 
0012 keypad,num-rows and keypad,num-columns are required.
0013 
0014 Required SoC Specific Properties:
0015 - compatible: should be one of the following
0016    - "ti,omap4-keypad": For controllers compatible with omap4 keypad
0017       controller.
0018 
0019 Optional Properties specific to linux:
0020 - linux,keypad-no-autorepeat: do no enable autorepeat feature.
0021 
0022 Example:
0023         keypad@4ae1c000{
0024                 compatible = "ti,omap4-keypad";
0025                 keypad,num-rows = <2>;
0026                 keypad,num-columns = <8>;
0027                 linux,keypad-no-autorepeat;
0028         };