mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
soc: rockchip: opp_select: Add support to set soc info
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I101ff42d9e175535cfab9b58781c472b00b700e1
This commit is contained in:
@@ -1709,6 +1709,8 @@ int rockchip_init_opp_table(struct device *dev, struct rockchip_opp_info *info,
|
||||
next:
|
||||
rockchip_get_scale_volt_sel(dev, lkg_name, reg_name, bin, process,
|
||||
&scale, &volt_sel);
|
||||
if (info && info->data && info->data->set_soc_info)
|
||||
info->data->set_soc_info(dev, np, bin, process, volt_sel);
|
||||
rockchip_set_opp_prop_name(dev, process, volt_sel);
|
||||
ret = dev_pm_opp_of_add_table(dev);
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user