summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2017-01-16 22:36:39 +0530
committerManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2017-01-16 22:36:39 +0530
commit31f4d79f79812342e9a670fc326f8d77afcb9503 (patch)
treebd3ab76a20ff44c6a33df6ef0be5a112e22094b2 /arch/arm
parent378febcf62fcaa519597728ac22475e0234e9ec4 (diff)
ARM: dts: msm: Add BCL mitigation configuration for sdm660
Add battery voltage, current and low SoC thresholds for sdm660. 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: Ie6cf0498bd7ad869640efc602d2573b6def7d5b7 Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/qcom/sdm660.dtsi15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom/sdm660.dtsi b/arch/arm/boot/dts/qcom/sdm660.dtsi
index 7152db3e5985..f26bea963d7d 100644
--- a/arch/arm/boot/dts/qcom/sdm660.dtsi
+++ b/arch/arm/boot/dts/qcom/sdm660.dtsi
@@ -740,6 +740,21 @@
};
};
+ qcom,bcl {
+ compatible = "qcom,bcl";
+ qcom,bcl-enable;
+ qcom,bcl-framework-interface;
+ qcom,bcl-hotplug-list = <&CPU6 &CPU7>;
+ qcom,bcl-soc-hotplug-list = <&CPU4 &CPU5 &CPU6 &CPU7>;
+ 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>;
+ };
+ };
+
qcom,lmh {
compatible = "qcom,lmh_v1";
interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;