cpufreq: rockchip: Add support to init pvtpll table

This patch adds support to parse pvtpll config from devicetree, and
change config through sip smc interface.

Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
Change-Id: I74f2127d862db005433d0a9da2703629f80b0faa
This commit is contained in:
Finley Xiao
2023-11-28 17:20:19 +08:00
committed by Tao Huang
parent 4149cbb903
commit 4df54d5e56
+1
View File
@@ -606,6 +606,7 @@ static int rockchip_cpufreq_cluster_init(int cpu, struct cluster_info *cluster)
if (opp_info->data && opp_info->data->get_soc_info)
opp_info->data->get_soc_info(dev, np, &bin, &process);
rockchip_get_soc_info(dev, np, &bin, &process);
rockchip_init_pvtpll_table(&cluster->opp_info, bin);
rockchip_get_scale_volt_sel(dev, "cpu_leakage", reg_name, bin, process,
&cluster->scale, &volt_sel);
if (opp_info->data && opp_info->data->set_soc_info)