mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
ODROID-C3/N2: lock minimum cpu frequency to 667Mhz
This locks both A72's and A53's clusters to 667Mhz minimum Change-Id: I6f5446a8f31dff0ea9c48ac03f82fad8d5d2be1c
This commit is contained in:
committed by
Chris KIM
parent
7b5415a68d
commit
a6ba50aec7
@@ -666,6 +666,9 @@ static int meson_cpufreq_init(struct cpufreq_policy *policy)
|
||||
policy->cpuinfo.transition_latency = transition_latency;
|
||||
policy->suspend_freq = get_table_max(freq_table[cur_cluster]);
|
||||
policy->cur = clk_get_rate(clk[cur_cluster]) / 1000;
|
||||
#ifdef CONFIG_ARCH_MESON64_ODROID_COMMON
|
||||
policy->min = 667000;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* if uboot default cpufreq larger than freq_table's max,
|
||||
|
||||
Reference in New Issue
Block a user