diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-05-21 00:18:19 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-05-21 01:02:04 -0400 |
commit | 6123f1192b610c3d8520eb7bb49f68ff7ca94b80 (patch) | |
tree | c98d2f750d94bb0f10fa8b758a28cc1e2afc0124 /Documentation | |
parent | 829c4f96900577afb1d91c0195b2e2a219e7d80f (diff) |
Input: spear-keyboard - document DT bindings
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/input/spear-keyboard.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/spear-keyboard.txt b/Documentation/devicetree/bindings/input/spear-keyboard.txt new file mode 100644 index 000000000000..4a846d26da23 --- /dev/null +++ b/Documentation/devicetree/bindings/input/spear-keyboard.txt | |||
@@ -0,0 +1,20 @@ | |||
1 | * SPEAr keyboard controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: "st,spear300-kbd" | ||
5 | |||
6 | Optional properties, in addition to those specified by the shared | ||
7 | matrix-keyboard bindings: | ||
8 | - autorepeat: bool: enables key autorepeat | ||
9 | - st,mode: keyboard mode: 0 - 9x9, 1 - 6x6, 2 - 2x2 | ||
10 | |||
11 | Example: | ||
12 | |||
13 | kbd@fc400000 { | ||
14 | compatible = "st,spear300-kbd"; | ||
15 | reg = <0xfc400000 0x100>; | ||
16 | linux,keymap = < 0x00030012 | ||
17 | 0x0102003a >; | ||
18 | autorepeat; | ||
19 | st,mode = <0>; | ||
20 | }; | ||