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

Vivek Gautam gautam.vivek at samsung.com
Tue Oct 23 12:54:45 CEST 2012


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.

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 ;-).

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

 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

-- 
1.7.6.5



More information about the U-Boot mailing list