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

Commit 190847bd authored by Jack Pham's avatar Jack Pham
Browse files

ARM: dts: msm: Add USB OTG VBUS regulator for APQ8084 MTP



Add a regulator to control the 5V boost OTG functionality of
the SMB349 charger, and a corresponding phandle reference to
the USB device to enable it in host mode.

Change-Id: Idc6f8aa856cef82f62c8280d7b787157bf64ab3f
CRs-Fixed: 561751
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent 89bee142
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -476,11 +476,12 @@
};

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

@@ -507,3 +508,6 @@
	};
};

&usb3 {
	vbus_dwc3-supply = <&smb349_otg_supply>;
};