From 251d4385a5c70a2109b54dd1434e4f2844856856 Mon Sep 17 00:00:00 2001 From: jessicatseng Date: Thu, 7 Nov 2019 15:08:18 +0800 Subject: [PATCH] Modify HW JEITA parameters Fuji battery soft : 15/45 degree, hard : 0/55 degree Kayo battery soft : 20/45 degree, hard : 0/55 degree Change-Id: Ia555e3d050f94c6edf47359cc61389889a37e77b --- .../qcom/qg-batterydata-Fuji-3000mah-Jan22th2019-pmi632.dtsi | 4 ++-- .../qcom/qg-batterydata-Kayo-3000mah-Nov4th2019-pmi632.dtsi | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qg-batterydata-Fuji-3000mah-Jan22th2019-pmi632.dtsi b/arch/arm64/boot/dts/qcom/qg-batterydata-Fuji-3000mah-Jan22th2019-pmi632.dtsi index efedf8ba3752..d1d9d0367900 100755 --- a/arch/arm64/boot/dts/qcom/qg-batterydata-Fuji-3000mah-Jan22th2019-pmi632.dtsi +++ b/arch/arm64/boot/dts/qcom/qg-batterydata-Fuji-3000mah-Jan22th2019-pmi632.dtsi @@ -52,8 +52,8 @@ qcom,batterydata_fuji_3000mah { //<--[FairPhone][Charging][JasonHsing] Setting jeita cold/cool/warm/hot threshold for charging 20190115 BEGIN -- /* COOL = 15 DegC, WARM = 45 DegC */ qcom,jeita-soft-thresholds = <0x44FF 0x2204>; - /* COLD = 0 DegC, HOT = 60 DegC */ - qcom,jeita-hard-thresholds = <0x5675 0x1618>; + /* COLD = 0 DegC, HOT = 55 DegC */ + qcom,jeita-hard-thresholds = <0x5675 0x1987>; //-->[FairPhone][Charging][JasonHsing] Setting jeita cold/cool/warm/hot threshold for charging 20190115 END -- qcom,fcc1-temp-lut { diff --git a/arch/arm64/boot/dts/qcom/qg-batterydata-Kayo-3000mah-Nov4th2019-pmi632.dtsi b/arch/arm64/boot/dts/qcom/qg-batterydata-Kayo-3000mah-Nov4th2019-pmi632.dtsi index af8411f5d293..f157edb90fe0 100755 --- a/arch/arm64/boot/dts/qcom/qg-batterydata-Kayo-3000mah-Nov4th2019-pmi632.dtsi +++ b/arch/arm64/boot/dts/qcom/qg-batterydata-Kayo-3000mah-Nov4th2019-pmi632.dtsi @@ -24,6 +24,11 @@ qcom,4184448_Arima_8902EU_3000mAh { 451 550 4100000 551 600 3300000>; + /* COOL = 20 DegC, WARM = 45 DegC */ + qcom,jeita-soft-thresholds = <0x3EBC 0x2204>; + /* COLD = 0 DegC, HOT = 55 DegC */ + qcom,jeita-hard-thresholds = <0x5675 0x1987>; + qcom,step-chg-ranges = <3500000 4200000 2700000 4200001 4400000 1500000>; -- GitLab