-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sourav Poddar
authored and
Dmitry Torokhov
committed
Jul 18, 2012
1 parent
e3d3ea7
commit 73c74e7
Showing
3 changed files
with
119 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 8a90c034ae0d4282e2aeb9cf8311dc90c855d815 | ||
refs/heads/master: 13987435cc28eab6e562e878e71b521e7ef5c860 |
31 changes: 31 additions & 0 deletions
31
trunk/Documentation/devicetree/bindings/input/omap-keypad.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
* TI's Keypad Controller device tree bindings | ||
|
||
TI's Keypad controller is used to interface a SoC with a matrix-type | ||
keypad device. The keypad controller supports multiple row and column lines. | ||
A key can be placed at each intersection of a unique row and a unique column. | ||
The keypad controller can sense a key-press and key-release and report the | ||
event using a interrupt to the cpu. | ||
|
||
Required SoC Specific Properties: | ||
- compatible: should be one of the following | ||
- "ti,omap4-keypad": For controllers compatible with omap4 keypad | ||
controller. | ||
|
||
Required Board Specific Properties, in addition to those specified by | ||
the shared matrix-keyboard bindings: | ||
- keypad,num-rows: Number of row lines connected to the keypad | ||
controller. | ||
|
||
- keypad,num-columns: Number of column lines connected to the | ||
keypad controller. | ||
|
||
Optional Properties specific to linux: | ||
- linux,keypad-no-autorepeat: do no enable autorepeat feature. | ||
|
||
Example: | ||
keypad@4ae1c000{ | ||
compatible = "ti,omap4-keypad"; | ||
keypad,num-rows = <2>; | ||
keypad,num-columns = <8>; | ||
linux,keypad-no-autorepeat; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters