From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Felipe Balbi <balbi@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
Rob Herring <robh+dt@kernel.org>,
Alan Stern <stern@rowland.harvard.edu>,
Mark Rutland <mark.rutland@arm.com>,
Roger Quadros <rogerq@ti.com>, zhengbin <zhengbin13@huawei.com>
Cc: John Youn <John.Youn@synopsys.com>
Subject: [RFC PATCH 00/14] usb: dwc3: Introduce DWC_usb32
Date: Wed, 11 Dec 2019 18:48:58 -0800 [thread overview]
Message-ID: <cover.1576118671.git.thinhn@synopsys.com> (raw)
This patch series adds support to Synopsys DWC_usb32 controller which is
capable of dual-lane and USB speed up to 40 Gbps. In order to support this new
controller, we need to make a few updates the USB stack and dwc3 driver:
1) dwc3 driver needs to update its IP and revision check. The current scheme
does not support more than 2 controllers.
2) Introduce Lane Speed Mantissa and lane count on the gadget side. Devices
operating in SuperSpeed Plus can refer to gen2x1, gen1x2, or gen2x2.
3) Add a new gadget opts to set the sublink speed for drivers that are
constrained to certain lane count or lane speed mantissa.
4) Add miscellaneous initialization checks for DWC_usb32.
Any review comment is highly appreciated.
Thank you,
Thinh
This patch series depends on the following patches
usb: dwc3: Fix GTXFIFOSIZ.TXFDEP macro name
usb: dwc3: gadget: Properly set maxpacket limit
https://patchwork.kernel.org/cover/11283761/
Thinh Nguyen (14):
usb: gadget: Add lane count and lsm
usb: gadget: Add callback to set lane and transfer rate
usb: composite: Properly report lsm
usb: dwc3: Implement new id check for DWC_usb32
usb: dwc3: Update IP checks to support DWC_usb32
usb: devicetree: dwc3: Add max lane and lsm
usb: dwc3: gadget: Set lane count and lsm
usb: dwc3: gadget: Track connected lane count and speed
usb: dwc3: gadget: Limit the setting of speed
usb: dwc3: Update HWPARAMS0.MDWIDTH for DWC_usb32
usb: devicetree: dwc3: Add TRB prefetch count
usb: dwc3: gadget: Set number of TRB prefetch
usb: devicetree: dwc3: Add property to disable mult TRB fetch
usb: dwc3: gadget: Implement disabling of mult TRB fetch
Documentation/devicetree/bindings/usb/dwc3.txt | 9 ++
drivers/usb/dwc3/core.c | 88 ++++++++----
drivers/usb/dwc3/core.h | 65 ++++++---
drivers/usb/dwc3/debugfs.c | 14 +-
drivers/usb/dwc3/gadget.c | 181 +++++++++++++++++++------
drivers/usb/dwc3/host.c | 2 +-
drivers/usb/gadget/composite.c | 16 ++-
drivers/usb/gadget/legacy/mass_storage.c | 2 +
drivers/usb/gadget/udc/core.c | 38 +++++-
include/linux/usb/composite.h | 4 +
include/linux/usb/gadget.h | 15 ++
11 files changed, 344 insertions(+), 90 deletions(-)
--
2.11.0
next reply other threads:[~2019-12-12 2:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-12 2:48 Thinh Nguyen [this message]
2019-12-12 2:49 ` [RFC PATCH 06/14] usb: devicetree: dwc3: Add max lane and lsm Thinh Nguyen
2019-12-12 8:06 ` Felipe Balbi
2019-12-19 22:09 ` Rob Herring
2019-12-19 22:49 ` Thinh Nguyen
2019-12-12 2:50 ` [RFC PATCH 11/14] usb: devicetree: dwc3: Add TRB prefetch count Thinh Nguyen
2019-12-12 8:18 ` Felipe Balbi
2019-12-12 22:16 ` Thinh Nguyen
2019-12-12 2:50 ` [RFC PATCH 13/14] usb: devicetree: dwc3: Add property to disable mult TRB fetch Thinh Nguyen
2019-12-12 8:19 ` Felipe Balbi
2019-12-12 22:28 ` Thinh Nguyen
2019-12-13 7:04 ` Felipe Balbi
2019-12-13 20:10 ` Thinh Nguyen
2019-12-19 22:17 ` Rob Herring
2019-12-19 22:51 ` Thinh Nguyen
2019-12-20 22:11 ` Rob Herring
2019-12-20 23:52 ` Thinh Nguyen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1576118671.git.thinhn@synopsys.com \
--to=thinh.nguyen@synopsys.com \
--cc=John.Youn@synopsys.com \
--cc=balbi@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-usb@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=rogerq@ti.com \
--cc=stern@rowland.harvard.edu \
--cc=zhengbin13@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).