How to enable USB VBUS GPIOS?

Hi,

Glad it is working. But I feel some changes you added are not needed.

For example, these two are not needed… the settings are not needed to enable the vbus.

  • Add pinctrl settings to xusb_padctl
  • Add pinctrl states to GPIO pinctrl

You should check and test whether set enabled/disabled in /sys/class/regulators/regulator.xx/state works or not.

If not, then the issue might be pinmux/gpio settings in BCT.

I feel the key change here is you disable the PCIe regulator. But not how you added those under the pinmux.