From 4df54d5e562d48689fb642daa81b7457210ba446 Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Tue, 28 Nov 2023 17:20:19 +0800 Subject: [PATCH] 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 Change-Id: I74f2127d862db005433d0a9da2703629f80b0faa --- drivers/cpufreq/rockchip-cpufreq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/rockchip-cpufreq.c b/drivers/cpufreq/rockchip-cpufreq.c index 804fcfd1ed1c..27c6d92edfb7 100644 --- a/drivers/cpufreq/rockchip-cpufreq.c +++ b/drivers/cpufreq/rockchip-cpufreq.c @@ -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)