rk30:sdk: add GPU frequency limit between 133MHz to 400MHz

This commit is contained in:
chenxing
2012-07-04 17:23:30 +08:00
parent 4e5be952a4
commit a44982e459

View File

@@ -256,6 +256,9 @@ static int rk30_cpu_init(struct cpufreq_policy *policy)
}
clk_enable_dvfs(cpu_clk);
/* Limit gpu frequency between 133M to 400M */
dvfs_clk_enable_limit(gpu_clk, 133000000, 400000000);
freq_wq = create_singlethread_workqueue("rk30_cpufreqd");
#ifdef CONFIG_RK30_CPU_FREQ_LIMIT_BY_TEMP
if (rk30_cpufreq_is_ondemand_policy(policy)) {