diff options
author | Joseph Lo <josephl@nvidia.com> | 2013-04-03 15:31:47 +0400 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2013-04-04 00:31:41 +0400 |
commit | c8c2e6069065fdecfb195a2c438c7faa964aef22 (patch) | |
tree | 43f1528c665ec9b68891fcbcb345ffa1b0d51dcd /arch/arm/mach-tegra/pmc.h | |
parent | 4b51ccbc469facb7b589a71c2a4ae47d3e425d02 (diff) | |
download | linux-c8c2e6069065fdecfb195a2c438c7faa964aef22.tar.xz |
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.h | 4 |
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); |