U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: dwc2: Refactor and update USB DWC2 driver
@ 2024-05-22 14:22 Kongyang Liu
  2024-05-22 14:22 ` [PATCH 1/2] usb: dwc2: Extract USB DWC2 register definitions Kongyang Liu
  2024-05-22 14:22 ` [PATCH 2/2] usb: dwc2: Update reset method for host and device mode Kongyang Liu
  0 siblings, 2 replies; 6+ messages in thread
From: Kongyang Liu @ 2024-05-22 14:22 UTC (permalink / raw)
  To: u-boot
  Cc: Jonas Karlman, Lukasz Majewski, Marek Vasut, Mattijs Korpershoek,
	Simon Glass, Teik Heng Chong, Tom Rini

This series improves the USB DWC2 driver by extracting register definitions
into a common file for better readability and updating the reset method to
reflect changes in version 4.20a, including the new GRSTCTL_CSFTRST_DONE
bit for reset completion indication.


Kongyang Liu (2):
  usb: dwc2: Extract USB DWC2 register definitions
  usb: dwc2: Update reset method for host and device mode

 drivers/usb/common/Makefile                |   2 +
 drivers/usb/common/dwc2_core.c             | 103 +++
 drivers/usb/common/dwc2_core.h             | 557 ++++++++++++++++
 drivers/usb/gadget/dwc2_udc_otg.c          | 124 ++--
 drivers/usb/gadget/dwc2_udc_otg_regs.h     | 247 +------
 drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 306 ++++-----
 drivers/usb/host/dwc2.c                    | 392 +++++------
 drivers/usb/host/dwc2.h                    | 736 ---------------------
 8 files changed, 1039 insertions(+), 1428 deletions(-)
 create mode 100644 drivers/usb/common/dwc2_core.c
 create mode 100644 drivers/usb/common/dwc2_core.h

-- 
2.41.0


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

end of thread, other threads:[~2024-06-30  5:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-22 14:22 [PATCH 0/2] usb: dwc2: Refactor and update USB DWC2 driver Kongyang Liu
2024-05-22 14:22 ` [PATCH 1/2] usb: dwc2: Extract USB DWC2 register definitions Kongyang Liu
2024-06-22 23:14   ` Marek Vasut
2024-06-27 11:33     ` Kongyang Liu
2024-06-30  2:49       ` Marek Vasut
2024-05-22 14:22 ` [PATCH 2/2] usb: dwc2: Update reset method for host and device mode Kongyang Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox