Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Move DWC2 driver out of staging

The DWC2 driver should now be in good enough shape to move out of
staging. I have stress tested it overnight on RPI running mass
storage and Ethernet transfers in parallel, and for several days
on our proprietary PCI-based platform.

Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Paul Zimmerman and committed by
Greg Kroah-Hartman
197ba5f4 276d30ea

+4 -37
+1 -1
MAINTAINERS
··· 2635 2635 M: Paul Zimmerman <paulz@synopsys.com> 2636 2636 L: linux-usb@vger.kernel.org 2637 2637 S: Maintained 2638 - F: drivers/staging/dwc2/ 2638 + F: drivers/usb/dwc2/ 2639 2639 2640 2640 DESIGNWARE USB3 DRD IP DRIVER 2641 2641 M: Felipe Balbi <balbi@ti.com>
-2
drivers/staging/Kconfig
··· 140 140 141 141 source "drivers/staging/mt29f_spinand/Kconfig" 142 142 143 - source "drivers/staging/dwc2/Kconfig" 144 - 145 143 source "drivers/staging/lustre/Kconfig" 146 144 147 145 source "drivers/staging/xillybus/Kconfig"
-1
drivers/staging/Makefile
··· 61 61 obj-$(CONFIG_SB105X) += sb105x/ 62 62 obj-$(CONFIG_FIREWIRE_SERIAL) += fwserial/ 63 63 obj-$(CONFIG_GOLDFISH) += goldfish/ 64 - obj-$(CONFIG_USB_DWC2) += dwc2/ 65 64 obj-$(CONFIG_LUSTRE_FS) += lustre/ 66 65 obj-$(CONFIG_XILLYBUS) += xillybus/ 67 66 obj-$(CONFIG_DGNC) += dgnc/
drivers/staging/dwc2/Kconfig drivers/usb/dwc2/Kconfig
drivers/staging/dwc2/Makefile drivers/usb/dwc2/Makefile
-33
drivers/staging/dwc2/TODO
··· 1 - TODO: 2 - - Dan Carpenter would like to see some cleanups to the microframe 3 - scheduler code: 4 - http://www.mail-archive.com/linux-usb@vger.kernel.org/msg26650.html 5 - 6 - - Should merge the NAK holdoff patch from Raspberry Pi 7 - (http://marc.info/?l=linux-usb&m=137625067103833). But as it stands 8 - that patch is incomplete, it needs more investigation to see if it 9 - can be made to work for non-Raspberry Pi platforms that lack the 10 - special FIQ interrupt that the Pi has. Without this patch, the driver 11 - has a high interrupt rate (8K/sec). 12 - 13 - - The Raspberry Pi platform needs to have support for its FIQ interrupt 14 - added, to get the same level of functionality as the downstream 15 - driver. The raspberrypi.org developers have indicated they are 16 - willing to help with that. 17 - 18 - - Some of the default driver parameters (see 'struct dwc2_core_params' 19 - in core.h) won't work for many platforms. So DT attributes will need 20 - to be added for some of these. But that can be done as-needed as new 21 - platforms are added. 22 - 23 - - Eventually the driver should be merged with the s3c-hsotg peripheral 24 - mode driver, so that both modes of operation can be supported with a 25 - single driver. But I think that can wait till after the driver has 26 - been moved to mainline. 27 - 28 - - After that, OTG support can be added. I'm not sure how much demand 29 - there is for that, though, so I have that as a low priority. 30 - 31 - Please send any patches for this driver to Paul Zimmerman <paulz@synopsys.com> 32 - and Greg Kroah-Hartman <gregkh@linuxfoundation.org>. And please CC linux-usb 33 - <linux-usb@vger.kernel.org> too.
drivers/staging/dwc2/core.c drivers/usb/dwc2/core.c
drivers/staging/dwc2/core.h drivers/usb/dwc2/core.h
drivers/staging/dwc2/core_intr.c drivers/usb/dwc2/core_intr.c
drivers/staging/dwc2/hcd.c drivers/usb/dwc2/hcd.c
drivers/staging/dwc2/hcd.h drivers/usb/dwc2/hcd.h
drivers/staging/dwc2/hcd_ddma.c drivers/usb/dwc2/hcd_ddma.c
drivers/staging/dwc2/hcd_intr.c drivers/usb/dwc2/hcd_intr.c
drivers/staging/dwc2/hcd_queue.c drivers/usb/dwc2/hcd_queue.c
drivers/staging/dwc2/hw.h drivers/usb/dwc2/hw.h
drivers/staging/dwc2/pci.c drivers/usb/dwc2/pci.c
drivers/staging/dwc2/platform.c drivers/usb/dwc2/platform.c
+2
drivers/usb/Kconfig
··· 108 108 109 109 source "drivers/usb/dwc3/Kconfig" 110 110 111 + source "drivers/usb/dwc2/Kconfig" 112 + 111 113 source "drivers/usb/chipidea/Kconfig" 112 114 113 115 comment "USB port drivers"
+1
drivers/usb/Makefile
··· 7 7 obj-$(CONFIG_USB) += core/ 8 8 9 9 obj-$(CONFIG_USB_DWC3) += dwc3/ 10 + obj-$(CONFIG_USB_DWC2) += dwc2/ 10 11 11 12 obj-$(CONFIG_USB_MON) += mon/ 12 13