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

From: Mark Brown

Date: Wed Jul 08 2026 - 06:42:17 EST


On Wed, Jul 08, 2026 at 10:28:46AM +0200, Geert Uytterhoeven wrote:
> On Wed, 8 Jul 2026 at 10:10, Biju Das <biju.das.jz@xxxxxxxxxxxxxx> wrote:

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

> Why do you need two platform_driver instances?
> Because of the different device names? You can use
> platform_driver.id_table for named platform devices, just like you
> use platform_driver.driver.of_match_table for DT.

Yes, that seems more natural for this - the ID table can point to the
set of regulators to register.

Attachment: signature.asc
Description: PGP signature