mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
cpufreq: rockchip: Change read margin according to initial voltage
The default read margin is 4, it may not match the initial voltage. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Change-Id: I24c2ee3141f2259c83f2a5219c579115dff4d260
This commit is contained in:
@@ -591,6 +591,7 @@ static int rockchip_cpufreq_cluster_init(int cpu, struct cluster_info *cluster)
|
||||
&opp_info->low_rm);
|
||||
if (!of_property_read_u32(np, "intermediate-threshold-freq", &freq))
|
||||
opp_info->intermediate_threshold_freq = freq * 1000;
|
||||
rockchip_init_read_margin(dev, opp_info, reg_name);
|
||||
}
|
||||
if (opp_info->data && opp_info->data->get_soc_info)
|
||||
opp_info->data->get_soc_info(dev, np, &bin, &process);
|
||||
|
||||
Reference in New Issue
Block a user