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

Commit 2fb94bd5 authored by Umang Agrawal's avatar Umang Agrawal
Browse files

ARM: dts: msm: Specify battery configuration for trinket



Add battery-data specification to pmi632 charger and qgauge nodes.
While at it, specify secondary charger configuration for trinket
target and also add the dpdm regulator handle.

Change-Id: I169428f788d33ddaefeaecfa334e770d314a882c
Signed-off-by: default avatarUmang Agrawal <uagrawal@codeaurora.org>
parent ef4a2414
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -12,5 +12,21 @@
 */

&soc {
	mtp_batterydata: qcom,battery-data {
		qcom,batt-id-range-pct = <15>;
		#include "qg-batterydata-ascent-3450mah.dtsi"
		#include "qg-batterydata-mlp356477-2800mah.dtsi"
	};
};

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

&pmi632_charger {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,suspend-input-on-debug-batt;
	/* SMB1355 only */
	qcom,sec-charger-config = <2>;
	dpdm-supply = <&qusb_phy0>;
};