Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.8-rc2 31 lines 1.1 kB view raw
1* TI's Keypad Controller device tree bindings 2 3TI's Keypad controller is used to interface a SoC with a matrix-type 4keypad 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 the 7event using a interrupt to the cpu. 8 9Required SoC Specific Properties: 10- compatible: should be one of the following 11 - "ti,omap4-keypad": For controllers compatible with omap4 keypad 12 controller. 13 14Required Board Specific Properties, in addition to those specified by 15the shared matrix-keyboard bindings: 16- keypad,num-rows: Number of row lines connected to the keypad 17 controller. 18 19- keypad,num-columns: Number of column lines connected to the 20 keypad controller. 21 22Optional Properties specific to linux: 23- linux,keypad-no-autorepeat: do no enable autorepeat feature. 24 25Example: 26 keypad@4ae1c000{ 27 compatible = "ti,omap4-keypad"; 28 keypad,num-rows = <2>; 29 keypad,num-columns = <8>; 30 linux,keypad-no-autorepeat; 31 };