Regulator driver for usb_vbus_en0

Hi,

I want to have information about which regulator driver drives usb_vbus_en0 pin?
usb_vbus_en0 pin is associated with usb 2.o otg port.
I see that usb_vbus_en0 pin (regulator@14 usb_vbus1) always shows low, it should be driven high for otg to work as host mode, am i right?
So what could be the reason that pin shows low, following is the log
ubuntu@tegra-ubuntu:~$ sudo cat /sys/kernel/debug/gpio
[sudo] password for ubuntu:
GPIOs 0-255, platform/6000d000.gpio, tegra-gpio:
gpio-0 (cam_pwdn_gpio ) in lo
gpio-2 (pcie_wake ) in hi
gpio-28 (usb-vbus3 ) out lo
gpio-57 (rtl-5v0 ) out hi
gpio-59 (bt_ext_wake ) out hi
gpio-60 (reset_gpio ) out lo
gpio-61 (bt_host_wake ) in lo
gpio-65 (sysfs ) out lo
gpio-67 (vdd-disp-3v0 ) out lo
gpio-148 (sysfs ) out lo
gpio-149 (sysfs ) out lo
gpio-169 (lcd-bl-en ) out lo
gpio-186 (sysfs ) out lo
gpio-187 (sysfs ) out lo
gpio-188 (temp_alert ) in hi
gpio-189 (Power ) in hi
gpio-190 (Volume Up ) in hi
gpio-192 (Volume Down ) in hi
gpio-200 (1.extcon ) in lo
gpio-201 (sdhci_cd ) in hi
gpio-203 (en-vdd-sd ) out lo
gpio-204 (sdhci_wp ) in lo
gpio-228 (usb-vbus1 ) out lo
gpio-229 (en-usb-vbus2 ) out hi

Are there any modifications that could be done so that pin could be driven high??
I am using rel 24.2.1.

Thanks,
Prathamesh

Hi, the pin is default low as the port is default in device mode, only if the OTG plug in, it will be pull high so that to output VBUS.

Hi,

Is there any way, i could drive this pin high irrespective of if otg is plugged in or not

Thanks,
Prathamesh

Please refer to this topic for the method to configure GPIO output: https://devtalk.nvidia.com/default/topic/1020887/?comment=5196819

Hi,

I did try steps from above link, but when i export usb_vbus_en0 is get error saying “device or resource busy”
I think error is because some regulator drier is holding that pin and not allowing it to control.

Thanks,
Prathamesh