summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/regs-pmu.h
diff options
context:
space:
mode:
authorAbhilash Kesavan <a.kesavan@samsung.com>2014-05-15 21:23:26 +0200
committerKukjin Kim <kgene.kim@samsung.com>2014-05-15 21:24:51 +0200
commit096d21c6ebd01b3440d1e6063e646d9db8e31ac9 (patch)
tree0e20c38cfe275540bea9996f514c1120d9e47940 /arch/arm/mach-exynos/regs-pmu.h
parentARM: EXYNOS: use generic exynos cpu power control functions (diff)
downloadlinux-096d21c6ebd01b3440d1e6063e646d9db8e31ac9.tar.xz
linux-096d21c6ebd01b3440d1e6063e646d9db8e31ac9.zip
ARM: EXYNOS: Add generic cluster power control functions
Add generic cluster power control functions for exynos based SoCS for cluster power up/down and to know the cluster status. Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/regs-pmu.h')
-rw-r--r--arch/arm/mach-exynos/regs-pmu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/regs-pmu.h b/arch/arm/mach-exynos/regs-pmu.h
index 98fb8d8715e6..f6b68a327586 100644
--- a/arch/arm/mach-exynos/regs-pmu.h
+++ b/arch/arm/mach-exynos/regs-pmu.h
@@ -111,6 +111,12 @@
#define EXYNOS_ARM_CORE_STATUS(_nr) \
(EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x4)
+#define EXYNOS_ARM_COMMON_CONFIGURATION S5P_PMUREG(0x2500)
+#define EXYNOS_COMMON_CONFIGURATION(_nr) \
+ (EXYNOS_ARM_COMMON_CONFIGURATION + (0x80 * (_nr)))
+#define EXYNOS_COMMON_STATUS(_nr) \
+ (EXYNOS_COMMON_CONFIGURATION(_nr) + 0x4)
+
#define S5P_PAD_RET_MAUDIO_OPTION S5P_PMUREG(0x3028)
#define S5P_PAD_RET_GPIO_OPTION S5P_PMUREG(0x3108)
#define S5P_PAD_RET_UART_OPTION S5P_PMUREG(0x3128)