Thread (1 message) 1 message, 1 author, 2015-07-20

[PATCH] ARM: dts: omap5-uevm: Add Palmas power button support

From: nm@ti.com (Nishanth Menon)
Date: 2015-07-20 20:58:13
Also in: linux-devicetree, linux-omap

On 07/20/2015 04:07 PM, Aparna Balasubramanian wrote:
quoted hunk
Palmas on OMAP5uevm has support for power button, so enable it.

Signed-off-by: Aparna Balasubramanian <redacted>
---

Based on kernel tag 4.2.0-rc1 and test result log is at
http://pastebin.ubuntu.com/11910178/

 arch/arm/boot/dts/omap5-uevm.dts |    7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 275618f..3cc8f35 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -510,6 +510,13 @@
 				};
 			};
 		};
+
+		palmas_power_button: palmas_power_button {
+			compatible = "ti,palmas-pwrbutton";
+			interrupt-parent = <&palmas>;
+			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
+			wakeup-source;
+		};
 	};
 
 	twl6040: twl at 4b {
Tested (with evtest) and verified on v4.2-rc3

Acked-by: Nishanth Menon <nm@ti.com>

-- 
Regards,
Nishanth Menon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help