From 5e305d35c94199241f71a994cf6a691aec49688c Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sun, 31 Jul 2016 03:00:43 +0200 Subject: Introduce new USB driver for Synopsys DesignWare USB OTG core. Based on g#844 and g#949, it is intended as a replacement for the current s3c6400x USB driver. The DesignWare USB OTG core is integrated into many SoC's, however HW core version and capabilities (mainly DMA mode, Tx FIFO mode, FIFO size and number of available IN/OUT endpoins) may differ: CPU targets HW ver DMA NPTX FIFO FIFO sz #IN/OUT -------- ------------- ------ --- --------- ------- ------- as3525v2 sansaclipplus 2.60a Yes Dedicated 0x535 4/4 sansaclipv2 sansaclipzip sansafuzev2 s5l8701 ipodnano2g 2.20a Yes Shared 0x500 4/5 s5l8702 ipod6g 2.60a Yes Dedicated 0x820 7/7 ipodnano3g s5l8720 ipodnano4g ? ? ? ? ? Functionality supported by this driver: - Device mode, compatible with USB 1.1/2.0 hosts. - Shared FIFO (USB_DW_SHARED_FIFO) or dedicated FIFOs. - No DMA (USB_DW_ARCH_SLAVE) or internal DMA mode. - Concurrent transfers: control, bulk (usb_storage, usb_serial) and interrupt (usb_hid). Actually this driver is not used by any CPU, it will be enabled for each individual CPU/target in next patches. Change-Id: I74a1e836d18927a31f6977d71115fb442477dd5f --- firmware/SOURCES | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware/SOURCES') diff --git a/firmware/SOURCES b/firmware/SOURCES index db3f09ea8e..9aab3c1115 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -766,6 +766,8 @@ target/arm/usb-drv-arc.c target/arm/as3525/usb-drv-as3525.c #elif CONFIG_USBOTG == USBOTG_S3C6400X target/arm/usb-s3c6400x.c +#elif CONFIG_USBOTG == USBOTG_DESIGNWARE +target/arm/usb-designware.c #elif CONFIG_USBOTG == USBOTG_ISP1583 drivers/isp1583.c #elif CONFIG_USBOTG == USBOTG_RK27XX -- cgit v1.2.3