Re: [PATCH v1] usb: phy: generic: add vbus support

2014-11-21 Thread Philipp Zabel
On Fri, Nov 21, 2014 at 6:24 PM, Robert Jarzmik wrote: > Felipe Balbi writes: > >> On Sun, Nov 09, 2014 at 03:58:14PM +0100, Robert Jarzmik wrote: >>> +if (!enabled) { >>> +ret = regulator_enable(vbus_draw); >>> +if (ret < 0) >>> +

Re: [PATCH v1] usb: phy: generic: add vbus support

2014-11-21 Thread Felipe Balbi
Hi, On Fri, Nov 21, 2014 at 06:24:44PM +0100, Robert Jarzmik wrote: > Felipe Balbi writes: > > > On Sun, Nov 09, 2014 at 03:58:14PM +0100, Robert Jarzmik wrote: > >> + if (!enabled) { > >> + ret = regulator_enable(vbus_draw); > >> + if (ret < 0) > >> +

Re: [PATCH v1] usb: phy: generic: add vbus support

2014-11-21 Thread Robert Jarzmik
Felipe Balbi writes: > On Sun, Nov 09, 2014 at 03:58:14PM +0100, Robert Jarzmik wrote: >> +if (!enabled) { >> +ret = regulator_enable(vbus_draw); >> +if (ret < 0) >> +return; >> +nop->vbus_draw_ena

Re: [PATCH v1] usb: phy: generic: add vbus support

2014-11-21 Thread Felipe Balbi
Hi Robert, On Sat, Nov 15, 2014 at 12:01:00PM +0100, Robert Jarzmik wrote: > Robert Jarzmik writes: > > > Add support for vbus detection and power supply. This code is more or > > less stolen from phy-gpio-vbus-usb.c, and aims at providing a detection > > mechanism for VBus (ie. usb cable plug)

Re: [PATCH v1] usb: phy: generic: add vbus support

2014-11-21 Thread Felipe Balbi
On Sun, Nov 09, 2014 at 03:58:14PM +0100, Robert Jarzmik wrote: > Add support for vbus detection and power supply. This code is more or > less stolen from phy-gpio-vbus-usb.c, and aims at providing a detection > mechanism for VBus (ie. usb cable plug) based on a GPIO line, and a > power supply acti

Re: [PATCH v1] usb: phy: generic: add vbus support

2014-11-15 Thread Robert Jarzmik
Robert Jarzmik writes: > Add support for vbus detection and power supply. This code is more or > less stolen from phy-gpio-vbus-usb.c, and aims at providing a detection > mechanism for VBus (ie. usb cable plug) based on a GPIO line, and a > power supply activation which draws current from the VBu

[PATCH v1] usb: phy: generic: add vbus support

2014-11-09 Thread Robert Jarzmik
Add support for vbus detection and power supply. This code is more or less stolen from phy-gpio-vbus-usb.c, and aims at providing a detection mechanism for VBus (ie. usb cable plug) based on a GPIO line, and a power supply activation which draws current from the VBus. Signed-off-by: Robert Jarzmik