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

Commit 60eca7d8 authored by Ashish Chavan's avatar Ashish Chavan
Browse files

ARM: dts: qcom: Optimize jeita-fcc-step thresholds

With the current jeita-fcc-step thresholds observing multiple
frequent JEITA entry-exit event while charging with higher
charge current for longer time, When the JEITA condition
is hit, the charge-current is reduced significantly until
the battery temperature drops below sw-jeita-hys threshold
which causes the overall charge time to increase. Optimize
Optimize this by adding some intermediate steps between
10.00A and 1.89A. While at it also change the hysteresis
for the same.

Change-Id: I8812dfbad10c6cbb0726077106653b9bc27a576d
parent 2b8df926
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -12,12 +12,16 @@ qcom,ATL436186_020H_3780mAh {

	qcom,jeita-fcc-ranges = <0  100  1890000
				101 200  3780000
				201 450  10000000
				201 420  10000000
				421 434  8000000
				435 450  7000000
				451 550  1890000>;

	qcom,jeita-fv-ranges = <0   100  4400000
				101 200  4400000
				201 450  4400000
				201 420  4400000
				421 434  4400000
				435 450  4400000
				451 550  4050000>;

	qcom,step-chg-ranges = <3500000  4000000  10000000
@@ -25,6 +29,8 @@ qcom,ATL436186_020H_3780mAh {
				4200001  4400000  6000000>;
	qcom,ocv-based-step-chg;

	/* Rise-Hys = 1 DeciDegC, Fall-Hys=10 deciDegC */
	qcom,qcom,step-jeita-hysteresis = <1 10>;
	/* COOL = 10 degc, WARM = 45 degC */
	qcom,jeita-soft-thresholds = <0x4ccc 0x20b8>;
	/* COLD = 0 degC, HOT = 55 degC*/