Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752756AbdI0KpO (ORCPT ); Wed, 27 Sep 2017 06:45:14 -0400 Received: from mailgw01.mediatek.com ([218.249.47.110]:39759 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752516AbdI0KoU (ORCPT ); Wed, 27 Sep 2017 06:44:20 -0400 X-UUID: 85f1d2a53c044155b4de2fd6bec16fd0-20170927 From: Chen Zhong To: Dmitry Torokhov , Rob Herring , Lee Jones , Alexandre Belloni CC: Mark Rutland , Matthias Brugger , Eddie Huang , Alessandro Zummo , Linus Walleij , Chanwoo Choi , Chen Zhong , Jaechul Lee , Andi Shyti , , , , , , Subject: [PATCH v5 2/6] dt-bindings: input: Add common keyboard document bindings Date: Wed, 27 Sep 2017 18:44:04 +0800 Message-ID: <1506509048-19032-3-git-send-email-chen.zhong@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1506509048-19032-1-git-send-email-chen.zhong@mediatek.com> References: <1506509048-19032-1-git-send-email-chen.zhong@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 931 Lines: 26 This patch adds the device tree binding documentation for common keyboard. Signed-off-by: Chen Zhong --- 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