From: 黄涛 Date: Wed, 17 Oct 2012 09:46:55 +0000 (+0800) Subject: rk2928: cpufreq: set reboot freq from 600MHz to 816MHz, make sure vdd_arm 1.2v at... X-Git-Tag: firefly_0821_release~8388 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d0bd72801c5e484034420122d714b0a9ef6b6308;p=firefly-linux-kernel-4.4.55.git rk2928: cpufreq: set reboot freq from 600MHz to 816MHz, make sure vdd_arm 1.2v at least --- diff --git a/arch/arm/mach-rk2928/cpufreq.c b/arch/arm/mach-rk2928/cpufreq.c index df0743f0ae32..b9172a2bd6d2 100644 --- a/arch/arm/mach-rk2928/cpufreq.c +++ b/arch/arm/mach-rk2928/cpufreq.c @@ -58,6 +58,7 @@ static unsigned int max_freq = -1; /* With 0x00(NOCHANGE), it depends on the previous "further" status */ static int no_cpufreq_access; static unsigned int suspend_freq = 600 * 1000; +static unsigned int reboot_freq = 816 * 1000; static struct workqueue_struct *freq_wq; static struct clk *cpu_clk; @@ -686,7 +687,7 @@ static int rk30_cpufreq_reboot_notifier_event(struct notifier_block *this, struct cpufreq_policy *policy = cpufreq_cpu_get(0); if (policy) { - cpufreq_driver_target(policy, suspend_freq, DISABLE_FURTHER_CPUFREQ | CPUFREQ_RELATION_H); + cpufreq_driver_target(policy, reboot_freq, DISABLE_FURTHER_CPUFREQ | CPUFREQ_RELATION_L); cpufreq_cpu_put(policy); }