[PATCH v6 0/5] usb: xhci: Add support for Renesas USB controllers

From: Vinod Koul
Date: Mon Jan 13 2020 - 03:40:25 EST


This series add support for Renesas USB controllers uPD720201 and uPD720202.
These require firmware to be loaded and in case devices have ROM those can
also be programmed if empty. If ROM is programmed, it runs from ROM as well.

This includes two patches from Christian which supported these controllers
w/o ROM and later my patches for ROM support and multiple firmware versions,
debugfs hook for rom erase and export of xhci-pci functions.

Changes in v6:
Move the renesas code into a seprate driver which invokes xhci-pci functions.

Changes in v5:
Added a debugfs rom erase patch, helps in debugging
Squashed patch 1 & 2 as requested by Mathias

Changes in v4:
Rollback the delay values as we got device failures

Changes in v3:
Dropped patch 2 as discussed with Christian
Removed aligned 8 bytes check
Change order for firware search from highest version to lowest
Added entry for new firmware for device 0x14 as well
Add tested by Christian

Changes in v2:
used macros for timeout count and delay
removed renesas_fw_alive_check
cleaned renesas_fw_callback
removed recurion for renesas_fw_download
added MODULE_FIRMWARE
added comment for multiple fw order

Christian Lamparter (1):
usb: renesas-xhci: Add the renesas xhci driver

Vinod Koul (4):
usb: xhci: export few functions
usb: renesas-xhci: Add ROM loader for uPD720201
usb: renesas-xhci: allow multiple firmware versions
usb: xhci: provide a debugfs hook for erasing rom

drivers/usb/host/Kconfig | 9 +
drivers/usb/host/Makefile | 1 +
drivers/usb/host/xhci-pci-renesas.c | 985 ++++++++++++++++++++++++++++
drivers/usb/host/xhci-pci.c | 18 +-
drivers/usb/host/xhci-pci.h | 18 +
5 files changed, 1024 insertions(+), 7 deletions(-)
create mode 100644 drivers/usb/host/xhci-pci-renesas.c
create mode 100644 drivers/usb/host/xhci-pci.h

--
2.24.1