[PATCH v2 0/1] Fix peripheral USB mode detection
Mattijs Korpershoek
mkorpershoek at baylibre.com
Tue Nov 26 09:57:20 CET 2024
Hi,
On Tue, 26 Nov 2024 09:29:55 +0200, Svyatoslav Ryhel wrote:
> In the older USB controllers like for example in ChipIdea controller
> used by the Tegra 2 the "USBADRA: Device Address Advance" bitflag
> does not exist, so the new device address set during SET_ADDRESS
> can't be deferred by hardware, which causes the host to not recognize
> the device and give an error.
>
> Instead store it until ep completes to apply the change into the hw
> register as Linux kernel does. This should fix regression on old and
> and be compatible with newer controllers.
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu)
[1/1] usb: ci_udc: don't use "advance" feature when setting address
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/35d967f5a8219adc47628247a98c302b1870313e
--
Mattijs
More information about the U-Boot
mailing list