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

Commit 710f14a2 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: update step-jeita and step-charging thresholds



Current thresholds of step-jeita and step-charging keeps a buffer
between Max. threshold of current step and Min. threshold of next step,
this leads to failure if step parameter falls between Max. and Min.
thresholds of two steps. Fix this by updating Min. threshold of all the
steps same as Max. threshold of previous step.

Change-Id: Iec652cac2718e2255281322e1d00850305ab6415
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 35fd0366
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -16,14 +16,14 @@ qcom,alium_860_89032_0000_3600mah_averaged_masterslave_sep24th2018 {
	qcom,max-voltage-uv = <4350000>;
	qcom,fastchg-current-ma = <5400>;
	qcom,jeita-fcc-ranges = <0  100  2500000
				110 400  3600000
				410 450  2500000>;
				101 400  3600000
				401 450  2500000>;
	qcom,jeita-fv-ranges = <0   100  4250000
				110 400  4350000
				410 450  4250000>;
				101 400  4350000
				401 450  4250000>;
	qcom,step-chg-ranges = <3600000  3800000  5400000
				3801000  4300000  3600000
				4301000  4350000  2500000>;
				3800001  4300000  3600000
				4300001  4350000  2500000>;
	/* COLD = 0 DegC, HOT = 45 DegC */
	qcom,jeita-hard-thresholds = <0x58cd 0x20b8>;
	/* COOL = 10 DegC, WARM = 40 DegC */
+3 −3
Original line number Diff line number Diff line
/*
 * Copyright (c) 2018, The Linux Foundation. All rights reserved.
 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -29,8 +29,8 @@ qcom,alium_860_89032_0000_3600mAh {
				51  400  4350000
				401 450  4250000>;
	qcom,step-chg-ranges = <3600000  3800000  5400000
				3801000  4300000  3600000
				4301000  4350000  2500000>;
				3800001  4300000  3600000
				4300001  4350000  2500000>;
	qcom,ocv-based-step-chg;

	/* COOL = 5 DegC, WARM = 40 DegC */
+2 −2
Original line number Diff line number Diff line
@@ -22,8 +22,8 @@ qcom,ascent_3450mah {
				51  400  4350000
				401 450  4250000>;
	qcom,step-chg-ranges = <3600000  3800000  3450000
				3801000  4300000  2760000
				4301000  4350000  2070000>;
				3800001  4300000  2760000
				4300001  4350000  2070000>;
	qcom,ocv-based-step-chg;

	/* COOL = 5 DegC, WARM = 40 DegC */
+2 −2
Original line number Diff line number Diff line
@@ -34,8 +34,8 @@ qcom,ATL466271_3300mAh {
				451 550  4050000>;

	qcom,step-chg-ranges = <3500000  4000000  8000000
				4001000  4200000  6000000
				4201000  4400000  4000000>;
				4000001  4200000  6000000
				4200001  4400000  4000000>;
	qcom,ocv-based-step-chg;

	/* COOL = 10 degc, WARM = 45 degC */