From cb4f97e55f554a4783911d91294c7f37f9a2f87f Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Sun, 20 May 2012 21:18:19 -0700 Subject: [PATCH] --- yaml --- r: 306626 b: refs/heads/master c: 6123f1192b610c3d8520eb7bb49f68ff7ca94b80 h: refs/heads/master v: v3 --- [refs] | 2 +- .../bindings/input/spear-keyboard.txt | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 trunk/Documentation/devicetree/bindings/input/spear-keyboard.txt diff --git a/[refs] b/[refs] index 24a6a2105410..17b3d1daafd0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 829c4f96900577afb1d91c0195b2e2a219e7d80f +refs/heads/master: 6123f1192b610c3d8520eb7bb49f68ff7ca94b80 diff --git a/trunk/Documentation/devicetree/bindings/input/spear-keyboard.txt b/trunk/Documentation/devicetree/bindings/input/spear-keyboard.txt new file mode 100644 index 000000000000..4a846d26da23 --- /dev/null +++ b/trunk/Documentation/devicetree/bindings/input/spear-keyboard.txt @@ -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>; +};