dts:moto charger/battery enable

Enable moto charger/battery feature
at guam

Change-Id: I6cc266f77ce8534ca2a880473e4e76096d70c46d
Signed-off-by: xuwei9 <xuwei9@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1509689
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
xuwei9 authored and Carlos Pinho committed 2023-05-31 17:00:59 -03:00
1 parent 9f6f5d1f6b
commit 1562e05048
5 files changed
+1088 -2

No files matched your search

+55
View File
@@ -128,5 +128,60 @@
qcom,dsi-default-panel = <&dsi_hlt_hx83102d_video>;
};
&soc{
mtp_batterydata: qcom,battery-data {
qcom,batt-id-range-pct = <15>;
df-serialnum = "SB18C71813";
#include "qg-batterydata-lg50-amperex-5000mah.dtsi"
};
};
&pmi632_qg {
qcom,qg-iterm-ma = <250>;
qcom,vbatt-cutoff-mv = <3350>;
qcom,vbatt-empty-mv = <3000>;
qcom,vbatt-low-mv = <3400>;
qcom,vbatt-low-cold-mv = <3500>;
qcom,battery-data = <&mtp_batterydata>;
qcom,rbat-conn-mohm = <10>;
qcom,cl-feedback-on;
qcom,cl-min-start-soc = <0>;
qcom,cl-max-start-soc = <5>;
qcom,cl-min-temp = <150>;
qcom,cl-max-temp = <450>;
qcom,cl-max-increment = <5>;
qcom,cl-max-decrement = <10>;
qcom,cl-min-limit = <200>;
qcom,cl-max-limit = <30>;
qcom,s3-entry-ibat-ua = <15000>;
qcom,s3-exit-ibat-ua = <35000>;
};
&pmi632_charger {
qcom,iterm-ma = <146>;
qcom,fcc-max-ua = <2000000>;
qcom,fv-max-uv = <4400000>;
qcom,usb-icl-ua = <2000000>;
qcom,thermal-mitigation = <2000>,
<1800>,
<1600>,
<1300>,
<1100>,
<900>,
<600>,
<300>;
qcom,battery-data = <&mtp_batterydata>;
qcom,mmi-temp-zones = <0 4200 1000 0>,
<10 4200 1000 1000>,
<15 0 1000 1000>,
<45 4200 2000 2000>,
<60 4200 2000 0>;
qcom,enable-charging-limit;
qcom,upper-limit-capacity = <75>;
qcom,lower-limit-capacity = <60>;
qcom,hvdcp-disable;
qcom,otg-cl-ua = <1000000>;
};
+7
View File
@@ -27,3 +27,10 @@
utags: utags { };
hw: hw { };
};
&pmi632_charger {
/delete-property/ qcom,sw-jeita-enable;
/delete-property/ qcom,step-charging-enable;
/delete-property/ qcom,hw-die-temp-mitigation;
/delete-property/ qcom,hw-connector-mitigation;
};
+5
View File
@@ -13,3 +13,8 @@
mmi,main-utags = "/dev/block/bootdevice/by-name/hw";
};
&pmi632_charger {
qcom,dr-supported;
qcom,auto-recharge-soc = <99>;
qcom,flash-disable-soc = <1>;
};
+4 -2
View File
@@ -343,9 +343,11 @@
qcom,pmic-revid = <&pmi632_revid>;
io-channels = <&pmi632_vadc ADC_BAT_THERM_PU2>,
<&pmi632_vadc ADC_BAT_ID_PU2>;
<&pmi632_vadc ADC_BAT_ID_PU2>,
<&pmi632_vadc ADC_BAT_THERM_PU1>;
io-channel-names = "batt-therm",
"batt-id";
"batt-id",
"batt-therm-ntc-10k";
qcom,qgauge@4800 {
status = "okay";
File diff suppressed because it is too large. Load diff