diff mbox

ARM: dt: tegra: whistler: configure power off

Message ID 1347391237-31044-1-git-send-email-swarren@wwwdotorg.org
State Accepted, archived
Headers show

Commit Message

Stephen Warren Sept. 11, 2012, 7:20 p.m. UTC
From: Stephen Warren <swarren@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@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(-)

Comments

Stephen Warren Sept. 19, 2012, 9:25 p.m. UTC | #1
On 09/11/2012 01:20 PM, Stephen Warren wrote:
> From: Stephen Warren <swarren@nvidia.com>
> 
> Add DT property to tell the MAX8907 that it should provide the
> pm_power_off() implementation. This allows "shutdown" to work.

I've applied this to Tegra's for-3.7/dt2 branch, which I hope to push to
arm-soc very shortly (i.e. tomorrow at latest); just waiting on
confirmation on Thierry's board .dts patches.
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>;