tegra:cardhu: enable suspend power state(LP1)
Narendra Damahe [Tue, 8 Mar 2011 21:04:51 +0000 (13:04 -0800)]
Enabling suspend power state(LP1) by default for Cardhu

Original-Change-Id: I6d39702307a7629ad7cf8b569e7fc9c520f6653e
Reviewed-on: http://git-master/r/22092
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Original-Change-Id: Ic22bda19616a61c5e4781b9e32b0dd4dfdd3a110

Rebase-Id: R6ea02c7bc9a42fc6ea620b3b297a6ed7eaca4f63

arch/arm/mach-tegra/board-cardhu-power.c [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 01b5967..a22033b
@@ -580,15 +580,15 @@ int __init cardhu_gpio_switch_regulator_init(void)
 static struct tegra_suspend_platform_data cardhu_suspend_data = {
        .cpu_timer      = 2000,
        .cpu_off_timer  = 0,
-       .suspend_mode   = TEGRA_SUSPEND_NONE,
+       .suspend_mode   = TEGRA_SUSPEND_LP1,
        .core_timer     = 0x7e7e,
        .core_off_timer = 0,
        .separate_req   = true,
        .corereq_high   = false,
        .sysclkreq_high = true,
-       .wake_enb       = 0,
+       .wake_enb       = TEGRA_WAKE_GPIO_PV0 | TEGRA_WAKE_PWR_INT,
        .wake_high      = 0,
-       .wake_low       = 0,
+       .wake_low       = TEGRA_WAKE_GPIO_PV0 | TEGRA_WAKE_PWR_INT,
        .wake_any       = 0,
 };