mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
b7927f8c3d
commit
eaa6e050d0
1 changed files with 13 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue