projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d770e55
)
arm64: dts: Add poweroff button device node for APM X-Gene platform
author
Y Vo
<yvo@apm.com>
Fri, 26 Jun 2015 08:01:47 +0000
(15:01 +0700)
committer
Kevin Hilman
<khilman@linaro.org>
Wed, 8 Jul 2015 21:09:18 +0000
(14:09 -0700)
This patch adds poweroff button device node to support poweroff feature
on APM X-Gene Mustang platform.
Signed-off-by: Y Vo <yvo@apm.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
arch/arm64/boot/dts/apm/apm-mustang.dts
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/boot/dts/apm/apm-mustang.dts
b/arch/arm64/boot/dts/apm/apm-mustang.dts
index 83578e766b945ae2c35b41b93813a8c29ec15c1b..4c55833d8a41a0b361faaf66ad72dffcc6885f02 100644
(file)
--- a/
arch/arm64/boot/dts/apm/apm-mustang.dts
+++ b/
arch/arm64/boot/dts/apm/apm-mustang.dts
@@
-23,6
+23,16
@@
device_type = "memory";
reg = < 0x1 0x00000000 0x0 0x80000000 >; /* Updated by bootloader */
};
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ button@1 {
+ label = "POWER";
+ linux,code = <116>;
+ linux,input-type = <0x1>;
+ interrupts = <0x0 0x2d 0x1>;
+ };
+ };
};
&pcie0clk {