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

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

Merge "ARM: dts: msm: Add VBUS supply for USB2 port for Yupik IOT IDP"

parents 95dc759d 2b24a12d
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
@@ -26,3 +26,37 @@
&pcie1_msi {
	status = "ok";
};

&pm7325_gpios {
	usb2_vbus_boost {
		usb2_vbus_boost_default: usb2_vbus_boost_default {
			pins = "gpio8";
			function = "normal";
			output-low;
			power-source = <0>;	/* 1.8V input supply */
		};
	};
};

&soc {
	usb2_vbus_boost_reg: usb2_vbus_boost_reg {
		compatible = "regulator-fixed";
		regulator-name = "usb2_vbus_boost_vreg";
		startup-delay-us = <4000>;
		enable-active-high;
		gpios = <&pm7325_gpios 8 0>;

		pinctrl-names = "default";
		pinctrl-0 = <&usb2_vbus_boost_default>;
	};
};

&usb1 {
	vbus_dwc3-supply = <&usb2_vbus_boost_reg>;
	qcom,default-mode-none;
	status = "ok";
};

&usb2_phy1 {
	status = "ok";
};