diff options
author | Jongpill Lee <boyko.lee@samsung.com> | 2011-09-26 18:26:04 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-10-04 05:59:36 -0400 |
commit | 00a351f273a85b23a3fc9e7740b4c0080e69c9a1 (patch) | |
tree | 0db2e4cba7bcb899c61159d9be08efe9aa2d7b80 /arch/arm/mach-exynos4/pm.c | |
parent | 9a94296cb42727ccff49d13dca947bed14746f07 (diff) |
ARM: EXYNOS4: Support suspend/resume for EXYNOS4212
Signed-off-by: Jongpill Lee <boyko.lee@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos4/pm.c')
-rw-r--r-- | arch/arm/mach-exynos4/pm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos4/pm.c b/arch/arm/mach-exynos4/pm.c index bc6ca9482de1..6e59c8398a49 100644 --- a/arch/arm/mach-exynos4/pm.c +++ b/arch/arm/mach-exynos4/pm.c | |||
@@ -404,6 +404,13 @@ static int exynos4_pm_suspend(void) | |||
404 | tmp &= ~S5P_CENTRAL_LOWPWR_CFG; | 404 | tmp &= ~S5P_CENTRAL_LOWPWR_CFG; |
405 | __raw_writel(tmp, S5P_CENTRAL_SEQ_CONFIGURATION); | 405 | __raw_writel(tmp, S5P_CENTRAL_SEQ_CONFIGURATION); |
406 | 406 | ||
407 | if (soc_is_exynos4212()) { | ||
408 | tmp = __raw_readl(S5P_CENTRAL_SEQ_OPTION); | ||
409 | tmp &= ~(S5P_USE_STANDBYWFI_ISP_ARM | | ||
410 | S5P_USE_STANDBYWFE_ISP_ARM); | ||
411 | __raw_writel(tmp, S5P_CENTRAL_SEQ_OPTION); | ||
412 | } | ||
413 | |||
407 | /* Save Power control register */ | 414 | /* Save Power control register */ |
408 | asm ("mrc p15, 0, %0, c15, c0, 0" | 415 | asm ("mrc p15, 0, %0, c15, c0, 0" |
409 | : "=r" (tmp) : : "cc"); | 416 | : "=r" (tmp) : : "cc"); |