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

Commit 80e30992 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Ashay Jaiswal
Browse files

ARM: dts: msm: Add SMB349 device for APQ8084



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: I3d38616191bf06d8d9468490c1d3aee3c10171e6
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 3a5255f7
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -102,4 +102,21 @@
		qcom,out-strength = <3>;	/* High drive strength */
		qcom,master-en = <1>;
	};

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

&i2c_0 {
	smb349-charger@1B {
		compatible = "qcom,smb349-charger";
		reg = <0x1B>;
		interrupt-parent = <&spmi_bus>;
		interrupts = <0x00 0xCD 0x0>; /* PMIC8084 GPIO 14 */
		qcom,charging-disabled;
	};
};
+1 −0
Original line number Diff line number Diff line
@@ -241,6 +241,7 @@
		qcom,i2c-src-freq = <50000000>;
		qcom,sda-gpio = <&msmgpio 10 0>;
		qcom,scl-gpio = <&msmgpio 11 0>;
		qcom,master-id = <86>;
	};

	qcom,clock-krait@f9016000 {