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 :) Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
signature.asc
Description: Digital signature