aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Zimmerman <Paul.Zimmerman@synopsys.com>2014-01-13 16:50:09 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-13 17:44:01 -0500
commit197ba5f406cc29000c70de98eb40d7243b9f9f03 (patch)
treefed25bc3806e864ad6ff7c2cbd4145189c65f828 /drivers
parent276d30eab931eae0ce5c5504b8ff4ab4c97b207b (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/Kconfig2
-rw-r--r--drivers/staging/Makefile1
-rw-r--r--drivers/staging/dwc2/TODO33
-rw-r--r--drivers/usb/Kconfig2
-rw-r--r--drivers/usb/Makefile1
-rw-r--r--drivers/usb/dwc2/Kconfig (renamed from drivers/staging/dwc2/Kconfig)0
-rw-r--r--drivers/usb/dwc2/Makefile (renamed from drivers/staging/dwc2/Makefile)0
-rw-r--r--drivers/usb/dwc2/core.c (renamed from drivers/staging/dwc2/core.c)0
-rw-r--r--drivers/usb/dwc2/core.h (renamed from drivers/staging/dwc2/core.h)0
-rw-r--r--drivers/usb/dwc2/core_intr.c (renamed from drivers/staging/dwc2/core_intr.c)0
-rw-r--r--drivers/usb/dwc2/hcd.c (renamed from drivers/staging/dwc2/hcd.c)0
-rw-r--r--drivers/usb/dwc2/hcd.h (renamed from drivers/staging/dwc2/hcd.h)0
-rw-r--r--drivers/usb/dwc2/hcd_ddma.c (renamed from drivers/staging/dwc2/hcd_ddma.c)0
-rw-r--r--drivers/usb/dwc2/hcd_intr.c (renamed from drivers/staging/dwc2/hcd_intr.c)0
-rw-r--r--drivers/usb/dwc2/hcd_queue.c (renamed from drivers/staging/dwc2/hcd_queue.c)0
-rw-r--r--drivers/usb/dwc2/hw.h (renamed from drivers/staging/dwc2/hw.h)0
-rw-r--r--drivers/usb/dwc2/pci.c (renamed from drivers/staging/dwc2/pci.c)0
-rw-r--r--drivers/usb/dwc2/platform.c (renamed from drivers/staging/dwc2/platform.c)0
18 files changed, 3 insertions, 36 deletions
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index d2beb07f2403..4bb6b11166b3 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -140,8 +140,6 @@ source "drivers/staging/netlogic/Kconfig"
140 140
141source "drivers/staging/mt29f_spinand/Kconfig" 141source "drivers/staging/mt29f_spinand/Kconfig"
142 142
143source "drivers/staging/dwc2/Kconfig"
144
145source "drivers/staging/lustre/Kconfig" 143source "drivers/staging/lustre/Kconfig"
146 144
147source "drivers/staging/xillybus/Kconfig" 145source "drivers/staging/xillybus/Kconfig"
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index bf62386d6259..9f07e5e16094 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -61,7 +61,6 @@ obj-$(CONFIG_DGRP) += dgrp/
61obj-$(CONFIG_SB105X) += sb105x/ 61obj-$(CONFIG_SB105X) += sb105x/
62obj-$(CONFIG_FIREWIRE_SERIAL) += fwserial/ 62obj-$(CONFIG_FIREWIRE_SERIAL) += fwserial/
63obj-$(CONFIG_GOLDFISH) += goldfish/ 63obj-$(CONFIG_GOLDFISH) += goldfish/
64obj-$(CONFIG_USB_DWC2) += dwc2/
65obj-$(CONFIG_LUSTRE_FS) += lustre/ 64obj-$(CONFIG_LUSTRE_FS) += lustre/
66obj-$(CONFIG_XILLYBUS) += xillybus/ 65obj-$(CONFIG_XILLYBUS) += xillybus/
67obj-$(CONFIG_DGNC) += dgnc/ 66obj-$(CONFIG_DGNC) += dgnc/
diff --git a/drivers/staging/dwc2/TODO b/drivers/staging/dwc2/TODO
deleted file mode 100644
index 282470d55315..000000000000
--- a/drivers/staging/dwc2/TODO
+++ /dev/null
@@ -1,33 +0,0 @@
1TODO:
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
31Please send any patches for this driver to Paul Zimmerman <paulz@synopsys.com>
32and Greg Kroah-Hartman <gregkh@linuxfoundation.org>. And please CC linux-usb
33<linux-usb@vger.kernel.org> too.
diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
index 2642b8a11e05..7eb909aa8bc0 100644
--- a/drivers/usb/Kconfig
+++ b/drivers/usb/Kconfig
@@ -108,6 +108,8 @@ endif
108 108
109source "drivers/usb/dwc3/Kconfig" 109source "drivers/usb/dwc3/Kconfig"
110 110
111source "drivers/usb/dwc2/Kconfig"
112
111source "drivers/usb/chipidea/Kconfig" 113source "drivers/usb/chipidea/Kconfig"
112 114
113comment "USB port drivers" 115comment "USB port drivers"
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index 70d7c5b92c3c..1ae2bf39d84b 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -7,6 +7,7 @@
7obj-$(CONFIG_USB) += core/ 7obj-$(CONFIG_USB) += core/
8 8
9obj-$(CONFIG_USB_DWC3) += dwc3/ 9obj-$(CONFIG_USB_DWC3) += dwc3/
10obj-$(CONFIG_USB_DWC2) += dwc2/
10 11
11obj-$(CONFIG_USB_MON) += mon/ 12obj-$(CONFIG_USB_MON) += mon/
12 13
diff --git a/drivers/staging/dwc2/Kconfig b/drivers/usb/dwc2/Kconfig
index be947d673844..be947d673844 100644
--- a/drivers/staging/dwc2/Kconfig
+++ b/drivers/usb/dwc2/Kconfig
diff --git a/drivers/staging/dwc2/Makefile b/drivers/usb/dwc2/Makefile
index 11529d3439b0..11529d3439b0 100644
--- a/drivers/staging/dwc2/Makefile
+++ b/drivers/usb/dwc2/Makefile
diff --git a/drivers/staging/dwc2/core.c b/drivers/usb/dwc2/core.c
index 8565d87f94b4..8565d87f94b4 100644
--- a/drivers/staging/dwc2/core.c
+++ b/drivers/usb/dwc2/core.c
diff --git a/drivers/staging/dwc2/core.h b/drivers/usb/dwc2/core.h
index 648519c024b5..648519c024b5 100644
--- a/drivers/staging/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
diff --git a/drivers/staging/dwc2/core_intr.c b/drivers/usb/dwc2/core_intr.c
index 8205799e6db3..8205799e6db3 100644
--- a/drivers/staging/dwc2/core_intr.c
+++ b/drivers/usb/dwc2/core_intr.c
diff --git a/drivers/staging/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c
index 07dfe855dc20..07dfe855dc20 100644
--- a/drivers/staging/dwc2/hcd.c
+++ b/drivers/usb/dwc2/hcd.c
diff --git a/drivers/staging/dwc2/hcd.h b/drivers/usb/dwc2/hcd.h
index fdc6d489084a..fdc6d489084a 100644
--- a/drivers/staging/dwc2/hcd.h
+++ b/drivers/usb/dwc2/hcd.h
diff --git a/drivers/staging/dwc2/hcd_ddma.c b/drivers/usb/dwc2/hcd_ddma.c
index 3376177e4d3c..3376177e4d3c 100644
--- a/drivers/staging/dwc2/hcd_ddma.c
+++ b/drivers/usb/dwc2/hcd_ddma.c
diff --git a/drivers/staging/dwc2/hcd_intr.c b/drivers/usb/dwc2/hcd_intr.c
index 012f17ec1a37..012f17ec1a37 100644
--- a/drivers/staging/dwc2/hcd_intr.c
+++ b/drivers/usb/dwc2/hcd_intr.c
diff --git a/drivers/staging/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c
index 9540f7e1e20e..9540f7e1e20e 100644
--- a/drivers/staging/dwc2/hcd_queue.c
+++ b/drivers/usb/dwc2/hcd_queue.c
diff --git a/drivers/staging/dwc2/hw.h b/drivers/usb/dwc2/hw.h
index 9c92a3c7588a..9c92a3c7588a 100644
--- a/drivers/staging/dwc2/hw.h
+++ b/drivers/usb/dwc2/hw.h
diff --git a/drivers/staging/dwc2/pci.c b/drivers/usb/dwc2/pci.c
index c291fca5d21f..c291fca5d21f 100644
--- a/drivers/staging/dwc2/pci.c
+++ b/drivers/usb/dwc2/pci.c
diff --git a/drivers/staging/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index d01d0d3f2cf0..d01d0d3f2cf0 100644
--- a/drivers/staging/dwc2/platform.c
+++ b/drivers/usb/dwc2/platform.c