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

Commit eaa6e050 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

ARM: dts: msm: add fixed-regulator to supply USB2 VBUS on Lahaina HHG

Lahaina HHG device has a built-in joystick connected on USB2 port, the
VBUS is supplied by a fixed-regulator controlled by PM8350 GPIO8 and its
output voltage needs to be enabled always. Add the regulator device node
and config it as always-on.

Change-Id: I4877be73294939e4823965795a00053ebd84e572
parent b7927f8c
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -91,6 +91,19 @@
			status = "ok";
		};
	};

	joystick_usb_vbus: joystick_usb_vbus_regulator {
		compatible = "regulator-fixed";
		regulator-name = "joystick_usb_vbus";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		regulator-enable-ramp-delay = <600>;
		gpio = <&pm8350_gpios 8 GPIO_ACTIVE_HIGH>;
		enable-active-high;
		regulator-always-on;
		pinctrl-names = "default";
		pinctrl-0 = <&usb2_vbus_boost_default>;
	};
};

&usb1 {