arm/dts: config mmi discrete charger dtsi

config mmi discrete charger and mmi charger
for discrete charging solution bring up

Change-Id: If7eb65f13c8ea710a1c663ec161bae5e12fc11bc
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2078663
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Yuecai Liu <liuyc20@motorola.com>
This commit is contained in:
mahj8 2021-09-28 19:34:13 +08:00 • committed by panyq6
commit 9c0b4c33df

View file

@ -144,3 +144,41 @@
};
};
};
&soc {
mmi_charger: mmi,charger {
status = "ok"
compatible = "mmi,mmi-charger";
mmi,enable-charging-limit;
mmi,upper-limit-capacity = <65>;
mmi,lower-limit-capacity = <60>;
mmi,heartbeat-interval = <100000>;
mmi,dcp-power-max = <10000>;
mmi,hvdcp-power-max = <15000>;
};
mmi_discrete_charger: mmi,discrete-charging {
status = "ok"
compatible = "mmi,mmi-discrete-charger";
battery-names = "battery";
supplied-from = "mmi_battery";
mmi,chrg-iterm-ma = <243>;
mmi,fg-iterm-ma = <500>;
mmi,max-fv-mv = <4450>;
mmi,max-fcc-ma = <4000>;
mmi,demo-fv-mv = <4000>;
mmi,df-serialnum = "SB18D33989";
mmi,mmi-temp-zones = <0 4200 970 0>,
<10 4200 2500 970>,
<15 0 2500 2500>,
<45 0 4000 4000>,
<60 4200 2500 0>;
mmi,thermal-mitigation = <4000000 3500000
3000000 2500000
2000000 1500000
1200000 900000
600000 300000>;
};
};