linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: dwc3: Introduce DWC_usb32 IP
@ 2020-04-11  2:13 Thinh Nguyen
  2020-04-11  2:13 ` [PATCH 1/2] usb: dwc3: Add support for " Thinh Nguyen
  2020-04-11  2:14 ` [PATCH 2/2] usb: dwc3: Get MDWIDTH for DWC_usb32 Thinh Nguyen
  0 siblings, 2 replies; 3+ messages in thread
From: Thinh Nguyen @ 2020-04-11  2:13 UTC (permalink / raw)
  To: Felipe Balbi, Greg Kroah-Hartman, Thinh Nguyen, linux-usb; +Cc: John Youn

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:
https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git/log/?h=testing/fixes

usb: dwc3: Fix GTXFIFOSIZ.TXFDEP macro name
usb: dwc3: gadget: Properly set maxpacket limit

https://patchwork.kernel.org/cover/11283761/



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-11  2:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-11  2:13 [PATCH 0/2] usb: dwc3: Introduce DWC_usb32 IP Thinh Nguyen
2020-04-11  2:13 ` [PATCH 1/2] usb: dwc3: Add support for " Thinh Nguyen
2020-04-11  2:14 ` [PATCH 2/2] usb: dwc3: Get MDWIDTH for DWC_usb32 Thinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).