All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/4] USB Fixes for Gadget Mode on DWC3
@ 2026-01-15 23:01 Chris Morgan
  2026-01-15 23:01 ` [PATCH V2 1/4] usb: dwc3: core: Add ip and version_type support from Linux Chris Morgan
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Chris Morgan @ 2026-01-15 23:01 UTC (permalink / raw)
  To: u-boot
  Cc: thinhn, neil.armstrong, quic_varada, felipe.balbi, mkorpershoek,
	lukma, trini, marex, macromorgan

From: Chris Morgan <macromorgan@hotmail.com>

In order to get gadget mode functional (for fastboot and ums) I need to
pull two patches in from mainline Linux. After applying these two
patches to U-Boot I am able to use ums and fastboot on my Anbernic
RG353P device for testing purposes.

Changes since V1:
 - Take the existing dwc3_core_soft_reset() function from the upstream
   Linux core.c file. This necessitates including another patch to add
   support from upstream Linux for the ip and version_type field and
   accompanying macros and functions to initialize it.
 - Specify the timeout changes made in the gadget driver as part of
   a separate patch and note the change is required.
 - Remove change in dwc3_ref_clk_period() as it was not intended to
   be included.

Chris Morgan (4):
  usb: dwc3: core: Add ip and version_type support from Linux
  usb: dwc3: Increase DWC3 controller halt timeout
  usb: dwc3: gadget: Don't send unintended link state change
  usb: dwc3: core: improve reset sequence

 drivers/usb/dwc3/core.c   | 92 +++++++++++++++++++++++++--------------
 drivers/usb/dwc3/core.h   | 60 +++++++++++++++++++++++++
 drivers/usb/dwc3/gadget.c | 20 ++++-----
 drivers/usb/dwc3/gadget.h | 14 ++++++
 4 files changed, 143 insertions(+), 43 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-02-25 11:04 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-15 23:01 [PATCH V2 0/4] USB Fixes for Gadget Mode on DWC3 Chris Morgan
2026-01-15 23:01 ` [PATCH V2 1/4] usb: dwc3: core: Add ip and version_type support from Linux Chris Morgan
2026-01-29  8:49   ` Mattijs Korpershoek
2026-01-15 23:01 ` [PATCH V2 2/4] usb: dwc3: Increase DWC3 controller halt timeout Chris Morgan
2026-01-29  8:51   ` Mattijs Korpershoek
2026-01-15 23:01 ` [PATCH V2 3/4] usb: dwc3: gadget: Don't send unintended link state change Chris Morgan
2026-01-29  9:06   ` Mattijs Korpershoek
2026-01-15 23:01 ` [PATCH V2 4/4] usb: dwc3: core: improve reset sequence Chris Morgan
2026-01-22 12:15   ` Ernest Van Hoecke
2026-01-22 12:34     ` Marek Vasut
2026-01-23  7:24       ` 回复: " Alice Guo (OSS)
2026-01-23 14:12         ` Ernest Van Hoecke
2026-01-27  1:58           ` 回复: " Alice Guo (OSS)
2026-02-05 17:32             ` Ernest Van Hoecke
2026-02-25 11:04               ` 回复: " Alice Guo (OSS)
2026-01-29  9:38   ` Mattijs Korpershoek
2026-01-30  8:00 ` [PATCH V2 0/4] USB Fixes for Gadget Mode on DWC3 Mattijs Korpershoek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.