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

Commit 04722e1d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add charger and FG configration for msm8917 TMO"

parents c695375b 458422f8
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -45,3 +45,31 @@
&dsi_lead_fl10802_fwvga_video {
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
};

/ {
	qrd_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "batterydata-qrd-sku1-4v4-2800mah.dtsi"
	};
};

&pmi8937_charger {
	qcom,battery-data = <&qrd_batterydata>;
	qcom,float-voltage-mv = <4400>;
	qcom,float-voltage-comp = <12>;
	qcom,fastchg-current-ma = <2820>;
	qcom,fastchg-current-comp = <1200>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
	status = "okay";
};

&pmi8937_fg {
	qcom,battery-data = <&qrd_batterydata>;
	qcom,cold-bat-decidegc = <0>;
	qcom,cool-bat-decidegc = <100>;
	qcom,hot-bat-decidegc = <450>;
	qcom,warm-bat-decidegc = <600>;
	qcom,bad-battery-detection-enable;
	qcom,hold-soc-while-full;
};