Skip to content

RFC USB: XHCI: Add xHCI host controller stack driver

Marek Vasut u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2USB: SS: Add support for Super Speed USB interface+0 -01 reply
1/2USB: SS: Add support for Super Speed USB interface+0 -01 reply
1/2USB: SS: Add support for Super Speed USB interface+0 -00 replies
2/2USB: xHCI: Add stack support for xHCI+0 -03 replies
2/2USB: xHCI: Add stack support for xHCI+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [RFC PATCH 0/2] USB: XHCI: Add xHCI host controller stack driver

Dear Vivek Gautam,

Quoted 7 lines

This change adds necessary framework support for USB3.0 (Super-speed) and xHCI host controller stack layer. This stack will eventually interact with SOC specific USB 3.0 controllers.

Based on 'master' branch of u-boot tree.

Quoted 7 lines

Tested successfully with local patches on xHCI support for exynos5 with Kingston USB 2.0 data traveler (512 MB) and Corsair USB 3.0 flash voyager. However, also saw failures with Transcend USB 3.0 (8 GB) and a Jetflash 256 MB.
We are further debugging and testing this thoroughly. In the meantime can this be reviewed please?
This definitely needs further improvements ;-).

Sure, can you get me one such ARM hardware with xHCI? I'm sure you have a pile of them so you can miss one. That's help greatly, thanks!

Quoted 10 lines

Although, code is based on linux's xHCI host controller driver, at certain points putting some delays seemed to make the device working (couldn't get proper explanation on delays in xHCI or USB 3.0 specifications :-(, any help in this regard will be very much appreciated).

Vivek Gautam (2):
USB: SS: Add support for Super Speed USB interface
USB: xHCI: Add stack support for xHCI

Quoted 15 lines
 common/cmd_usb.c         |    6 +-
 common/usb.c             |   41 +-
 common/usb_hub.c         |   26 +-
 common/usb_storage.c     |   35 +-
 drivers/usb/host/xhci.c  | 3330
++++++++++++++++++++++++++++++++++++++++++++++ drivers/usb/host/xhci.h  |
1360 +++++++++++++++++++
 include/common.h         |    2 +
 include/linux/usb/ch9.h  |    2 +-
 include/usb.h            |   15 +-
 include/usb_defs.h       |   26 +-
 include/usbdescriptors.h |  201 +++
 11 files changed, 5012 insertions(+), 32 deletions(-)
 create mode 100644 drivers/usb/host/xhci.c
 create mode 100644 drivers/usb/host/xhci.h

Best regards,
Marek Vasut