brintos

brintos / linux-shallow public Read only

0
0
Text · 958 B · e4be2f7 Raw
28 lines · plain
1* TWL4030's Keypad Controller device tree bindings2 3TWL4030's Keypad controller is used to interface a SoC with a matrix-type4keypad 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 the7event using a interrupt to the cpu.8 9This binding is based on the matrix-keymap binding with the following10changes:11 12 * keypad,num-rows and keypad,num-columns are required.13 14Required SoC Specific Properties:15- compatible: should be one of the following16   - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad17      controller.18- interrupt: should be one of the following19   - <1>: For controllers compatible with twl4030 keypad controller.20 21Example:22	twl_keypad: keypad {23		compatible = "ti,twl4030-keypad";24		interrupts = <1>;25		keypad,num-rows = <8>;26		keypad,num-columns = <8>;27	};28