ARM: tegra: power: Set minimum LP2 target residency
Alex Frid [Tue, 19 Apr 2011 04:35:58 +0000 (21:35 -0700)]
Added board level tuning parameter to specify minimum LP2 residency
time (previous policy allows down to zero residency targets limited
only by LP2 exit latency).

Original-Change-Id: I4ae7d458fba78f35a40f138cf9489bf938715b22
Reviewed-on: http://git-master/r/28162
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Original-Change-Id: I38e798ca6d242d136ea2353d90cc961de14f25b6

Rebase-Id: R30db6faf081e44b5d1914ec213dd43a8c9abf3ef

arch/arm/mach-tegra/board-cardhu-power.c

index 7cd7584..fb02186 100644 (file)
@@ -745,6 +745,7 @@ static struct tegra_suspend_platform_data cardhu_suspend_data = {
        .wake_high      = 0,
        .wake_low       = TEGRA_WAKE_GPIO_PV0 | TEGRA_WAKE_PWR_INT,
        .wake_any       = 0,
+       .cpu_lp2_min_residency = 2000,
 };
 
 int __init cardhu_suspend_init(void)