From: Viresh Kumar Date: Mon, 21 May 2012 04:18:19 +0000 (-0700) Subject: Input: spear-keyboard - document DT bindings X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6123f1192b610c3d8520eb7bb49f68ff7ca94b80;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git Input: spear-keyboard - document DT bindings Signed-off-by: Viresh Kumar Signed-off-by: Dmitry Torokhov --- 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 @@ +* 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>; +};