Felipe Balbi <balbi@xxxxxx> writes: > Hi, > > On Sun, Nov 02, 2014 at 07:11:49PM +0100, Robert Jarzmik wrote: >> In order to prepare device-tree conversion, port gpio_vbus to use >> gpio_desc. >> >> Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx> > > Can we just convert users of this to a phy-generic.c with a regulator ? Maybe, let's see what is missing. > This is basically what gpio-vbus is doing, it's basically a regulator. And a detector too. The basic thing is that it request an interrupt, and upon this interrupt it schedules through a workqueue a usb_gadget_vbus_connect() and the regulator stuff. I don't see the interrupt+ usb_gadget_vbus_connect() stuff that in the phy-generic. Am I missing something ? Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html