Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5290e85 authored by Junjie Wu's avatar Junjie Wu
Browse files

clk: qcom: clock-cpu-8939: Add use_max_uV flag for all vdd_class



All CPU/CCI vdd_class share same regulator, but they have different
fmax levels. Set use_max_uV flag so that their voltage range request
don't conflict with eath other.

Change-Id: I4edbfa634ed9f14ded2bd859569090b448e17c9c
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 7af7e4b2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -161,6 +161,7 @@ static int of_get_fmax_vdd_class(struct platform_device *pdev, struct clk *c,
	devm_kfree(&pdev->dev, array);
	vdd->num_levels = prop_len;
	vdd->cur_level = prop_len;
	vdd->use_max_uV = true;
	c->num_fmax = prop_len;
	return 0;
}