[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1506509048-19032-3-git-send-email-chen.zhong@mediatek.com>
Date: Wed, 27 Sep 2017 18:44:04 +0800
From: Chen Zhong <chen.zhong@...iatek.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>,
Rob Herring <robh+dt@...nel.org>,
Lee Jones <lee.jones@...aro.org>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>
CC: Mark Rutland <mark.rutland@....com>,
Matthias Brugger <matthias.bgg@...il.com>,
Eddie Huang <eddie.huang@...iatek.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Linus Walleij <linus.walleij@...aro.org>,
Chanwoo Choi <cw00.choi@...sung.com>,
Chen Zhong <chen.zhong@...iatek.com>,
Jaechul Lee <jcsing.lee@...sung.com>,
Andi Shyti <andi.shyti@...sung.com>,
<linux-input@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-mediatek@...ts.infradead.org>, <linux-rtc@...r.kernel.org>
Subject: [PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings
This patch adds the device tree binding documentation for common
keyboard.
Signed-off-by: Chen Zhong <chen.zhong@...iatek.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
Powered by blists - more mailing lists