Hi Tom, Please find the following developments for next:
Usb gadget: - dwc2: Fix incorrect ULPI_UTMI_SEL bit setting - dwc2: Fix HBstLen setting for external DMA mode - dwc2: Various refactors to get the code closer to Linux - dwc2: Support reset logic for v4.20a CI Job: - https://source.denx.de/u-boot/custodians/u-boot-dfu/-/pipelines/26466 Thanks, Mattijs The following changes since commit 6e03ca240945ebf78d72e6839e9972c8e3893e54: Merge tag 'dm-pull-30may25' of git://git.denx.de/u-boot-dm into next (2025-05-30 13:53:50 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-dfu.git tags/u-boot-dfu-next-20250602 for you to fetch changes up to 42911f61b776cda40ba2b8c9e57988a84ad359a5: usb: dwc2: Refactor register operations with clrsetbits macros (2025-06-02 10:02:46 +0200) ---------------------------------------------------------------- u-boot-dfu-20250602 Usb gadget: dwc2: Fix incorrect ULPI_UTMI_SEL bit setting dwc2: Fix HBstLen setting for external DMA mode dwc2: Various refactors to get the code closer to Linux dwc2: Support reset logic for v4.20a ---------------------------------------------------------------- Junhui Liu (2): usb: dwc2: Fix incorrect ULPI_UTMI_SEL bit setting usb: dwc2: Refactor register operations with clrsetbits macros Kongyang Liu (7): usb: dwc2: Extract register definitions to common header file usb: dwc2: Fix HBstLen setting for external DMA mode usb: dwc2: Clean up with bitfield macros usb: dwc2: Align macros with Linux kernel definitions usb: dwc2: Extract macro definitions to common header usb: dwc2: Unify flush and reset logic with v4.20a support usb: dwc2: Replace uint<x>_t types with u<x> drivers/usb/common/Makefile | 2 + drivers/usb/common/dwc2_core.c | 131 +++++ drivers/usb/common/dwc2_core.h | 560 +++++++++++++++++++++ drivers/usb/gadget/dwc2_udc_otg.c | 119 +++-- drivers/usb/gadget/dwc2_udc_otg_phy.c | 33 +- drivers/usb/gadget/dwc2_udc_otg_regs.h | 289 ++--------- drivers/usb/gadget/dwc2_udc_otg_xfer_dma.c | 311 ++++++------ drivers/usb/host/dwc2.c | 494 ++++++++----------- drivers/usb/host/dwc2.h | 750 +---------------------------- 9 files changed, 1145 insertions(+), 1544 deletions(-) create mode 100644 drivers/usb/common/dwc2_core.c create mode 100644 drivers/usb/common/dwc2_core.h