summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnson Huang <b20788@freescale.com>2011-11-18 21:11:04 +0800
committerAnson Huang <b20788@freescale.com>2011-11-18 23:01:45 +0800
commit95e73b4a9127907cad3cc3405325deb0e037c668 (patch)
tree2d547eb3fd7d97f8159db7dd26f75d6de7b24a4b
parent720b5f3b43a473d12d474550bdc65e97bc785a16 (diff)
ENGR00162612 [Mx6]Change arm core voltage of suspend for 1G cpufreq
Previous setting for ARM core is 1V during suspend, it is working for 800MHz cpu freq, but not enough for 1G cpu freq, actually, we didn't need to change ARM core LDO's setting during suspend, hardware will auto change it. Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r--arch/arm/mach-mx6/system.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mx6/system.c b/arch/arm/mach-mx6/system.c
index 418e23e1bdee..72ffc7700d44 100644
--- a/arch/arm/mach-mx6/system.c
+++ b/arch/arm/mach-mx6/system.c
@@ -133,8 +133,7 @@ void mxc_cpu_lp_set(enum mxc_cpu_pwr_mode mode)
__raw_writel(anatop_val, anatop_base + ANATOP_REG_2P5_OFFSET);
/* Set ARM core power domain to 1V and PU domain set to off */
anatop_val = __raw_readl(anatop_base + ANATOP_REG_CORE_OFFSET);
- anatop_val &= 0xfffc0000;
- anatop_val |= 0xc;
+ anatop_val &= 0xfffc001f;
__raw_writel(anatop_val, anatop_base + ANATOP_REG_CORE_OFFSET);
__raw_writel(__raw_readl(MXC_CCM_CCR) | MXC_CCM_CCR_RBC_EN, MXC_CCM_CCR);
ccm_clpcr |= MXC_CCM_CLPCR_WB_PER_AT_LPM;