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

Commit 875eb650 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add SMB1351 device for QCS405"

parents c038a2a1 e4a91685
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -10,3 +10,7 @@
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

&smb1351_otg_supply {
	qcom,charging-disabled;
};
+15 −0
Original line number Diff line number Diff line
@@ -782,5 +782,20 @@
				bias-disable;
			};
		};

		/* SMB CONFIGURATION */
		smb_stat: smb_stat {
			mux {
				pins = "gpio107";
				function = "gpio";
			};

			config {
				pins = "gpio107";
				drive-strength = <2>;
				bias-pull-up;
				input-enable;
			};
		};
	};
};
+4 −0
Original line number Diff line number Diff line
@@ -122,3 +122,7 @@

	status = "disabled";
};

&smb1351_otg_supply {
	status = "disabled";
};
+18 −0
Original line number Diff line number Diff line
@@ -834,3 +834,21 @@
};

#include "qcs405-coresight.dtsi"

&i2c_5 {
	status = "ok";
	smb1351_otg_supply: smb1351-charger@1d {
		compatible = "qcom,smb1351-charger";
		reg = <0x1d>;
		interrupt-parent = <&tlmm>;
		interrupts = <107 IRQ_TYPE_LEVEL_LOW>;
		qcom,float-voltage-mv = <4350>;
		qcom,charging-timeout = <1536>;
		qcom,recharge-thresh-mv = <200>;
		qcom,iterm-ma = <100>;
		regulator-name = "smb1351_otg_supply";
		pinctrl-names = "default";
		pinctrl-0 = <&smb_stat>;
		qcom,switch-freq = <2>;
	};
};