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

Commit 68f33524 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

ARM: dts: msm: Add BCL mitigation configuration for msm8909w-bg v2



Add battery voltage, current and low SoC thresholds for
msm8909w-bg v2. The BCL module will mitigate the CPU's, when battery
reaches the low voltage threshold, high current threshold or low
state of Charge.

Change-Id: I1195fb6d935ba0dd2d73adab6b72d80ef9eec797
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 8d8e126c
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -149,6 +149,24 @@
			qcom,freq-req;
		};
	};

	qcom,bcl {
		compatible = "qcom,bcl";
		qcom,bcl-enable;
		qcom,bcl-framework-interface;
		qcom,bcl-freq-control-list = <&CPU0 &CPU1 &CPU2 &CPU3>;
		qcom,bcl-hotplug-list = <&CPU2 &CPU3>;
		qcom,bcl-soc-hotplug-list = <&CPU2 &CPU3>;
		qcom,ibat-monitor {
			qcom,low-threshold-uamp = <1000000>;
			qcom,high-threshold-uamp = <2000000>;
			qcom,mitigation-freq-khz = <1094400>;
			qcom,vph-high-threshold-uv = <3500000>;
			qcom,vph-low-threshold-uv = <3200000>;
			qcom,soc-low-threshold = <10>;
			qcom,thermal-handle = <&msm_thermal_freq>;
		};
	};
};

&i2c_1 {