summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pm.h
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2011-04-18 21:35:58 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:42:32 -0800
commit59c7b7b5b71f1b7328e0ae29c069a4d4888b712e (patch)
tree648f43d2f88d4dc17ec51fa752087d72c150520e /arch/arm/mach-tegra/pm.h
parent11119f27d5051bb676f302f9b5759d1c2997917a (diff)
ARM: tegra: power: Set minimum LP2 target residency
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: Rcf9efce3dd037b0a7ca13a9c342f884fac38d654
Diffstat (limited to 'arch/arm/mach-tegra/pm.h')
-rw-r--r--arch/arm/mach-tegra/pm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pm.h b/arch/arm/mach-tegra/pm.h
index b19209292a04..756fd4da3b61 100644
--- a/arch/arm/mach-tegra/pm.h
+++ b/arch/arm/mach-tegra/pm.h
@@ -2,6 +2,7 @@
* arch/arm/mach-tegra/include/mach/suspend.h
*
* Copyright (C) 2010 Google, Inc.
+ * Copyright (C) 2011 NVIDIA Corporation
*
* Author:
* Colin Cross <ccross@google.com>
@@ -39,10 +40,12 @@ struct tegra_suspend_platform_data {
bool corereq_high; /* Core power request active-high */
bool sysclkreq_high; /* System clock request is active-high */
enum tegra_suspend_mode suspend_mode;
+ unsigned long cpu_lp2_min_residency; /* Min LP2 state residency in us */
};
unsigned long tegra_cpu_power_good_time(void);
unsigned long tegra_cpu_power_off_time(void);
+unsigned long tegra_cpu_lp2_min_residency(void);
#define TEGRA_POWER_SDRAM_SELFREFRESH 0x400 /* SDRAM is in self-refresh */