projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e0920
)
ARM: dts: am437x-sk: add power button binding
author
Felipe Balbi
<balbi@ti.com>
Fri, 26 Dec 2014 19:28:23 +0000
(13:28 -0600)
committer
Tony Lindgren
<tony@atomide.com>
Thu, 8 Jan 2015 00:23:52 +0000
(16:23 -0800)
Let this board report KEY_POWER so upper layers
can decide what to do when power button is pressed.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-sk-evm.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/am437x-sk-evm.dts
b/arch/arm/boot/dts/am437x-sk-evm.dts
index
e12199e
..
832d243
100644
(file)
--- a/
arch/arm/boot/dts/am437x-sk-evm.dts
+++ b/
arch/arm/boot/dts/am437x-sk-evm.dts
@@
-444,6
+444,11
@@
regulator-always-on;
};
+ power-button {
+ compatible = "ti,tps65218-pwrbutton";
+ status = "okay";
+ interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
+ };
};
at24@50 {