linux-stable/drivers/usb/dwc3
John Youn 690fb3718a usb: dwc3: Support Synopsys USB 3.1 IP
This patch allows the dwc3 driver to run on the new Synopsys USB 3.1
IP core, albeit in USB 3.0 mode only.

The Synopsys USB 3.1 IP (DWC_usb31) retains mostly the same register
interface and programming model as the existing USB 3.0 controller IP
(DWC_usb3). However the GSNPSID and version numbers are different.

Add checking for the new ID to pass driver probe.

Also, since the DWC_usb31 version number is lower in value than the
full GSNPSID of the DWC_usb3 IP, we set the high bit to identify
DWC_usb31 and to ensure the values are higher.

Finally, add a documentation note about the revision numbering scheme.
Any future revision checks (for STARS, workarounds, and new features)
should take into consideration how it applies to both the 3.1/3.0 IP.

Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-10-09 16:06:58 -05:00
..
core.c usb: dwc3: Support Synopsys USB 3.1 IP 2015-10-09 16:06:58 -05:00
core.h usb: dwc3: Support Synopsys USB 3.1 IP 2015-10-09 16:06:58 -05:00
debug.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debug.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
debugfs.c usb: dwc3: switch to GPL v2 only 2013-07-29 13:56:44 +03:00
dwc3-exynos.c usb: dwc3: exynos: switch dev_dbg() to dev_info() 2015-07-29 09:59:17 -05:00
dwc3-keystone.c usb: dwc3: keystone: convert dev_dbg() to dev_err() 2015-07-29 09:59:17 -05:00
dwc3-omap.c usb: dwc3: omap: enable irqs lately 2015-09-14 09:51:58 -05:00
dwc3-pci.c usb: dwc3: pci: Add the PCI Product ID for Synopsys USB 3.1 2015-10-09 16:06:58 -05:00
dwc3-qcom.c usb: dwc3: qcom: switch dev_dbg() to dev_info() 2015-07-29 09:59:17 -05:00
dwc3-st.c usb: common: of_usb_get_dr_mode to usb_get_dr_mode 2015-09-27 10:54:31 -05:00
ep0.c usb: dwc3: ep0: handle non maxpacket aligned transfers > 512 2015-07-30 11:43:35 -05:00
gadget.c usb: dwc3: gadget: remove unnecessary _irqsave() 2015-09-28 15:19:31 -05:00
gadget.h usb: dwc3: gadget: fix set_halt() bug with pending transfers 2014-10-20 15:58:48 -05:00
host.c usb: dwc3: make LPM configurable in DT 2015-03-10 15:33:33 -05:00
io.h usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
Kconfig usb: dwc3: drop CONFIG_USB_DWC3_DEBUG 2015-07-29 09:59:18 -05:00
Makefile usb: dwc3: drop CONFIG_USB_DWC3_DEBUG 2015-07-29 09:59:18 -05:00
platform_data.h usb: dwc3: Add frame length adjustment quirk 2015-09-27 10:54:31 -05:00
trace.c usb: dwc3: add tracepoints to aid debugging 2014-09-05 09:55:51 -05:00
trace.h usb: dwc3: trace: add trace logs for core and gadget 2015-01-27 13:56:10 -06:00
ulpi.c usb: dwc3: add ULPI interface support 2015-05-13 12:06:52 -05:00