From patchwork Wed Sep 27 10:44:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "chen.zhong" X-Patchwork-Id: 9973705 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0843160365 for ; Wed, 27 Sep 2017 10:45:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 02297285E4 for ; Wed, 27 Sep 2017 10:45:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EADB32869D; Wed, 27 Sep 2017 10:45:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9F9D5285E4 for ; Wed, 27 Sep 2017 10:45:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3U5igxWOQWSRan+hz6grWOkvmJAyzsJ/9JzXRSlbznE=; b=U9T+WFUXD73Jvr CRATqM9z1VTWv3r7WZanp4l/pqC854/vsGStBqY38CAKFN9zWBYB/9obnlFraW5XaRbSLek6+t6V7 JUskYmwHovERN6BNcOBEneh8oFmn0s3Nci7cAo2vS3le9LjFP/JjpYCJBiS8qSKozVfWWMhYAdPGC D/FFN6XlvqMfMPUqjQJT4El+ujT00hLoR6NLCdFKT37SDEOUXf5z0wN76wmv23NN2E2yDv4vNUTEC ZSLV1UOOkesqR1Hc5+lGtkN/CRnaAak0AtBSZsO1WgXnSgPnSLChDBapYWQSXyNCVmfqp0glUePE+ xYzek0G6I4cgu7467NGA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dx9qD-00026Y-8R; Wed, 27 Sep 2017 10:45:21 +0000 Received: from [218.249.47.110] (helo=mailgw01.mediatek.com) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dx9pc-00088i-GM; Wed, 27 Sep 2017 10:44:48 +0000 X-UUID: 85f1d2a53c044155b4de2fd6bec16fd0-20170927 Received: from mtkcas36.mediatek.inc [(172.27.4.250)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 272425294; Wed, 27 Sep 2017 18:43:55 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 27 Sep 2017 18:44:07 +0800 Received: from localhost.localdomain (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1210.3 via Frontend Transport; Wed, 27 Sep 2017 18:43:59 +0800 From: Chen Zhong To: Dmitry Torokhov , Rob Herring , Lee Jones , Alexandre Belloni 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 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170927_034444_995326_88260E63 X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alessandro Zummo , devicetree@vger.kernel.org, Linus Walleij , Jaechul Lee , linux-kernel@vger.kernel.org, Andi Shyti , Chanwoo Choi , linux-mediatek@lists.infradead.org, linux-input@vger.kernel.org, Matthias Brugger , Eddie Huang , Chen Zhong , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the device tree binding documentation for common keyboard. Signed-off-by: Chen Zhong Acked-by: Rob Herring --- 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