diff options
author | Anson Huang <b20788@freescale.com> | 2015-01-16 18:47:42 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:23:06 +0800 |
commit | 975ee072fe32f2835a54df1e1ea92a3de49dba10 (patch) | |
tree | e2bc0a2f2ed7ca1bf0ae8b6be336a5c657f59d05 /drivers/cpufreq | |
parent | 2e36d1546e3b0098c1da2c4b2690b8ce45e27346 (diff) |
MLK-10103-2 cpufreq: imx6: increase SOC/PU voltage for vpu 352M
When VPU is running at 352MHz, SOC/PU voltage need to be
at 1.25V for 396/792MHz setpoint, as 396M setpoint is
removed, so only increase 792M setpoint's voltage.
Signed-off-by: Anson Huang <b20788@freescale.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/imx6q-cpufreq.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index 1b60fb41cb87..866966327c3b 100644 --- a/drivers/cpufreq/imx6q-cpufreq.c +++ b/drivers/cpufreq/imx6q-cpufreq.c @@ -320,6 +320,12 @@ static int imx6q_cpufreq_probe(struct platform_device *pdev) unsigned long volt = be32_to_cpup(val++); if (freq_table[j].frequency == freq) { imx6_soc_volt[soc_opp_count++] = volt; +#ifdef CONFIG_MX6_VPU_352M + if (freq == 792000) { + pr_info("increase SOC/PU voltage for VPU352MHz\n"); + imx6_soc_volt[soc_opp_count - 1] = 1250000; + } +#endif break; } } |