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

Commit 983d4352 authored by Taniya Das's avatar Taniya Das
Browse files

clk: msm: clock-cpu-8953: Add DT property to enable boost



The boolean property "qcom,enable-boost" is required to enable boost
feature, add support for the same.

CRs-Fixed: 984772
Change-Id: I0c5a53ba58202ebe413cebd3a9d6511accdd78c4
Signed-off-by: default avatarTaniya Das <tdas@codeaurora.org>
parent 73135edf
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -46,6 +46,11 @@ 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-boost:    Boolean property if defined denotes presence of boost
			available for clusters.
			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.
+3 −1
Original line number Diff line number Diff line
@@ -1597,7 +1597,9 @@ static int clock_cpu_probe(struct platform_device *pdev)

	vmin_en = of_property_read_bool(pdev->dev.of_node,
						"qcom,enable-vmin");
	if (pboost_freq > 0)

	if ((of_property_read_bool(pdev->dev.of_node, "qcom,enable-boost"))
		       && (pboost_freq > 0))
		pboost_en = true;

	rc = cpu_parse_devicetree(pdev);