diff options
author | Anson Huang <b20788@freescale.com> | 2014-06-29 23:25:50 -0400 |
---|---|---|
committer | Anson Huang <b20788@freescale.com> | 2014-06-30 01:55:22 -0400 |
commit | 7cae872ea9776770043f8c34908e16b27f96cccf (patch) | |
tree | 1bbc4df29fbfbbb25425ac49e55eda4023fff100 | |
parent | 92b80225b8322a51ab9703b171d636e5ffd4c620 (diff) |
ENGR00320349 cpufreq: imx6: increase SOC/PU voltage for VPU352MHz
For VPU352MHz enabled, SOC/PU voltage can NOT be lower than 1250mV,
as only 396M and 792M setpoint's SOC/PU voltage is lower than
1250mV and we already disable 396M setpoint, so here we just increase
SOC/PU voltage for 792M setpoint when VPU352M is enabled.
Signed-off-by: Anson Huang <b20788@freescale.com>
-rw-r--r-- | drivers/cpufreq/cpufreq-imx6.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq-imx6.c b/drivers/cpufreq/cpufreq-imx6.c index c49c8eff8e79..2e457e0c1215 100644 --- a/drivers/cpufreq/cpufreq-imx6.c +++ b/drivers/cpufreq/cpufreq-imx6.c | |||
@@ -405,6 +405,12 @@ static int imx6_cpufreq_probe(struct platform_device *pdev) | |||
405 | } | 405 | } |
406 | imx6_soc_opp[i].arm_freq = freq; | 406 | imx6_soc_opp[i].arm_freq = freq; |
407 | imx6_soc_opp[i].soc_volt = volt; | 407 | imx6_soc_opp[i].soc_volt = volt; |
408 | #ifdef CONFIG_MX6_VPU_352M | ||
409 | if (imx6_soc_opp[i].arm_freq == 792000) { | ||
410 | pr_info("increase SOC/PU voltage for VPU352MHz\n"); | ||
411 | imx6_soc_opp[i].soc_volt = 1250000; | ||
412 | } | ||
413 | #endif | ||
408 | soc_opp_count++; | 414 | soc_opp_count++; |
409 | } | 415 | } |
410 | rcu_read_unlock(); | 416 | rcu_read_unlock(); |