Skip to content

Commit

Permalink
Input: spear-keyboard - document DT bindings
Browse files Browse the repository at this point in the history
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Viresh Kumar authored and Dmitry Torokhov committed May 21, 2012
1 parent 829c4f9 commit 6123f11
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Documentation/devicetree/bindings/input/spear-keyboard.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
* SPEAr keyboard controller

Required properties:
- compatible: "st,spear300-kbd"

Optional properties, in addition to those specified by the shared
matrix-keyboard bindings:
- autorepeat: bool: enables key autorepeat
- st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2

Example:

kbd@fc400000 {
compatible = "st,spear300-kbd";
reg = <0xfc400000 0x100>;
linux,keymap = < 0x00030012
0x0102003a >;
autorepeat;
st,mode = <0>;
};

0 comments on commit 6123f11

Please sign in to comment.