Merge branch 'master' of git://git.denx.de/u-boot-usb
[oweals/u-boot.git] / drivers / usb / host / dwc2.c
index c6727c381cbc4798632c75c13cf650e621b53f4d..b2f4bc685af165c535eb0ecc2e73f583a333a862 100644 (file)
@@ -263,7 +263,9 @@ static void dwc_otg_core_init(struct dwc2_core_regs *regs)
 
        /* Program the ULPI External VBUS bit if needed */
 #ifdef CONFIG_DWC2_PHY_ULPI_EXT_VBUS
-       usbcfg |= DWC2_GUSBCFG_ULPI_EXT_VBUS_DRV;
+       usbcfg |= (DWC2_GUSBCFG_ULPI_EXT_VBUS_DRV |
+                  DWC2_GUSBCFG_ULPI_INT_VBUS_INDICATOR |
+                  DWC2_GUSBCFG_INDICATOR_PASSTHROUGH);
 #else
        usbcfg &= ~DWC2_GUSBCFG_ULPI_EXT_VBUS_DRV;
 #endif