hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/cpufreq/rockchip-cpufreq.c
....@@ -605,11 +605,13 @@
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);
608609 rockchip_get_scale_volt_sel(dev, "cpu_leakage", reg_name, bin, process,
609610 &cluster->scale, &volt_sel);
610611 if (opp_info->data && opp_info->data->set_soc_info)
611612 opp_info->data->set_soc_info(dev, np, bin, process, volt_sel);
612613 pname_table = rockchip_set_opp_prop_name(dev, process, volt_sel);
614
+ rockchip_set_opp_supported_hw(dev, np, bin, volt_sel);
613615
614616 if (of_find_property(dev->of_node, "cpu-supply", NULL) &&
615617 of_find_property(dev->of_node, "mem-supply", NULL)) {