diff --git a/drivers/cpufreq/cpufreq-dt.c b/drivers/cpufreq/cpufreq-dt.c index ee269642eb28..f84532462164 100644 --- a/drivers/cpufreq/cpufreq-dt.c +++ b/drivers/cpufreq/cpufreq-dt.c @@ -27,6 +27,9 @@ #include #include "cpufreq-dt.h" +#ifdef CONFIG_ARCH_ROCKCHIP +#include "rockchip-cpufreq.h" +#endif struct private_data { struct opp_table *opp_table; @@ -306,6 +309,9 @@ static int cpufreq_init(struct cpufreq_policy *policy) em_register_perf_domain(policy->cpus, nr_opp, &em_cb); +#ifdef CONFIG_ARCH_ROCKCHIP + rockchip_cpufreq_check_rate_volt(cpu_dev); +#endif return 0; out_free_cpufreq_table: