ARM: tegra: pluto/dalmore: Enable PMU power off
Mallikarjun Kasoju [Tue, 30 Oct 2012 15:38:12 +0000 (20:38 +0530)]
Enable power off functionality for pluto and dalmore
Bug 1051970

Change-Id: If8956801fa0eea56a3716686cd6dda3b86f63989
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/134305
(cherry picked from commit 0963e62f86ab2c08c0e02dc28087c0460ebada2a)

Conflicts:

arch/arm/mach-tegra/board-dalmore-power.c
arch/arm/mach-tegra/board-pluto-power.c

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Change-Id: I93591db9b8fc636456c56a280b03ba8a3722b44e
Reviewed-on: http://git-master/r/159899
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

arch/arm/mach-tegra/board-dalmore-power.c
arch/arm/mach-tegra/board-pluto-power.c

index 5668a1d..b23e997 100644 (file)
@@ -740,6 +740,7 @@ static struct palmas_platform_data palmas_pdata = {
        .pad1 = 0,
        .pad2 = 0,
        .pad3 = PALMAS_PRIMARY_SECONDARY_PAD3_DVFS1,
+       .use_power_off = true,
 };
 
 static struct i2c_board_info palma_device[] = {
index ccbae4d..f6d4b7a 100644 (file)
@@ -623,6 +623,7 @@ static struct palmas_platform_data palmas_pdata = {
        .clk32k_init_data =  palmas_clk32k_idata,
        .clk32k_init_data_size = ARRAY_SIZE(palmas_clk32k_idata),
        .irq_type = IRQ_TYPE_LEVEL_HIGH,
+       .use_power_off = true,
 };
 
 static struct i2c_board_info palma_device[] = {