From: andrew@lunn.ch (Andrew Lunn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board
Date: Mon, 6 Feb 2017 03:54:35 +0100 [thread overview]
Message-ID: <20170206025435.GA32506@lunn.ch> (raw)
In-Reply-To: <1486347287-31051-3-git-send-email-eddie.cai@rock-chips.com>
Hi Eddie
> + button at 0 {
> + gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
> + linux,code = <116>;
It is a good idea to use include/dt-bindings/input/input.h
and then you can replace <116> with < KEY_POWER > which is more
readable.
> + label = "GPIO Key Power";
> + linux,input-type = <1>;
< EV_KEY >
> + gpio-key,wakeup = <1>;
This has been replace with wakeup-source.
> + debounce-interval = <100>;
> + };
> + };
Andrew
next prev parent reply other threads:[~2017-02-06 2:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-06 2:14 [PATCH V2 0/2] Add support for RK3288 Tinker board Eddie Cai
2017-02-06 2:14 ` [PATCH V2 1/2] dt-bindings: add Asus " Eddie Cai
2017-02-08 23:01 ` Rob Herring
2017-02-06 2:14 ` [PATCH V2 2/2] ARM: dts: rockchip: add dts for RK3288-Tinker board Eddie Cai
2017-02-06 2:54 ` Andrew Lunn [this message]
2017-02-06 5:52 ` Eddie Cai
2017-02-08 23:07 ` Heiko Stuebner
2017-02-14 9:54 ` Eddie Cai
2017-02-09 1:45 ` Andy Yan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170206025435.GA32506@lunn.ch \
--to=andrew@lunn.ch \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).