Re: [PATCH v2] usb: phy: generic: request the vbus supply only when it is described
From: Greg Kroah-Hartman
Date: Fri Nov 20 2026 - 10:38:49 EST
On Tue, Nov 17, 2026 at 05:45:39PM +0800, Yang Siyuan wrote:
> usb_phy_gen_create_phy() unconditionally asks for an exclusive "vbus"
> regulator. The legacy usb_phy_generic platform device registered by USB
> glue drivers (e.g. sunxi MUSB) has no firmware node, so the lookup ends
> up in the dummy-regulator path and the regulator core warns:
>
> usb_phy_generic usb_phy_generic.1.auto: dummy supplies not allowed for
> exclusive requests (id=vbus)
>
> Only issue the request when the device firmware actually describes a
> vbus-supply, and keep treating -ENODEV as "not present".
>
> Fixes: 03e607cbb293 ("usb: phy: generic: Get the vbus supply")
>
> Signed-off-by: Yang Siyuan <hsyysy@xxxxxxx>
No blank line after the Fixes: tag please.
thanks,
greg k-h