[PATCH 0/5] usb: dwc3-uniphier: Replace the driver to use dwc3-generic

Kunihiko Hayashi hayashi.kunihiko at socionext.com
Mon Jan 23 01:47:41 CET 2023


This series exports the structures and functions from the driver source
to the header, and replaces dwc3-uniphier driver to use them.

This expects dwc3-generic to prevent more SoC-dependent codes.

Kunihiko Hayashi (5):
  usb: dwc3-generic: Export glue structures and functions
  usb: dwc3-generic: Add the size of regs property to glue structure
  usb: dwc3-generic: Add dependency on SIMPLE_BUS
  usb: dwc3-uniphier: Use dwc3-generic instead of xhci-dwc3
  uniphier_defconfig: Disable USB_XHCI_DWC3

 configs/uniphier_v7_defconfig    |  1 -
 configs/uniphier_v8_defconfig    |  1 -
 drivers/usb/dwc3/Kconfig         |  7 +--
 drivers/usb/dwc3/dwc3-generic.c  | 19 ++------
 drivers/usb/dwc3/dwc3-generic.h  | 32 +++++++++++++
 drivers/usb/dwc3/dwc3-uniphier.c | 79 ++++++++++++++++----------------
 6 files changed, 81 insertions(+), 58 deletions(-)
 create mode 100644 drivers/usb/dwc3/dwc3-generic.h

-- 
2.25.1



More information about the U-Boot mailing list