Skip to content

USB: Add support for designware UDC

Marek Vasut u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest0 of 5 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

None of the 5 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH V2 0/5] USB: Add support for designware UDC

Dear Amit Virdi,

Quoted 25 lines

Support for designware USB device controller (UDC) exists in the u-boot for SPEAr platform. This patchset makes the driver more generic so that it can be used across multiple platforms.

V2:
- Configure the gadget in HS only if CONFIG_USBD_HS is defined
- Made local functions static in a separate commit
- In "Fix memory nonalignment issue" used memcpy instead of copying byte-by-byte
- Define the HS_PACKET_SIZE unconditionally

V1:
- Added support for designware UDC in a more generic way

Amit Virdi (1):
USB:gadget:designware Make locally used functions static

Shiraz Hashim (1):
USB:gadget:designware Fix memory nonalignment issue

Vipin KUMAR (3):
USB:gadget:designware USB device controller (UDC) implementation USB:gadget:designware Device controller bugfixes USB:gadget:designware Support high speed

Quoted 9 lines
 drivers/serial/usbtty.h                            |    4 +-
 drivers/usb/gadget/Makefile                        |    2 +-
 drivers/usb/gadget/{spr_udc.c => designware_udc.c} |  138
++++++++++++------- include/configs/spear-common.h                     |  
 4 +-
 include/usb/{spr_udc.h => designware_udc.h}        |    7 +-
 5 files changed, 97 insertions(+), 58 deletions(-)
 rename drivers/usb/gadget/{spr_udc.c => designware_udc.c} (89%)
 rename include/usb/{spr_udc.h => designware_udc.h} (98%)

Thank you for your efforts, I'll apply these.

Best regards,
Marek Vasut