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

Commit 4d441e04 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: update charger/FG configuration for PMI8950/PMI8937



Update charger/FG configuration properties:
- enable aicl re-run
- update termination current configuration
- update battery-data to include battery specific configuration
- enable capacity learning in FG

Change-Id: Ifc0af0806ba1c72cad31cf9995698b074c0e5588
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 738bf508
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,8 @@ qcom,itech-3000mah {
	qcom,chg-rslow-comp-c2 = <8609000>;
	qcom,chg-rslow-comp-thr = <0xBE>;
	qcom,chg-rs-to-rslow = <761000>;
	qcom,fastchg-current-ma = <2000>;
	qcom,fg-cc-cv-threshold-mv = <4340>;
	qcom,checksum = <0x0B7C>;
	qcom,fg-profile-data = [
		F0 83 6B 7D
+6 −2
Original line number Diff line number Diff line
@@ -166,7 +166,6 @@
			#size-cells = <1>;

			qcom,iterm-ma = <100>;
			qcom,fastchg-current-ma = <2000>;
			qcom,float-voltage-mv = <4200>;
			qcom,resume-delta-mv = <200>;
			qcom,chg-inhibit-fg;
@@ -177,6 +176,9 @@
			qcom,parallel-usb-9v-min-current-ma = <900>;
			qcom,parallel-allowed-lowering-ma = <500>;
			qcom,pmic-revid = <&pmi8937_revid>;
			qcom,force-aicl-rerun;
			qcom,aicl-rerun-period-s = <180>;
			qcom,autoadjust-vfloat;

			qcom,chgr@1000 {
				reg = <0x1000 0x100>;
@@ -282,10 +284,12 @@
			status = "okay";
			qcom,bcl-lm-threshold-ma = <127>;
			qcom,bcl-mh-threshold-ma = <405>;
			qcom,fg-iterm-ma = <100>;
			qcom,fg-iterm-ma = <150>;
			qcom,fg-chg-iterm-ma = <100>;
			qcom,pmic-revid = <&pmi8937_revid>;
			qcom,fg-cutoff-voltage-mv = <3500>;
			qcom,cycle-counter-en;
			qcom,capacity-learning-on;

			qcom,fg-soc@4000 {
			status = "okay";
+6 −3
Original line number Diff line number Diff line
@@ -194,7 +194,6 @@
			#size-cells = <1>;

			qcom,iterm-ma = <100>;
			qcom,fastchg-current-ma = <2000>;
			qcom,float-voltage-mv = <4200>;
			qcom,resume-delta-mv = <200>;
			qcom,chg-inhibit-fg;
@@ -204,8 +203,10 @@
			qcom,parallel-usb-min-current-ma = <1400>;
			qcom,parallel-usb-9v-min-current-ma = <900>;
			qcom,parallel-allowed-lowering-ma = <500>;
			qcom,enable-hvdcp-9v;
			qcom,pmic-revid = <&pmi8950_revid>;
			qcom,force-aicl-rerun;
			qcom,aicl-rerun-period-s = <180>;
			qcom,autoadjust-vfloat;

			qcom,chgr@1000 {
				reg = <0x1000 0x100>;
@@ -311,10 +312,12 @@
			status = "okay";
			qcom,bcl-lm-threshold-ma = <127>;
			qcom,bcl-mh-threshold-ma = <405>;
			qcom,fg-iterm-ma = <100>;
			qcom,fg-iterm-ma = <150>;
			qcom,fg-chg-iterm-ma = <100>;
			qcom,pmic-revid = <&pmi8950_revid>;
			qcom,fg-cutoff-voltage-mv = <3500>;
			qcom,cycle-counter-en;
			qcom,capacity-learning-on;

			qcom,fg-soc@4000 {
			status = "okay";