
Dear Amit Virdi,
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
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