mbox series

[v2,0/3] Add USB driver for HPE GXP Architecture

Message ID 20230907210601.25284-1-richard.yu@hpe.com
Headers show
Series Add USB driver for HPE GXP Architecture | expand

Message

Yu, Richard Sept. 7, 2023, 9:05 p.m. UTC
From: Richard Yu <richard.yu@hpe.com>

The GXP hub controller presents a four ports to host software.
Each port is logically connected to one control endpoint and
four generic endpoints.

---

Changes since v1:
 *Renamed binding.
 *Removed all unneeded include files.
 *Using generic node name, usb-hub.
 *Removed of_match_ptr().
 *Using helper for both get resource and IO remap.
 *Using dev_err_probe() return in probe routine.
 *Used sizeof(*...) in the code instead of sizeof(struct...).
 *Removed the term "virtual" as it is still a device.
 *Removed the downstream port number and generic endpoints
  number properties from device tree structure.

Richard Yu (3):
  dt-bindings: usb: Add HPE GXP HUB Controller
  usb: gadget: udc: gxp-udc: add HPE GXP USB HUB support
  MAINTAINERS: add USB HUB support for GXP

 .../devicetree/bindings/usb/hpe,gxp-hub.yaml  |   53 +
 MAINTAINERS                                   |    2 +
 drivers/usb/gadget/udc/Kconfig                |   10 +
 drivers/usb/gadget/udc/Makefile               |    1 +
 drivers/usb/gadget/udc/gxp-udc.c              | 1371 +++++++++++++++++
 5 files changed, 1437 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/usb/hpe,gxp-hub.yaml
 create mode 100644 drivers/usb/gadget/udc/gxp-udc.c