diff --git a/qcom/corfup-charger.dtsi b/qcom/corfup-charger.dtsi new file mode 100644 index 000000000000..9843c4367c42 --- /dev/null +++ b/qcom/corfup-charger.dtsi @@ -0,0 +1,32 @@ + +&mot_batterydata { + df-serialnum = "SB18C77591"; + qcom,batt-id-range-pct = <15>; + #include "qg-batterydata-jk50-swd-5000mah.dtsi" + #include "qg-batterydata-jk50-sunwoda-5000mah.dtsi" + #include "qg-batterydata-jk50-atl-5000mah.dtsi" +}; + +&pm7250b_charger { + qcom,fcc-max-ua = <3000000>; + qcom,fv-max-uv = <4450000>; + qcom,dcp-curr-max = <2000000>; + qcom,thermal-mitigation = <3000000 2500000 + 2000000 1500000 + 1200000 900000 + 600000>; +}; + +&pm7250b_mmi { + qcom,mmi-temp-zones = <0 4200 1000 0>, + <15 0 2500 2500>, + <45 0 3000 3000>, + <60 4200 3000 0>; + qcom,iterm-ma = <243>; +}; + + +&pm7250b_qg { + qcom,qg-iterm-ma = <500>; +}; + diff --git a/qcom/holi-corfup-common-overlay.dtsi b/qcom/holi-corfup-common-overlay.dtsi index 298296e91070..7cc8f784f956 100644 --- a/qcom/holi-corfup-common-overlay.dtsi +++ b/qcom/holi-corfup-common-overlay.dtsi @@ -17,6 +17,7 @@ #include "camera/holi-camera-sensor-mot-corfup-overlay.dtsi" #include "holi-audio-wcd9370-aw882xx-overlay.dtsi" #include "moto_therm_sys_temp.dtsi" +#include "corfup-charger.dtsi" &tlmm { google_key_default: google_key_default { @@ -283,37 +284,6 @@ }; }; -&mot_batterydata { - df-serialnum = "SB18C77591"; - qcom,batt-id-range-pct = <15>; - #include "qg-batterydata-jk50-swd-5000mah.dtsi" - #include "qg-batterydata-jk50-sunwoda-5000mah.dtsi" - #include "qg-batterydata-jk50-atl-5000mah.dtsi" -}; - -&pm7250b_charger { - qcom,fcc-max-ua = <3000000>; - qcom,fv-max-uv = <4400000>; - qcom,dcp-curr-max = <2000000>; - qcom,thermal-mitigation = <3000000 2500000 - 2000000 1500000 - 1200000 900000 - 600000 300000>; -}; - -&pm7250b_mmi { - qcom,mmi-temp-zones = <0 4200 1000 0>, - <15 0 1000 1000>, - <45 0 3000 3000>, - <60 4200 2500 0>; - qcom,iterm-ma = <150>; -}; - - -&pm7250b_qg { - qcom,qg-iterm-ma = <500>; -}; - &thermal_zones { pa-therm0-usr { status = "disabled";