All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/3] usb: gadget: rcar: Add RZ/G2L support and lifecycle fixes
@ 2026-04-22 16:59 Michele Bisogno
  2026-04-22 16:59 ` [PATCH v4 1/3] usb: gadget: rcar: Fix gadget registration lifecycle in remove Michele Bisogno
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Michele Bisogno @ 2026-04-22 16:59 UTC (permalink / raw)
  To: Marek Vasut, Lukasz Majewski, Mattijs Korpershoek
  Cc: Nobuhiro Iwamatsu, Tom Rini, u-boot, Michele Bisogno

This series adds support for the Renesas RZ/G2L (R9A07G044) USBHS
controller. During development, several lifecycle and resource 
management issues were identified and addressed to satisfy RZ/G2L 
hardware requirements and prevent resource leaks across the driver.

The series is split into three logical parts to ensure bisectability:
1. A bugfix for the gadget deletion sequence during driver remove.
2. The addition of reset controller infrastructure and proper 
   clock/reset teardown logic.
3. The RZ/G2L specific hardware parameters, SYSCFG logic, and 
   compatible strings.

Changes in v4:
- Split the monolithic patch into a 3-patch series as requested.
- Added usb_del_gadget_udc() to fix resource leak on driver remove.
- Implemented bulk reset controller support (required for RZ/G2L).
- Improved error handling in probe() to ensure clocks are disabled 
  if reset initialization or deassertion fails.
- Moved reset and clock handles to private data to ensure persistence.
- Reorganized hunks to ensure each patch in the series compiles 
  independently (bisectability).

Michele Bisogno (3):
  usb: gadget: rcar: Fix gadget registration lifecycle in remove
  usb: gadget: rcar: Add support for reset controller
  usb: gadget: rcar: Add support for RZ/G2L (R9A07G044)

 drivers/usb/gadget/rcar/common.c      | 53 ++++++++++++++++++++++++---
 drivers/usb/gadget/rcar/renesas_usb.h |  1 +
 2 files changed, 48 insertions(+), 6 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2026-04-25 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-22 16:59 [PATCH v4 0/3] usb: gadget: rcar: Add RZ/G2L support and lifecycle fixes Michele Bisogno
2026-04-22 16:59 ` [PATCH v4 1/3] usb: gadget: rcar: Fix gadget registration lifecycle in remove Michele Bisogno
     [not found]   ` <edd83758-4f28-425c-b828-fb1e7a885d4d@mailbox.org>
2026-04-23  8:05     ` Michele Bisogno
2026-04-22 16:59 ` [PATCH v4 2/3] usb: gadget: rcar: Add support for reset controller Michele Bisogno
     [not found]   ` <4961ac43-a879-411d-a32e-7fe8d1c879e5@mailbox.org>
2026-04-23  8:14     ` Michele Bisogno
2026-04-22 16:59 ` [PATCH v4 3/3] usb: gadget: rcar: Add support for RZ/G2L (R9A07G044) Michele Bisogno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.