summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/common.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2012-12-31 22:06:48 +0400
committerKukjin Kim <kgene.kim@samsung.com>2013-01-10 22:45:17 +0400
commitccd458c15df62e4e7001a09b1b000b1fce696640 (patch)
tree27620b3a757791b288db12c2eddbf3260c0c4cf8 /arch/arm/mach-exynos/common.h
parentc48bcc2d681ac21e532114dcd96a6b9c4e72acb1 (diff)
downloadlinux-ccd458c15df62e4e7001a09b1b000b1fce696640.tar.xz
ARM: EXYNOS: move mach/pmu.h file into common.h
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/common.h')
-rw-r--r--arch/arm/mach-exynos/common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h
index 04744f9c120f..e1af3a9b72a7 100644
--- a/arch/arm/mach-exynos/common.h
+++ b/arch/arm/mach-exynos/common.h
@@ -64,4 +64,24 @@ extern struct smp_operations exynos_smp_ops;
extern void exynos_cpu_die(unsigned int cpu);
+/* PMU(Power Management Unit) support */
+
+#define PMU_TABLE_END NULL
+
+enum sys_powerdown {
+ SYS_AFTR,
+ SYS_LPA,
+ SYS_SLEEP,
+ NUM_SYS_POWERDOWN,
+};
+
+extern unsigned long l2x0_regs_phys;
+struct exynos_pmu_conf {
+ void __iomem *reg;
+ unsigned int val[NUM_SYS_POWERDOWN];
+};
+
+extern void exynos_sys_powerdown_conf(enum sys_powerdown mode);
+extern void s3c_cpu_resume(void);
+
#endif /* __ARCH_ARM_MACH_EXYNOS_COMMON_H */