mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v1 0/4] Improve USB FIFO handling and enable UMS mode on PRTT1L boards
@ 2023-05-03 10:19 Oleksij Rempel
  2023-05-03 10:19 ` [PATCH v1 1/4] usb: dwc2: Port support for USB FIFO devicetree properties from Linux v6.3 Oleksij Rempel
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Oleksij Rempel @ 2023-05-03 10:19 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

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

 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




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

end of thread, other threads:[~2023-05-05  6:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 10:19 [PATCH v1 0/4] Improve USB FIFO handling and enable UMS mode on PRTT1L boards Oleksij Rempel
2023-05-03 10:19 ` [PATCH v1 1/4] usb: dwc2: Port support for USB FIFO devicetree properties from Linux v6.3 Oleksij Rempel
2023-05-03 10:19 ` [PATCH v1 2/4] usb: dwc2: Port FIFO configuration sync " Oleksij Rempel
2023-05-03 10:19 ` [PATCH v1 3/4] usb: dwc2: fix multiplier handling in endpoint setup Oleksij Rempel
2023-05-03 10:19 ` [PATCH v1 4/4] arm: dts: stm32mp151-prtt1l: Configure USB gadget FIFOs for multiple gadgets support Oleksij Rempel
2023-05-03 10:25   ` Ahmad Fatoum
2023-05-03 11:01     ` Oleksij Rempel
2023-05-05  6:39 ` [PATCH v1 0/4] Improve USB FIFO handling and enable UMS mode on PRTT1L boards Sascha Hauer

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