From 00a351f273a85b23a3fc9e7740b4c0080e69c9a1 Mon Sep 17 00:00:00 2001 From: Jongpill Lee Date: Tue, 27 Sep 2011 07:26:04 +0900 Subject: ARM: EXYNOS4: Support suspend/resume for EXYNOS4212 Signed-off-by: Jongpill Lee Signed-off-by: Kukjin Kim --- arch/arm/mach-exynos4/pm.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/arm/mach-exynos4/pm.c') 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) tmp &= ~S5P_CENTRAL_LOWPWR_CFG; __raw_writel(tmp, S5P_CENTRAL_SEQ_CONFIGURATION); + if (soc_is_exynos4212()) { + tmp = __raw_readl(S5P_CENTRAL_SEQ_OPTION); + tmp &= ~(S5P_USE_STANDBYWFI_ISP_ARM | + S5P_USE_STANDBYWFE_ISP_ARM); + __raw_writel(tmp, S5P_CENTRAL_SEQ_OPTION); + } + /* Save Power control register */ asm ("mrc p15, 0, %0, c15, c0, 0" : "=r" (tmp) : : "cc"); -- cgit v1.2.2