Re: [PATCH] usb: dwc3: omap: Use devm_regulator_get_optional()

From: Rob Herring
Date: Mon Jan 06 2025 - 16:37:52 EST


On Mon, Jan 6, 2025 at 6:49 AM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Tue, Dec 31, 2024 at 10:44:56AM -0600, Rob Herring (Arm) wrote:
> > The 'vbus-supply' regulator is optional, so use
> > devm_regulator_get_optional() instead of checking for property presence
> > first.
>
> Is it actually optional? The name suggests it's likely to be
> required...

That's what the binding says. From a quick scan, I only see this used
for OMAP5. The preference is for this to be in the connector node as
that is where Vbus is hooked up to typically.

Rob