aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Zhong <chen.zhong@mediatek.com>2018-07-04 15:19:05 +0000
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2018-07-04 16:08:53 +0000
commitf9e02d80416933b0e07d57efecbe309bdea9c6c4 (patch)
tree5281ff37bc1f1dd627769406ab15e02516beb7e6
parentInput: cros_ec_keyb - remove redundant variable num_cols (diff)
downloadlinux-dev-f9e02d80416933b0e07d57efecbe309bdea9c6c4.tar.xz
linux-dev-f9e02d80416933b0e07d57efecbe309bdea9c6c4.zip
dt-bindings: input: add common keyboard document bindings
This patch adds the device tree binding documentation for common keyboard. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Chen Zhong <chen.zhong@mediatek.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r--Documentation/devicetree/bindings/input/keys.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/keys.txt b/Documentation/devicetree/bindings/input/keys.txt
new file mode 100644
index 000000000000..f5a5ddde53f1
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/keys.txt
@@ -0,0 +1,8 @@
+General Keys Properties:
+
+Optional properties for Keys:
+- power-off-time-sec: Duration in seconds which the key should be kept
+ pressed for device to power off automatically. Device with key pressed
+ shutdown feature can specify this property.
+- linux,keycodes: Specifies the numeric keycode values to be used for
+ reporting key presses.