[PATCH v4 0/8] usb: dwc2: Refactor and update USB DWC2 driver
Mattijs Korpershoek
mkorpershoek at kernel.org
Mon Jun 2 09:58:37 CEST 2025
Hi,
On Fri, 10 Jan 2025 21:55:19 +0800, Junhui Liu wrote:
> 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.
>
> This series has been tested on two platforms:
> - MK808 with RK3066 SoC and dwc2 v2.91a, tested with USB flash drive and
> connected the board to the PC through the rockusb command. Test log [1].
> - K230-CanMV with K230 SoC [2] and dwc2 v4.30a, tested with the onboard
> rtl8152 USB to net chip and an external rtl8152 adapter connected to
> the onboard USB-C interface via USB hub. Test log [3].
>
> [...]
Thanks, Applied to https://source.denx.de/u-boot/custodians/u-boot-dfu (u-boot-dfu-next)
[1/8] usb: dwc2: Extract register definitions to common header file
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/14f904130964f251e78349a2e370c5069f2af500
[2/8] usb: dwc2: Fix incorrect ULPI_UTMI_SEL bit setting
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/94a1f8fe47e26250dd5704b2c2187622522eca6b
[3/8] usb: dwc2: Fix HBstLen setting for external DMA mode
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/bd6ef5097dd6c6219f12c0f2866ee4d578f190e9
[4/8] usb: dwc2: Clean up with bitfield macros
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/a5699130f4ad3f08d5192a459d116cd0ffc9ee4d
[5/8] usb: dwc2: Align macros with Linux kernel definitions
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/6def014bba5ee779c7faeec012bc93d2ff90f6d3
[6/8] usb: dwc2: Extract macro definitions to common header
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/24b0e2604e2980dd04078b85a7a8929588dc0988
[7/8] usb: dwc2: Unify flush and reset logic with v4.20a support
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/c5d685b8993cf9e2fa4321dc3f9f866d5655e976
[8/8] usb: dwc2: Replace uint<x>_t types with u<x>
https://source.denx.de/u-boot/custodians/u-boot-dfu/-/commit/bd88148a1bf3457ffe05d3bb0563dc4bfbfeee96
--
Mattijs
More information about the U-Boot
mailing list