[PATCH] ARM: dt: tegra: whistler: configure power off

Stephen Warren swarren at wwwdotorg.org
Tue Sep 11 15:20:37 EDT 2012


From: Stephen Warren <swarren at nvidia.com>

Add DT property to tell the MAX8907 that it should provide the
pm_power_off() implementation. This allows "shutdown" to work.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
I will probably squash this into "ARM: dt: configure power off for some
boards" when applying.

 arch/arm/boot/dts/tegra20-whistler.dts |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/tegra20-whistler.dts b/arch/arm/boot/dts/tegra20-whistler.dts
index 4ae1e5d..c636d00 100644
--- a/arch/arm/boot/dts/tegra20-whistler.dts
+++ b/arch/arm/boot/dts/tegra20-whistler.dts
@@ -267,6 +267,8 @@
 			reg = <0x3c>;
 			interrupts = <0 86 0x4>;
 
+			maxim,system-power-controller;
+
 			mbatt-supply = <&usb0_vbus_reg>;
 			in-v1-supply = <&mbatt_reg>;
 			in-v2-supply = <&mbatt_reg>;
-- 
1.7.0.4




More information about the linux-arm-kernel mailing list