Skip to content

USB multi controller

Stephen Warren u-boot 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest0 of 4 patches 0 repliesNew
  2. v10 of 4 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

None of the 4 patches the cover letter announces are in this archive.

Reviews trailers per patch

PatchStephen Warren
SeriesT-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [U-Boot] [PATCH v3 0/4] USB multi controller
Quoted 22 lines · Lucas Stach

V3: Stephen ran into some problems applying this, as it seems my tree wasn't as clean as it should have been. Sorry for the inconvenience. This should now be fixed.

Hi all,

this is a follow up on the patch "USB: EHCI: Initialize multiple USB controllers at once" from Jim Lin. It takes some of the code but has undergone some heavy reworking.

When we remove the ifdef horror from the above mentioned patch it's mostly a big interface change to the usb subsystem. As this creates a lot of churn I've split this up into a series. Every patch is self contained so it doesn't break compiles and *should* not regress any functionality on it's own. At least the series is bisectable in case anything goes wrong. I've compile tested all the ARM configs.

Both the lowlevel usb and ehci interface change are backward compatible, so implementations that only use one controller can choose to ignore the new interface. All implementations are updated to work with the new function prototypes.

Quoted 5 lines

For Tegra I've included a patch to actually use the new ehci interface. Tom, Stephen, can I get an ACK from you for this, so Marek can take this through his USB tree?

All patches now rebased onto u-boot-usb/master.

The series,

For reference, I tested on both Harmony (USB1+USB2 ULPI) and Seaboard (really Springbank) (USB1+USB3). I applied these patches on top of u-boot-usb/master, then merged in u-boot-tegra/next plus a few local patches, and resolved the one minor conflict.

For the record so I can find it next time, the way to enable USB keyboard for stdin on Springbank is: setenv stdin serial,usbkbd.

Thanks for rebasing!