[PATCH v2 0/2] This is version 2 of the RZ/G2L support.

Michele Bisogno micbis.openwrt at gmail.com
Thu Apr 16 16:44:24 CEST 2026


This is version 2 of the RZ/G2L SoC support for the Renesas USBHS gadget driver.

Changes since v1:

    Split regulator changes into a separate patch.

    Refined FIFO PIO logic for better alignment handling.

Technical Justification:
While the Linux driver for RZ/G2L relies on DMA, this U-Boot implementation
focuses on the PIO path. The refactoring in fifo.c to use byte-level access
(ioread8/iowrite8) is necessary to handle trailing bytes and alignment
requirements specific to the RZ/G2L bus.

Additionally, explicit reset deassertion is added to the probe sequence,
and a re-entrancy fix (usb_del_gadget_udc) is included to prevent crashes
during repeated executions of gadget commands like 'ums'.

Michele Bisogno (2):
  regulator: rzg2l: implement connectivity notification
  usb: gadget: renesas: add support for RZ/G2L SoC

 .../power/regulator/rzg2l-usbphy-regulator.c  | 10 ++++++--
 drivers/usb/gadget/rcar/common.c              | 15 ++++++++++++
 drivers/usb/gadget/rcar/fifo.c                | 23 +++++++++++--------
 3 files changed, 36 insertions(+), 12 deletions(-)

-- 
2.34.1



More information about the U-Boot mailing list