1*7abf38d6SSebastian Reichel* TWL4030's Keypad Controller device tree bindings 2*7abf38d6SSebastian Reichel 3*7abf38d6SSebastian ReichelTWL4030's Keypad controller is used to interface a SoC with a matrix-type 4*7abf38d6SSebastian Reichelkeypad device. The keypad controller supports multiple row and column lines. 5*7abf38d6SSebastian ReichelA key can be placed at each intersection of a unique row and a unique column. 6*7abf38d6SSebastian ReichelThe keypad controller can sense a key-press and key-release and report the 7*7abf38d6SSebastian Reichelevent using a interrupt to the cpu. 8*7abf38d6SSebastian Reichel 9*7abf38d6SSebastian ReichelThis binding is based on the matrix-keymap binding with the following 10*7abf38d6SSebastian Reichelchanges: 11*7abf38d6SSebastian Reichel 12*7abf38d6SSebastian Reichel * keypad,num-rows and keypad,num-columns are required. 13*7abf38d6SSebastian Reichel 14*7abf38d6SSebastian ReichelRequired SoC Specific Properties: 15*7abf38d6SSebastian Reichel- compatible: should be one of the following 16*7abf38d6SSebastian Reichel - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad 17*7abf38d6SSebastian Reichel controller. 18*7abf38d6SSebastian Reichel- interrupt: should be one of the following 19*7abf38d6SSebastian Reichel - <1>: For controllers compatible with twl4030 keypad controller. 20*7abf38d6SSebastian Reichel 21*7abf38d6SSebastian ReichelExample: 22*7abf38d6SSebastian Reichel twl_keypad: keypad { 23*7abf38d6SSebastian Reichel compatible = "ti,twl4030-keypad"; 24*7abf38d6SSebastian Reichel interrupts = <1>; 25*7abf38d6SSebastian Reichel keypad,num-rows = <8>; 26*7abf38d6SSebastian Reichel keypad,num-columns = <8>; 27*7abf38d6SSebastian Reichel }; 28