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

Commit 766b0f3b authored by Tirupathi Reddy's avatar Tirupathi Reddy
Browse files

ARM: dts: msm: Add battery profile data for msm8953/sdm450



Add battery profile data for msm8953/sdm450 mtp boards.

CRs-Fixed: 2153094
Change-Id: Ie0aefc4acc7a1690388d02399eff26f3a4307620
Signed-off-by: default avatarTirupathi Reddy <tirupath@codeaurora.org>
parent 93d8b034
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,11 +33,11 @@
	};
};

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

&pmi8950_charger {
&qpnp_smbcharger {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
+18 −0
Original line number Diff line number Diff line
@@ -20,3 +20,21 @@
	model = "MTP";
	qcom,board-id = <8 0>;
};

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

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

&qpnp_smbcharger {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
};
+3 −7
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -33,16 +33,12 @@
	};
};

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

&pmi8950_charger {
&qpnp_smbcharger {
	qcom,battery-data = <&mtp_batterydata>;
	qcom,chg-led-sw-controls;
	qcom,chg-led-support;
};

&usb3 {
	extcon = <&pmi8950_charger>;
};
+2 −2
Original line number Diff line number Diff line
@@ -24,10 +24,10 @@

&usb3 {
	vbus_dwc3-supply = <&smbcharger_charger_otg>;
	extcon = <&pmi8937_charger>;
	extcon = <&qpnp_smbcharger>;
};

&pmi8937_charger {
&qpnp_smbcharger {
	qcom,external-typec;
	qcom,typec-psy-name = "typec";
};
+2 −2
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@

&usb3 {
	vbus_dwc3-supply = <&smbcharger_charger_otg>;
	extcon = <&pmi8940_charger>;
	extcon = <&qpnp_smbcharger>;
};

&labibb {
@@ -36,7 +36,7 @@
	qcom,qpnp-ibb-discharge-resistor = <32>;
};

&pmi8940_charger {
&qpnp_smbcharger {
	qcom,external-typec;
	qcom,typec-psy-name = "typec";
};
Loading