From mboxrd@z Thu Jan 1 00:00:00 1970 From: Felipe Balbi Subject: [PATCH 4/5] arm: boot: dts: am437x-sk: add power button binding Date: Fri, 26 Dec 2014 13:28:23 -0600 Message-ID: <1419622104-25812-5-git-send-email-balbi@ti.com> References: <1419622104-25812-1-git-send-email-balbi@ti.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1419622104-25812-1-git-send-email-balbi@ti.com> Sender: linux-omap-owner@vger.kernel.org To: Tony Lindgren , Dmitry Torokhov , Samuel Ortiz , Lee Jones Cc: Linux OMAP Mailing List , linux-input@vger.kernel.org, devicetree@vger.kernel.org, Linux ARM Kernel Mailing List , Felipe Balbi List-Id: linux-input@vger.kernel.org Let this board report KEY_POWER so upper layers can decide what to do when power button is pressed. Signed-off-by: Felipe Balbi --- 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@50 { -- 2.2.0