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

Commit 8f1ac4d6 authored by edwardkao(153792)'s avatar edwardkao(153792) Committed by Gerrit Code Review
Browse files

Merge "Add Kayo battery and QCT step charging. Battery profile is temporary,...

Merge "Add Kayo battery and QCT step charging. Battery profile is temporary, wait for QCT's official release." into 8901-fairphone-p-mp-release
parents 69f5a76f a9f35e2a
Loading
Loading
Loading
Loading
+1066 −0

File added.

Preview size limit exceeded, changes collapsed.

+3 −0
Original line number Diff line number Diff line
@@ -36,14 +36,17 @@
/{
	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
//<2019/09/17-JessicaTseng, Add Kayo battery profile
//<--[Lightphone][Charging][JasonHsing] Battery profile for Fuel Gauge 20190123 BEGIN
#if 1
		#include "qg-batterydata-Fuji-3000mah-Jan22th2019-pmi632.dtsi"
		#include "qg-batterydata-Kayo-3000mah-Jan22th2019-pmi632.dtsi"
#else
		#include "qg-batterydata-ascent-3450mah.dtsi"
		#include "qg-batterydata-mlp356477-2800mah.dtsi"
#endif
//-->[Lightphone][Charging][JasonHsing] Battery profile for Fuel Gauge 20190123 END
//>2019/09/17-JessicaTseng
	};
};

+1 −1
Original line number Diff line number Diff line
@@ -788,7 +788,7 @@ int qcom_step_chg_init(struct device *dev,

	chip->step_chg_config->psy_prop = POWER_SUPPLY_PROP_VOLTAGE_NOW;
	chip->step_chg_config->prop_name = "VBATT";
	chip->step_chg_config->hysteresis = 100000;
	chip->step_chg_config->hysteresis = 0;//100000; //<2019/09/17-JessicaTseng, Add Kayo battery profile

	chip->jeita_fcc_config = devm_kzalloc(dev,
			sizeof(struct jeita_fcc_cfg), GFP_KERNEL);