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

Commit 571a8992 authored by Jie Cheng's avatar Jie Cheng
Browse files

ARM: dts: msm: add the default value for VMBMS S2 FIFO count



The register value of VMBMS S2 FIFO count is changed according
to the SOC level, it is 5 by default, and will be changed to 2
when the SOC is lower than low_soc_threshold. This value is not
reset across a warm reset.

If the device resets when SOC lower than low_soc_threshold, the
VMBMS S2 FIFO count will always be 2 even when the SOC is higer
than low_soc_threshold, it should be 5 in this case.

Set a default value 5 for VMBMS S2 FIFO count when device boots up.

Change-Id: I49a3e50dd2a5f13d2bcb116497a62dc71bcc4dcb
Signed-off-by: default avatarJie Cheng <rockiec@codeaurora.org>
parent 83dd8ec0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -277,6 +277,7 @@
			qcom,volatge-soc-timeout-ms = <60000>;
			qcom,low-voltage-threshold = <3450000>;
			qcom,s3-ocv-tolerence-uv = <1200>;
			qcom,s2-fifo-length = <5>;
			qcom,low-soc-fifo-length = <2>;
			qcom,bms-vadc = <&pm8916_vadc>;
			qcom,bms-adc_tm = <&pm8916_adc_tm>;