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

Commit c0be3ff6 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

ARM: dts: msm: Enable SMB1358 parallel-charger for APQ TITANIUM



Add the SMB1358 parallel charger configuration for APQ TITANIUM
MTP.

CRs-Fixed: 978046
Change-Id: I7aa8cf75eed6ceb0f55b7596b18eaaabbc0061b9
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 35819a19
Loading
Loading
Loading
Loading
+18 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, The Linux Foundation. All rights reserved.
 * Copyright (c) 2015-2016, 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
@@ -21,3 +21,20 @@
	compatible = "qcom,apqtitanium-mtp", "qcom,apqtitanium", "qcom,mtp";
	qcom,board-id= <8 0>;
};

&i2c_2 {
	/* Parallel-charger configuration */
	smb135x-charger@1c {
		compatible = "qcom,smb1358-charger";
		reg = <0x1c>;
		qcom,parallel-en-pin-polarity = <1>;
		qcom,parallel-charger;
		qcom,float-voltage-mv = <4400>;
		qcom,recharge-mv = <100>;
	};
};

&pmi8950_fg {
	/* use external rsense for parallel charging */
	qcom,ext-sense-type;
};