This patch series adds support to Synopsys DWC_usb32 controller. The controller supports dual-lane and speed up to 20 Gbps, and the DWC3 driver will drive this controller. The configuration and programming model for DWC_usb32 is very similar to DWC_usb31 and DWC_usb30. This series is one of the first sets, and it only includes the necessary changes to recognize, initialize, and run DWC_usb32. It includes: * New IP checking scheme * IP Checks for DWC_usb32 * New MDWIDTH parameter for DWC_usb32 The change to support lane count and lane speed mantissa will come in a separate series. Hopefully this helps simplify the review process and help push the change in steps. This series is base off of Felipe's testing/next branch: https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git/log/?h=testing/next It also depends on the following patches in Felipe's testing/fixes branch: usb: dwc3: Fix GTXFIFOSIZ.TXFDEP macro name usb: dwc3: gadget: Properly set maxpacket limit https://patchwork.kernel.org/cover/11283761/ https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git/log/?h=testing/fixes Changes in v2: - Change the macro to avoid constant to constant comparison static analysis warnings. (DWC3x_VERSION_ANY == DWC3x_VERSION_XXX) => !(DWC3x_VERSION_XXX) Thinh Nguyen (2): usb: dwc3: Add support for DWC_usb32 IP usb: dwc3: Get MDWIDTH for DWC_usb32 drivers/usb/dwc3/core.c | 49 ++++++++++++--------------- drivers/usb/dwc3/core.h | 69 +++++++++++++++++++++---------------- drivers/usb/dwc3/debugfs.c | 14 ++++++-- drivers/usb/dwc3/gadget.c | 84 ++++++++++++++++++++++++---------------------- drivers/usb/dwc3/host.c | 2 +- 5 files changed, 119 insertions(+), 99 deletions(-) -- 2.11.0