Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740600

[PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings

From Chen Zhong <chen.zhong@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings
Date 2017-09-27 12:50 +0200
Message-ID <uui4G-1h8-13@gated-at.bofh.it> (permalink)
References <uui4F-1h8-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds the device tree binding documentation for common
keyboard.

Signed-off-by: Chen Zhong <chen.zhong@mediatek.com>
---
 Documentation/devicetree/bindings/input/keys.txt |    8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/keys.txt

diff --git a/Documentation/devicetree/bindings/input/keys.txt b/Documentation/devicetree/bindings/input/keys.txt
new file mode 100644
index 0000000..a0ea7eb
--- /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.
\ No newline at end of file
-- 
1.7.9.5

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings Chen Zhong <chen.zhong@mediatek.com> - 2017-09-27 12:50 +0200

csiph-web