]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00162612 [Mx6]Change arm core voltage of suspend for 1G cpufreq
authorAnson Huang <b20788@freescale.com>
Fri, 18 Nov 2011 13:11:04 +0000 (21:11 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:05 +0000 (14:10 +0200)
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>
arch/arm/mach-mx6/system.c

index 418e23e1bdee153845e4fb019f91826e8a7ec45f..72ffc7700d44b62ad947f972634b3f54736e9210 100644 (file)
@@ -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;