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

Commit caae3eb1 authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: add battery-data info for charger and FG on MSM8937 MTP



Battery-data information is required by FG to load battery profile. Include
battery-data info in the charger and FG device tree node.

Change-Id: I7fe04503a33773075da457d9f6baaccd7f1207f2
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent 8cd988e4
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -13,3 +13,18 @@

#include "msm-pmi8937.dtsi"
#include "msm8937-mtp.dtsi"

/{
	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "batterydata-itech-3000mah.dtsi"
	};
};

&pmi8937_fg {
	qcom,battery-data = <&mtp_batterydata>;
};

&pmi8937_charger {
	qcom,battery-data = <&mtp_batterydata>;
};
+15 −0
Original line number Diff line number Diff line
@@ -13,3 +13,18 @@

#include "msm-pmi8950.dtsi"
#include "msm8937-mtp.dtsi"

/{
	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "batterydata-itech-3000mah.dtsi"
	};
};

&pmi8950_fg {
	qcom,battery-data = <&mtp_batterydata>;
};

&pmi8950_charger {
	qcom,battery-data = <&mtp_batterydata>;
};