summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/cpu_op-mx6.c
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <ra5478@freescale.com>2011-10-19 14:38:19 -0500
committerJason Liu <r64343@freescale.com>2012-07-20 13:16:49 +0800
commit9f27f73686cea1a8f64d5529c1f34aba88a5a638 (patch)
treee69364c38524362f78dec34886460b286ae4257a /arch/arm/mach-mx6/cpu_op-mx6.c
parentcca77ce5e8c38ee163b82539be8050fc3fa9098d (diff)
ENGR00160492: MX6-Disable PLL1 when CPU clk is below 400MHz.
When CPU frequency is below 400MHz (due to CPUFREQ or dvfs-core), we can source pll1_sw_clk from PLL2_PFD_400M and disable PLL1. This can save some power. Fixed warnings in dvfs_core driver. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/cpu_op-mx6.c')
-rw-r--r--arch/arm/mach-mx6/cpu_op-mx6.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/arm/mach-mx6/cpu_op-mx6.c b/arch/arm/mach-mx6/cpu_op-mx6.c
index 51bc917f86cc..c0694fd71e3b 100644
--- a/arch/arm/mach-mx6/cpu_op-mx6.c
+++ b/arch/arm/mach-mx6/cpu_op-mx6.c
@@ -42,14 +42,14 @@ static struct cpu_op mx6_cpu_op[] = {
.cpu_podf = 0,
.cpu_voltage = 1150000,},
{
- .pll_rate = 792000000,
- .cpu_rate = 400000000,
- .cpu_podf = 1,
+ .pll_rate = 396000000,
+ .cpu_rate = 396000000,
+ .cpu_podf = 0,
.cpu_voltage = 1050000,},
{
- .pll_rate = 792000000,
- .cpu_rate = 167000000,
- .cpu_podf = 4,
+ .pll_rate = 396000000,
+ .cpu_rate = 198000000,
+ .cpu_podf = 1,
.cpu_voltage = 900000,},
};