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

Commit 69309296 authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

ARM: dts: msm: Add BCL mitigation configuration for sdm630



Add battery voltage, current and low SoC thresholds for sdm630.
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: I045b4e451955dfd155811a39e5b8a7c4c1b4a617
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent 314869eb
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -644,6 +644,21 @@
		interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
	};

	qcom,bcl {
		compatible = "qcom,bcl";
		qcom,bcl-enable;
		qcom,bcl-framework-interface;
		qcom,bcl-hotplug-list = <&CPU2 &CPU3>;
		qcom,bcl-soc-hotplug-list = <&CPU0 &CPU1 &CPU2 &CPU3>;
		qcom,ibat-monitor {
			qcom,low-threshold-uamp = <3400000>;
			qcom,high-threshold-uamp = <4200000>;
			qcom,vph-high-threshold-uv = <3500000>;
			qcom,vph-low-threshold-uv = <3300000>;
			qcom,soc-low-threshold = <10>;
		};
	};

	wdog: qcom,wdt@17817000 {
		status = "disabled";
		compatible = "qcom,msm-watchdog";