mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/24] USB3 support
@ 2020-03-25 12:30 Sascha Hauer
  2020-03-25 12:30 ` [PATCH 01/24] usb: hub: Make debugging output more consistent Sascha Hauer
                   ` (23 more replies)
  0 siblings, 24 replies; 27+ messages in thread
From: Sascha Hauer @ 2020-03-25 12:30 UTC (permalink / raw)
  To: Barebox List

This series adds support for USB3 devices. The XHCI driver we currently
have in barebox only supports USB2 devices or USB3 devices behind a USB2
cable or hub. We replace the XHCI driver with the one from U-Boot, this
series contains the missing pieces to the USB layer to make that work.

Also contained in this series is a driver for the Asix AX88179 USB
ethernet converter. While this is not directly related to this series
it was the original goal to make this device work.

Sascha

Sascha Hauer (24):
  usb: hub: Make debugging output more consistent
  usb: hub: do not reset devices twice
  usb: hub: let usb_scan_port() return void
  usb: Remove hack from the early days
  usb: Pass portstatus/portchange to usb_hub_port_connect_change()
  usb: hub: Do not power-cycle usb devices on init
  usb: Make driver_info const
  usb: Set new USB device name earlier
  usb: Use dev_*
  usb: hub: Parse and save TT details from device descriptor
  usb: host: make init hook optional
  usb: support set hub depth request for USB 3.0 hubs
  usb: Assign dev_index once
  usb: remove unnecessary variable
  usb: net: Allocate rx buffer dynamically
  usb: net: Allocate tx buffer dynamically
  net: usb: add hook for link changes
  usb: net: Add support for the Asix AX88179
  usb: factor out a usb_setup_descriptor() function
  usb: hub: Translate USB 3.0 hub port status into old version
  usb: Add super speed support
  usb: hub: When no connection came up remove from scanning list
  usb: host: remove xhci driver
  usb: Add U-Boot xhci driver

 drivers/net/usb/Kconfig        |   11 +
 drivers/net/usb/Makefile       |    1 +
 drivers/net/usb/ax88179_178a.c |  753 ++++++++++++++
 drivers/net/usb/usbnet.c       |   46 +-
 drivers/usb/core/hub.c         |  287 ++++--
 drivers/usb/core/hub.h         |    7 -
 drivers/usb/core/usb.c         |  253 +++--
 drivers/usb/host/Kconfig       |    8 -
 drivers/usb/host/Makefile      |    3 +-
 drivers/usb/host/xhci-hcd.c    | 1675 --------------------------------
 drivers/usb/host/xhci-hub.c    |  646 ------------
 drivers/usb/host/xhci-mem.c    |  871 +++++++++++++++++
 drivers/usb/host/xhci-pci.c    |   40 -
 drivers/usb/host/xhci-ring.c   |  977 +++++++++++++++++++
 drivers/usb/host/xhci.c        | 1437 +++++++++++++++++++++++++++
 drivers/usb/host/xhci.h        | 1509 ++++++++++++++--------------
 include/usb/ch9.h              |   20 +
 include/usb/usb.h              |   34 +-
 include/usb/usb_defs.h         |    3 +
 include/usb/usbnet.h           |    2 +
 include/usb/xhci.h             |    6 -
 21 files changed, 5247 insertions(+), 3342 deletions(-)
 create mode 100644 drivers/net/usb/ax88179_178a.c
 delete mode 100644 drivers/usb/core/hub.h
 delete mode 100644 drivers/usb/host/xhci-hcd.c
 delete mode 100644 drivers/usb/host/xhci-hub.c
 create mode 100644 drivers/usb/host/xhci-mem.c
 delete mode 100644 drivers/usb/host/xhci-pci.c
 create mode 100644 drivers/usb/host/xhci-ring.c
 create mode 100644 drivers/usb/host/xhci.c

-- 
2.26.0.rc2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2020-03-26  6:22 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-25 12:30 [PATCH 00/24] USB3 support Sascha Hauer
2020-03-25 12:30 ` [PATCH 01/24] usb: hub: Make debugging output more consistent Sascha Hauer
2020-03-25 12:30 ` [PATCH 02/24] usb: hub: do not reset devices twice Sascha Hauer
2020-03-25 12:30 ` [PATCH 03/24] usb: hub: let usb_scan_port() return void Sascha Hauer
2020-03-25 12:30 ` [PATCH 04/24] usb: Remove hack from the early days Sascha Hauer
2020-03-25 12:30 ` [PATCH 05/24] usb: Pass portstatus/portchange to usb_hub_port_connect_change() Sascha Hauer
2020-03-25 12:30 ` [PATCH 06/24] usb: hub: Do not power-cycle usb devices on init Sascha Hauer
2020-03-25 12:30 ` [PATCH 07/24] usb: Make driver_info const Sascha Hauer
2020-03-25 12:30 ` [PATCH 08/24] usb: Set new USB device name earlier Sascha Hauer
2020-03-25 12:30 ` [PATCH 09/24] usb: Use dev_* Sascha Hauer
2020-03-25 12:30 ` [PATCH 10/24] usb: hub: Parse and save TT details from device descriptor Sascha Hauer
2020-03-25 12:30 ` [PATCH 11/24] usb: host: make init hook optional Sascha Hauer
2020-03-25 12:30 ` [PATCH 12/24] usb: support set hub depth request for USB 3.0 hubs Sascha Hauer
2020-03-25 12:31 ` [PATCH 13/24] usb: Assign dev_index once Sascha Hauer
2020-03-25 12:31 ` [PATCH 14/24] usb: remove unnecessary variable Sascha Hauer
2020-03-25 12:31 ` [PATCH 15/24] usb: net: Allocate rx buffer dynamically Sascha Hauer
2020-03-25 14:18   ` Jules Maselbas
2020-03-26  6:22     ` Sascha Hauer
2020-03-25 12:31 ` [PATCH 16/24] usb: net: Allocate tx " Sascha Hauer
2020-03-25 12:31 ` [PATCH 17/24] net: usb: add hook for link changes Sascha Hauer
2020-03-25 12:31 ` [PATCH 18/24] usb: net: Add support for the Asix AX88179 Sascha Hauer
2020-03-25 12:31 ` [PATCH 19/24] usb: factor out a usb_setup_descriptor() function Sascha Hauer
2020-03-25 12:31 ` [PATCH 20/24] usb: hub: Translate USB 3.0 hub port status into old version Sascha Hauer
2020-03-25 12:31 ` [PATCH 21/24] usb: Add super speed support Sascha Hauer
2020-03-25 12:31 ` [PATCH 22/24] usb: hub: When no connection came up remove from scanning list Sascha Hauer
2020-03-25 12:31 ` [PATCH 23/24] usb: host: remove xhci driver Sascha Hauer
2020-03-25 12:31 ` [PATCH 24/24] usb: Add U-Boot " Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox