summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pmc.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-09 16:54:27 +0200
committerArnd Bergmann <arnd@arndb.de>2013-04-09 16:54:27 +0200
commit3afeb0a046af159f0ff97a20cf6ebc44d0d2bd64 (patch)
tree49bbe7b27f8571c7716e9cbc7fbbe462ea82077a /arch/arm/mach-tegra/pmc.h
parentd93bea007ab3d77b796eb99fb4ff4eeb013e0dfa (diff)
parent38be85de698ef3f2755ee0eabf520530757860aa (diff)
downloadolio-linux-3.10-3afeb0a046af159f0ff97a20cf6ebc44d0d2bd64.tar.xz
olio-linux-3.10-3afeb0a046af159f0ff97a20cf6ebc44d0d2bd64.zip
Merge branch 'tegra/soc' into next/multiplatform
This is a dependency for the tegra multiplatform series. Conflicts: drivers/clocksource/tegra20_timer.c Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-tegra/pmc.h')
-rw-r--r--arch/arm/mach-tegra/pmc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/pmc.h b/arch/arm/mach-tegra/pmc.h
index 8995ee4a876..e1c2df272f7 100644
--- a/arch/arm/mach-tegra/pmc.h
+++ b/arch/arm/mach-tegra/pmc.h
@@ -18,6 +18,24 @@
#ifndef __MACH_TEGRA_PMC_H
#define __MACH_TEGRA_PMC_H
+enum tegra_suspend_mode {
+ TEGRA_SUSPEND_NONE = 0,
+ TEGRA_SUSPEND_LP2, /* CPU voltage off */
+ TEGRA_SUSPEND_LP1, /* CPU voltage off, DRAM self-refresh */
+ TEGRA_SUSPEND_LP0, /* CPU + core voltage off, DRAM self-refresh */
+ TEGRA_MAX_SUSPEND_MODE,
+};
+
+#ifdef CONFIG_PM_SLEEP
+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);
+int tegra_pmc_cpu_power_on(int cpuid);
+int tegra_pmc_cpu_remove_clamping(int cpuid);
+
void tegra_pmc_init(void);
#endif