
Add atmel usb udc driver support porting from Linux kernel. Using RNDIS gadget driver to test it.
Test OK on at91sam9m10g45ek, at91sam9m10g45ek, and sama5d31ek boards.
It need the patch from: Troy Kisky troy.kisky@boundarydevices.com (usb: gadget: config: fix unaligned access issues) more information: http://patchwork.ozlabs.org/patch/264151/
Changes in v3: - Add new (resubmit) one patch from Troy Kisky - Move common header file along with USB device driver
Changes in v2: - Add detail information of the orignal code - Add a common header to hold atmel usba udc information for different SoCs
Bo Shen (3): USB: gadget: add atmel usba udc driver ARM: atmel: correct UDPHS name ARM: atmel: add RNDIS gadget support
Troy Kisky (1): usb: gadget: config: fix unaligned access issues
arch/arm/cpu/armv7/at91/sama5d3_devices.c | 12 + arch/arm/include/asm/arch-at91/at91_common.h | 1 + arch/arm/include/asm/arch-at91/atmel_usba_udc.h | 64 ++ arch/arm/include/asm/arch-at91/sama5d3.h | 2 +- board/atmel/sama5d3xek/sama5d3xek.c | 13 + drivers/usb/gadget/Makefile | 1 + drivers/usb/gadget/atmel_usba_udc.c | 1305 +++++++++++++++++++++++ drivers/usb/gadget/atmel_usba_udc.h | 326 ++++++ drivers/usb/gadget/config.c | 6 +- include/configs/sama5d3xek.h | 8 + include/linux/usb/atmel_usba_udc.h | 26 + 11 files changed, 1761 insertions(+), 3 deletions(-) create mode 100644 arch/arm/include/asm/arch-at91/atmel_usba_udc.h create mode 100644 drivers/usb/gadget/atmel_usba_udc.c create mode 100644 drivers/usb/gadget/atmel_usba_udc.h create mode 100644 include/linux/usb/atmel_usba_udc.h