RE: [PATCH v3 5/9] regulator: renesas-usb-vbus-regulator: Add RZ/G3L VBUS regulator support

From: Biju Das

Date: Wed Jul 08 2026 - 04:10:25 EST


Hi Mark,

> -----Original Message-----
> From: Mark Brown <broonie@xxxxxxxxxx>
> Sent: 07 July 2026 16:09
> Subject: Re: [PATCH v3 5/9] regulator: renesas-usb-vbus-regulator: Add RZ/G3L VBUS regulator support
>
> On Tue, Jul 07, 2026 at 03:36:37PM +0100, Biju wrote:
> > From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
> >
> > Add dual USB VBUS regulator support for the RZ/G3L (r9a08g046) SoC,
> > which has two OTG controllers (one per port), unlike RZ/G3S which has only one.
>
> Reviewed-by: Mark Brown <broonie@xxxxxxxxxx>

I have encountered compilation issue on x86 with compile_test,
that build this driver as module.

Looks like I cannot use two module_platform_driver definitions
in a C file.

I will switch to single init explicitly registering 2 drivers like [1]

[1] https://elixir.bootlin.com/linux/v7.2-rc1/source/arch/sparc/kernel/central.c#L264

Cheers,
Biju