[PATCH v1 0/4] Improve USB FIFO handling and enable UMS mode on PRTT1L boards

Sascha Hauer sha at pengutronix.de
Thu May 4 23:39:06 PDT 2023


On Wed, May 03, 2023 at 12:19:15PM +0200, Oleksij Rempel wrote:
> This patch series addresses the initial issue of USB Mass Storage (UMS)
> mode not working on PRTT1L boards by improving USB FIFO handling in the
> DWC2 driver, fixing multiplier handling in endpoint setup, and adding
> support for multiple gadgets, including UMS, fastboot, and ACM gadgets.
> The changes include porting support for USB FIFO devicetree properties
> and FIFO configuration from Linux kernel v6.3. These patches were tested
> on a PRTT1C board (based on stm32mp151) with the following command:
> usbgadget -S '/dev/mmc1(mmc1)' -s -A '' -b
> 
> Michael Grzeschik (1):
>   usb: dwc2: fix multiplier handling in endpoint setup
> 
> Oleksij Rempel (3):
>   usb: dwc2: Port support for USB FIFO devicetree properties from Linux
>     v6.3
>   usb: dwc2: Port FIFO configuration sync from Linux v6.3
>   arm: dts: stm32mp151-prtt1l: Configure USB gadget FIFOs for multiple
>     gadgets support

Applied, thanks

Sascha

> 
>  arch/arm/dts/stm32mp151-prtt1l.dtsi |  1 +
>  drivers/usb/dwc2/core.c             | 27 ++++++++++++++++++++
>  drivers/usb/dwc2/dwc2.c             |  1 +
>  drivers/usb/dwc2/dwc2.h             |  1 +
>  drivers/usb/dwc2/gadget.c           | 38 +++++++++++------------------
>  5 files changed, 44 insertions(+), 24 deletions(-)
> 
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list