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

Commit a95244b5 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 5754db3f 60eca7d8
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -147,7 +147,12 @@ Profile data node optional properties:
			proper functionality.
			Element 0 - SOH minimum level.
			Element 1 - SOH maximum level.

- qcom,step-jeita-hysteresis: A tuple entry to allow configuring the rising
			and falling hysteresis for better fine tuning of the
			charge current across battery temperature thresholds.
			This should be in decidegree and if not specified
			default select value is 10 DeciDegC.
			<RISE_HYS_DECIDEG_C, FALL_HYS_DECIDEG_C>
Profile data node required subnodes:
- qcom,fcc-temp-lut : An 1-dimensional lookup table node that encodes
			temperature to fcc lookup. The units for this lookup
+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*/