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

Commit 9ce8d442 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "clk: msm: clock-cpu: Add a new boolean property for PM Qos"

parents ebc32578 ccd2fdb1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,9 @@ Optional Properties:
			If defined, the "safe_l" value column is required to be
			defined along with speedX-bin-vY-cl as indicated in
			below example.
- qcom,enable-qos:      Boolean property to indicate the pm qos is required
			during set rate of the cluster clocks, which would not
			allow the cluster cores to go to low power mode.

Example:
	clock_cpu: qcom,cpu-clock-titanium@b116000 {
+4 −2
Original line number Diff line number Diff line
@@ -1737,8 +1737,10 @@ static int clock_cpu_probe(struct platform_device *pdev)
			cpumask_set_cpu(cpu, &a53_perf_clk.cpumask);
	}

	if (of_property_read_bool(pdev->dev.of_node, "qcom,enable-qos")) {
		a53_pwr_clk.hw_low_power_ctrl = true;
		a53_perf_clk.hw_low_power_ctrl = true;
	}

	debugfs_init(pdev);