]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: hi3660: add power key dts node
authorChen Jun <chenjun14@huawei.com>
Thu, 15 Jun 2017 03:04:07 +0000 (11:04 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Thu, 15 Jun 2017 10:50:22 +0000 (11:50 +0100)
commit7749cc0387058b1ea63b774d41937b2b98f411e9
treeb12f875e1e06c09c27dc52048c958e82906f569e
parentfd59ffdbdb5456582440ffcf1611e28c8046bb27
arm64: dts: hi3660: add power key dts node

We use gpio_034 as power key on hikey960, and set gpio with pull-up
state, when key press the voltage on the gpio will come to lower, and
power key event will be reported.

Signed-off-by: Chen Jun <chenjun14@huawei.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts