mirror of
https://github.com/MiSTer-devel/Linux-Kernel_MiSTer.git
synced 2026-04-19 03:04:24 +00:00
Disable USB overcurrent signaling.
This commit is contained in:
@@ -120,5 +120,7 @@
|
||||
};
|
||||
|
||||
&usb1 {
|
||||
disable-over-current;
|
||||
dr_mode = "host";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -1100,10 +1100,8 @@ static int dwc2_hs_phy_init(struct dwc2_hsotg *hsotg, bool select_phy)
|
||||
if (hsotg->params.phy_ulpi_ddr)
|
||||
usbcfg |= GUSBCFG_DDRSEL;
|
||||
|
||||
/* Set external VBUS indicator as needed. */
|
||||
if (hsotg->params.oc_disable)
|
||||
usbcfg |= (GUSBCFG_ULPI_INT_VBUS_IND |
|
||||
GUSBCFG_INDICATORPASSTHROUGH);
|
||||
usbcfg |= (GUSBCFG_ULPI_INT_VBUS_IND |
|
||||
GUSBCFG_INDICATORPASSTHROUGH);
|
||||
break;
|
||||
case DWC2_PHY_TYPE_PARAM_UTMI:
|
||||
/* UTMI+ interface */
|
||||
|
||||
Reference in New Issue
Block a user