summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/pmc.h
diff options
context:
space:
mode:
authorJoseph Lo2013-04-03 13:31:47 +0200
committerStephen Warren2013-04-03 22:31:41 +0200
commitc8c2e6069065fdecfb195a2c438c7faa964aef22 (patch)
tree43f1528c665ec9b68891fcbcb345ffa1b0d51dcd /arch/arm/mach-tegra/pmc.h
parentARM: dt: tegra: add bindings of power management configurations for PMC (diff)
downloadkernel-qcow2-linux-c8c2e6069065fdecfb195a2c438c7faa964aef22.tar.gz
kernel-qcow2-linux-c8c2e6069065fdecfb195a2c438c7faa964aef22.tar.xz
kernel-qcow2-linux-c8c2e6069065fdecfb195a2c438c7faa964aef22.zip
ARM: tegra: pm: add platform suspend support
Adding suspend to RAM support for Tegra platform. There are three suspend mode for Tegra. The difference were below. * LP2: CPU voltage off * LP1: CPU voltage off, DRAM in self-refresh * LP0: CPU + Core voltage off, DRAM in self-refresh After this patch, the LP2 suspend mode will be supported. Signed-off-by: Joseph Lo <josephl@nvidia.com> Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.h')
-rw-r--r--arch/arm/mach-tegra/pmc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pmc.h b/arch/arm/mach-tegra/pmc.h
index 6bc0fc095269..e1c2df272f7d 100644
--- a/arch/arm/mach-tegra/pmc.h
+++ b/arch/arm/mach-tegra/pmc.h
@@ -27,7 +27,9 @@ enum tegra_suspend_mode {
};
#ifdef CONFIG_PM_SLEEP
-void set_power_timers(unsigned long us_on, unsigned long us_off);
+enum tegra_suspend_mode tegra_pmc_get_suspend_mode(void);
+void tegra_pmc_pm_set(enum tegra_suspend_mode mode);
+void tegra_pmc_suspend_init(void);
#endif
bool tegra_pmc_cpu_is_powered(int cpuid);