Re: [PATCH resend v4] phy: Add driver to support individual USB PHYs on sun9i

From: Maxime Ripard
Date: Fri Mar 13 2015 - 05:30:11 EST

On Fri, Mar 13, 2015 at 04:24:14PM +0800, Chen-Yu Tsai wrote:
> >> + phy->vbus = devm_regulator_get_optional(dev, "vbus");
> >
> >
> > Looks like vbus-supply is not documented in the binding documentation.
> > However you can use the phy-supply from the generic binding so that phy-core
> > can handle the regulator enable/disable.
> I'll add this one to the bindings because a) the DTS files using them are
> already in Maxime's tree and b) try to keep it similar to phy-usb-sun4i.
> Of course if people think it's OK, I can send a patch changing the DTS
> file, which itself is queued for 4.1, and drop all the regulator code
> from the phy driver. :)
> Maxime?

Sounds like a good plan :)


Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering

Attachment: signature.asc
Description: Digital signature