From 4f68d445af0e34e04c27a0f1b38207af611da652 Mon Sep 17 00:00:00 2001 From: Ranjani Vaidyanathan Date: Fri, 29 Jul 2011 14:30:19 -0500 Subject: ENGR00139280: MX6: Add CPUFREQ support Add support for CPUFREQ for SMP system. Added support for 1GHz, 800MHz, 400MHz and 160MHz. Added support for scaling the voltage along with frequency. Signed-off-by: Ranjani Vaidyanathan --- arch/arm/mach-mx6/pm.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'arch/arm/mach-mx6/pm.c') diff --git a/arch/arm/mach-mx6/pm.c b/arch/arm/mach-mx6/pm.c index 45e43977a538..ac5ede9dd1f8 100644 --- a/arch/arm/mach-mx6/pm.c +++ b/arch/arm/mach-mx6/pm.c @@ -224,20 +224,6 @@ static int mx6_suspend_prepare(void) */ static void mx6_suspend_finish(void) { -#if defined(CONFIG_CPU_FREQ) - struct cpufreq_freqs freqs; - - freqs.old = clk_get_rate(cpu_clk) / 1000; - freqs.new = org_freq / 1000; - freqs.cpu = 0; - freqs.flags = 0; - - if (org_freq != clk_get_rate(cpu_clk)) { - set_cpu_freq(org_freq); - cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE); - cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE); - } -#endif } /* -- cgit v1.2.3