Linux USB
 help / color / mirror / Atom feed
* [PATCH 0/2] usb: host: xhci-rcar: Avoid repeated matching
@ 2026-06-03 15:17 Geert Uytterhoeven
  2026-06-03 15:17 ` [PATCH 1/2] usb: host: xhci-rcar: Remove SET_XHCI_PLAT_PRIV_FOR_RCAR() macro Geert Uytterhoeven
  2026-06-03 15:17 ` [PATCH 2/2] usb: host: xhci-rcar: Split R-Car Gen2 and Gen3 .plat_start() handling Geert Uytterhoeven
  0 siblings, 2 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 2026-06-03 15:17 UTC (permalink / raw)
  To: Mathias Nyman, Greg Kroah-Hartman, Yoshihiro Shimoda,
	Wolfram Sang
  Cc: linux-usb, linux-renesas-soc, Geert Uytterhoeven

	Hi all,

On R-Car Gen2 and Gen3, the .plat_start() callback checks the XHCI's
controller compatible value on each call, which happens multiple
times during the lifetime of the device.  This series fixes that by
using separate .plat_start() callbacks, reducing source and binary size
in the process.

This has been tested on R-Car H2 (Lager, disable pci2 first), and R-Car
H3 ES2.0 (Salvator-XS).

Thanks for your comments

Geert Uytterhoeven (2):
  usb: host: xhci-rcar: Remove SET_XHCI_PLAT_PRIV_FOR_RCAR() macro
  usb: host: xhci-rcar: Split R-Car Gen2 and Gen3 .plat_start() handling

 drivers/usb/host/xhci-rcar.c | 70 +++++++++++++++++-------------------
 1 file changed, 33 insertions(+), 37 deletions(-)

-- 
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

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

end of thread, other threads:[~2026-06-03 15:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-03 15:17 [PATCH 0/2] usb: host: xhci-rcar: Avoid repeated matching Geert Uytterhoeven
2026-06-03 15:17 ` [PATCH 1/2] usb: host: xhci-rcar: Remove SET_XHCI_PLAT_PRIV_FOR_RCAR() macro Geert Uytterhoeven
2026-06-03 15:17 ` [PATCH 2/2] usb: host: xhci-rcar: Split R-Car Gen2 and Gen3 .plat_start() handling Geert Uytterhoeven

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