From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH v6 2/6] dt-bindings: input: Add common keyboard document bindings Date: Thu, 29 Mar 2018 09:15:51 -0700 Message-ID: <20180329161551.GB107392@dtor-ws> References: <1508937364-30054-1-git-send-email-chen.zhong@mediatek.com> <1508937364-30054-3-git-send-email-chen.zhong@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1508937364-30054-3-git-send-email-chen.zhong@mediatek.com> Sender: linux-kernel-owner@vger.kernel.org To: Chen Zhong Cc: Rob Herring , Lee Jones , Alexandre Belloni , Mark Rutland , Matthias Brugger , Eddie Huang , Alessandro Zummo , Linus Walleij , Beomho Seo , Javier Martinez Canillas , Jaechul Lee , Krzysztof Kozlowski , linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-rtc@vger.kernel.org List-Id: linux-input@vger.kernel.org On Wed, Oct 25, 2017 at 09:16:00PM +0800, Chen Zhong wrote: > This patch adds the device tree binding documentation for common > keyboard. > > Acked-by: Rob Herring > Signed-off-by: Chen Zhong Acked-by: Dmitry Torokhov > --- > 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 > -- Dmitry