Browse Source

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>
Chen Zhong 7 năm trước cách đây
mục cha
commit
f9e02d8041
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      Documentation/devicetree/bindings/input/keys.txt

+ 8 - 0
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.