From 3050c5f5afd409c299cfeba815b6f91753c4c112 Mon Sep 17 00:00:00 2001 From: Srinivas Kandagatla Date: Fri, 18 Sep 2015 13:31:25 +0100 Subject: [PATCH] ARM: dts: apq8064: add pm8921 pwrkey support This patch adds support to pm8921 power button. Signed-off-by: Srinivas Kandagatla Signed-off-by: Andy Gross --- arch/arm/boot/dts/qcom-apq8064.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index add8508..f665a25 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -373,6 +373,14 @@ allow-set-time; }; + pwrkey@1c { + compatible = "qcom,pm8921-pwrkey"; + reg = <0x1c>; + interrupt-parent = <&pmicintc>; + interrupts = <50 1>, <51 1>; + debounce = <15625>; + pull-up; + }; }; }; -- 2.7.4