USB Host patches

Sascha Hauer s.hauer at pengutronix.de
Sat Jul 19 02:15:55 PDT 2014


The following series contains USB Host patches based on the USB
patches sent earlier.

With this series the 'usb' command becomes a rescan command. When
invoked the USB stack will properly detect new devices and remove
old devices.

Also the USB hub support becomes a real driver and the USB device
hierarchy in in devinfo now matches the real USB topology.

Sascha

----------------------------------------------------------------
Antony Pavlov (1):
      commands: usb: add tree view capability

Sascha Hauer (11):
      USB: i.MX chipidea: Implement OTG support for the poor
      USB: host: simplify usb_new_device
      USB: host: hub: Turn into a driver
      USB: host: fixup USB device hierarchy
      USB: host: hub: Use dev_dbg
      USB: host: hub: Use usb_hub_power_on from U-Boot
      USB: host: factor out port configuration to separate function
      USB: host: hub: only configure hub once
      USB: host: implement usb_remove_device
      USB: host: detect port change only once in usb_hub_configure_port
      USB: host: drop force rescan

 commands/usb.c                 | 108 ++++++++-
 drivers/usb/core/Makefile      |   3 +-
 drivers/usb/core/hub.c         | 481 +++++++++++++++++++++++++++++++++++++++
 drivers/usb/core/hub.h         |   7 +
 drivers/usb/core/usb.c         | 504 ++++-------------------------------------
 drivers/usb/core/usb.h         |   8 +
 drivers/usb/host/ehci-hcd.c    |   2 +-
 drivers/usb/imx/chipidea-imx.c | 101 ++++++++-
 include/usb/chipidea-imx.h     |   1 +
 include/usb/usb.h              |   9 +-
 10 files changed, 745 insertions(+), 479 deletions(-)
 create mode 100644 drivers/usb/core/hub.c
 create mode 100644 drivers/usb/core/hub.h
 create mode 100644 drivers/usb/core/usb.h



More information about the barebox mailing list