From d0bd72801c5e484034420122d714b0a9ef6b6308 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=BB=84=E6=B6=9B?= Date: Wed, 17 Oct 2012 17:46:55 +0800 Subject: [PATCH] rk2928: cpufreq: set reboot freq from 600MHz to 816MHz, make sure vdd_arm 1.2v at least --- arch/arm/mach-rk2928/cpufreq.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.34.1