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

Mark Brown <[email protected]>
Newsgroups org.kernel.vger.linux-renesas-soc,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Wed, Jul 08, 2026 at 10:28:46AM +0200, Geert Uytterhoeven wrote:
> On Wed, 8 Jul 2026 at 10:10, Biju Das <[email protected]> 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.
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmpOKLwACgkQJNaLcl1U
h9CcYQf8Ci6uBGdjkIryMdDpwa9sAEenj+oRPJxsFulTkdA2aGOMx1B9NRHVH4XU
sgIaW5glVIeWq2BiSVt03IVzOkovX8uSftVaccmqrAk5LZB2Jdl5P3We+SuDCPta
MCb60bI+PvD4XtCCSpY9QDTEyQYCFOjh8lV4V95ruXflfJZkmv6RMXqovydclonM
ITayHzTr459GialkddHc9/XD5nhYs5HsuV3uJ8Gzk83rLqAYWCF04ad7Fx57FYTP
N/eWHOyigmSficgvSRwpsm1yytnxrbTesSYFDu0GzHtZW2J5sDNG+Cv27QMZHpLc
Hy4iXWCHe+06UPU7et6zEzufAVkoyg==
=xow7
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.