[PATCH] reset: Correct dependencies for RESET_RZG2L_USBPHY_CTRL

Tom Rini trini at konsulko.com
Fri Mar 20 14:56:16 CET 2026


On Fri, Mar 20, 2026 at 04:58:13AM +0100, Marek Vasut wrote:
> On 3/19/26 2:41 PM, Tom Rini wrote:
> 
> [...]
> 
> > > > So I think the answer is if you fire up menuconfig, and turn off
> > > > RESET_RZG2L_USBPHY_CTRL and REGULATOR_RZG2L_USBPHY and DM_REGULATOR and
> > > > then enable RESET_RZG2L_USBPHY_CTRL things will become mad because
> > > > RESET_RZG2L_USBPHY_CTRL has select'd REGULATOR_RZG2L_USBPHY but we don't
> > > > have DM_REGULATOR.
> > > How is it possible to enable RESET_RZG2L_USBPHY_CTRL without enabling its
> > > dependencies ? This is what I do not understand.
> > 
> > The way I said in the part you quoted? If you don't like the way I'm
> > solving the problem with the dependency graph here please propose an
> > alternate. But it is possible to encounter this problem, or randconfig
> > wouldn't expose it.
> What I do not understand is, how is it possible to enable Kconfig symbol
> without enabling its dependencies. Is that a bug in Kconfig ?

There is nothing ensuring that when you enable RESET_RZG2L_USBPHY_CTRL
today that DM_REGULATOR is enabled. But since you're telling it to
select REGULATOR_RZG2L_USBPHY it then will give an error.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260320/df90420c/attachment.sig>


More information about the U-Boot mailing list