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

Commit e7a8af32 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

ARM: dts: msm: smb1390: Enable dual SMB1390s on MTP and QRD

Enable master and slave SMB1390s on Kona MTP and QRD platforms and set
the secondary charger configuration to indicate presence of charge pump.
Also set the output topology for the SMB1390s on Kona platforms to
VBATT.

Change-Id: I1037ce6541b80e3d06eaf6ed47cec38e032ed530
parent cce1e0ad
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -269,7 +269,7 @@

&pm8150b_charger {
	status = "ok";
	qcom,sec-charger-config = <0>;
	qcom,sec-charger-config = <1>;
	qcom,auto-recharge-soc = <98>;
	io-channels = <&pm8150b_vadc ADC_MID_CHG_DIV6>,
		      <&pm8150b_vadc ADC_USB_IN_I>,
@@ -326,6 +326,16 @@
&smb1390_charger {
	io-channels = <&pm8150b_vadc ADC_AMUX_THM2>;
	io-channel-names = "cp_die_temp";
	qcom,parallel-output-mode = <2>;
	status = "ok";
};

&smb1390_slave {
	status = "ok";
};

&smb1390_slave_charger {
	status = "ok";
};

&pm8150_vadc {
+11 −1
Original line number Diff line number Diff line
@@ -350,11 +350,21 @@
&smb1390_charger {
	io-channels = <&pm8150b_vadc ADC_AMUX_THM2>;
	io-channel-names = "cp_die_temp";
	qcom,parallel-output-mode = <2>;
	status = "ok";
};

&smb1390_slave {
	status = "ok";
};

&smb1390_slave_charger {
	status = "ok";
};

&pm8150b_charger {
	status = "ok";
	qcom,sec-charger-config = <0>;
	qcom,sec-charger-config = <1>;
	qcom,auto-recharge-soc = <98>;
	io-channels = <&pm8150b_vadc ADC_MID_CHG_DIV6>,
		      <&pm8150b_vadc ADC_USB_IN_I>,