Hi,

On Thu, 08 Oct 2026 17:37:06 +0200, Fabrice Gasnier wrote:
> Since upstream has introduced dwc2_core_reset(), commit c5d685b8993c
> ("usb: dwc2: Unify flush and reset logic with v4.20a support"), upon
> init, the debounce timers used in hw to filter signals (Vbus, ID pins)
> race with the driver init. This result in the wrong mode (host) being
> sampled in dwc2_core_reset(). Then it polls waiting for host mode,
> that is never reached, because the IP turns into device mode, during
> gadget driver init. When it happens, below log is seen:
> 
> [...]

Thanks, Applied to https://git.u-boot-project.org/u-boot/custodians/u-boot-dfu 
(u-boot-dfu)

[1/2] usb: gadget: dwc2_udc_otg: bypass debounce filter
      
https://git.u-boot-project.org/u-boot/custodians/u-boot-dfu/-/commit/d08afddbae55e100b8b0e22dda6f77fe303dbcc8
[2/2] usb: gadget: dwc2_udc_otg: wait for mode when digital filter is active
      
https://git.u-boot-project.org/u-boot/custodians/u-boot-dfu/-/commit/4034c422a85f62c7aff58a5c8f43bcd59bdb2c6c

--
Mattijs

Reply via email to