[PATCH 4/5] arm: boot: dts: am437x-sk: add power button binding
Tony Lindgren
tony at atomide.com
Wed Jan 7 16:09:27 PST 2015
* Felipe Balbi <balbi at ti.com> [141226 11:31]:
> 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 at ti.com>
Applying this one into omap-for-v3.20/dt thanks.
Tony
> ---
> arch/arm/boot/dts/am437x-sk-evm.dts | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/am437x-sk-evm.dts b/arch/arm/boot/dts/am437x-sk-evm.dts
> index 53bbfc9..c53840c 100644
> --- a/arch/arm/boot/dts/am437x-sk-evm.dts
> +++ b/arch/arm/boot/dts/am437x-sk-evm.dts
> @@ -386,6 +386,11 @@
> regulator-always-on;
> };
>
> + power-button {
> + compatible = "ti,tps65218-pwrbutton";
> + status = "okay";
> + interrupts = <3 IRQ_TYPE_EDGE_BOTH>;
> + };
> };
>
> at24 at 50 {
> --
> 2.2.0
>
More information about the linux-arm-kernel
mailing list