forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/cpufreq/rockchip-cpufreq.c
....@@ -605,11 +605,14 @@
605605 }
606606 if (opp_info->data && opp_info->data->get_soc_info)
607607 opp_info->data->get_soc_info(dev, np, &bin, &process);
608
+ rockchip_get_soc_info(dev, np, &bin, &process);
609
+ rockchip_init_pvtpll_table(&cluster->opp_info, bin);
608610 rockchip_get_scale_volt_sel(dev, "cpu_leakage", reg_name, bin, process,
609611 &cluster->scale, &volt_sel);
610612 if (opp_info->data && opp_info->data->set_soc_info)
611613 opp_info->data->set_soc_info(dev, np, bin, process, volt_sel);
612614 pname_table = rockchip_set_opp_prop_name(dev, process, volt_sel);
615
+ rockchip_set_opp_supported_hw(dev, np, bin, volt_sel);
613616
614617 if (of_find_property(dev->of_node, "cpu-supply", NULL) &&
615618 of_find_property(dev->of_node, "mem-supply", NULL)) {