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

Commit 42ca109c authored by Ashay Jaiswal's avatar Ashay Jaiswal
Browse files

ARM: dts: msm: Add SMB349 device for APQ8084 MTP



SMB349 is a single path switching mode charger. It uses BLSP3
I2C interface and uses PMIC 8084 gpio 14 to interrupt the MSM.
Add its device definition in the tree.

Change-Id: I7ea3a66c9922aad4b7e5f225c7d367b48ed759f8
Signed-off-by: default avatarAshay Jaiswal <ashayj@codeaurora.org>
parent a7119dfa
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -298,6 +298,10 @@
	};

	gpio@cd00 { /* GPIO 14 */
		qcom,mode = <0>;
		qcom,pull = <1>;
		qcom,vin-sel = <2>;
		qcom,src-sel = <0>;
	};

	gpio@ce00 { /* GPIO 15 */
@@ -395,3 +399,12 @@
	mpp@a700 { /* MPP 8 */
	};
};

&i2c_0 {
	smb349-charger@1b {
		compatible = "qcom,smb349-charger";
		reg = <0x1b>;
		interrupt-parent = <&spmi_bus>;
		interrupts = <0x00 0xcd 0x0>; /* PMIC8084 GPIO 14 */
	};
};