OSDN Git Service

ARM: dts: msm: Add BCL mitigation configuration for sdm660
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Mon, 16 Jan 2017 17:06:39 +0000 (22:36 +0530)
committerManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
Mon, 16 Jan 2017 17:06:39 +0000 (22:36 +0530)
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>
arch/arm/boot/dts/qcom/sdm660.dtsi

index 7152db3..f26bea9 100644 (file)
                };
        };
 
+       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>;