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

Commit 973bd9f2 authored by Vikram Mulukutla's avatar Vikram Mulukutla
Browse files

qcom: clock-cpu-8994: Disable VDD handoff for the VDD_APC1 rail



The APC1 rail is turned on by Linux and is guaranteed to
respect the frequency requirements of the CPU. The frequency
is also set by Linux. Therefore, it is not necessary to
put in a maximum voltage vote during bootup (until late_init).

Change-Id: I8481e30666c3217e3f4c7c9968cfbc8b6fe5ce4e
Signed-off-by: default avatarVikram Mulukutla <markivx@codeaurora.org>
parent c5be8b74
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -951,6 +951,9 @@ static int cpu_clock_8994_resources_init(struct platform_device *pdev)
		return PTR_ERR(vdd_a57.regulator[0]);
	}

	/* Leakage constraints disallow a turbo vote during bootup */
	vdd_a57.skip_handoff = true;

	vdd_cci.regulator[0] = devm_regulator_get(&pdev->dev, "vdd-cci");
	if (IS_ERR(vdd_cci.regulator[0])) {
		if (PTR_ERR(vdd_cci.regulator[0]) != -EPROBE_DEFER)