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
This commit is contained in:
Fenglin Wu 2021-03-04 15:47:42 +08:00
commit eaa6e050d0

View file

@ -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 {