17abf38d6SSebastian Reichel* TWL4030's Keypad Controller device tree bindings
27abf38d6SSebastian Reichel
37abf38d6SSebastian ReichelTWL4030's Keypad controller is used to interface a SoC with a matrix-type
47abf38d6SSebastian Reichelkeypad device. The keypad controller supports multiple row and column lines.
57abf38d6SSebastian ReichelA key can be placed at each intersection of a unique row and a unique column.
67abf38d6SSebastian ReichelThe keypad controller can sense a key-press and key-release and report the
77abf38d6SSebastian Reichelevent using a interrupt to the cpu.
87abf38d6SSebastian Reichel
97abf38d6SSebastian ReichelThis binding is based on the matrix-keymap binding with the following
107abf38d6SSebastian Reichelchanges:
117abf38d6SSebastian Reichel
127abf38d6SSebastian Reichel * keypad,num-rows and keypad,num-columns are required.
137abf38d6SSebastian Reichel
147abf38d6SSebastian ReichelRequired SoC Specific Properties:
157abf38d6SSebastian Reichel- compatible: should be one of the following
167abf38d6SSebastian Reichel   - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad
177abf38d6SSebastian Reichel      controller.
187abf38d6SSebastian Reichel- interrupt: should be one of the following
197abf38d6SSebastian Reichel   - <1>: For controllers compatible with twl4030 keypad controller.
207abf38d6SSebastian Reichel
217abf38d6SSebastian ReichelExample:
227abf38d6SSebastian Reichel	twl_keypad: keypad {
237abf38d6SSebastian Reichel		compatible = "ti,twl4030-keypad";
247abf38d6SSebastian Reichel		interrupts = <1>;
257abf38d6SSebastian Reichel		keypad,num-rows = <8>;
267abf38d6SSebastian Reichel		keypad,num-columns = <8>;
277abf38d6SSebastian Reichel	};
28