Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-09-07 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-09-07 Thread Felipe Balbi
Hi, Mike Looijmans writes: > Met vriendelijke groet / kind regards, > > Mike Looijmans > System Expert > > > TOPIC Embedded Products B.V. > Materiaalweg 4, 5681 RJ Best > The Netherlands > > T: +31 (0) 499 33 69 69 > E: mike.looijm...@topicproducts.com > W: www.topicproducts.com > > Please

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-28 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-27 Thread Mark Brown
On Mon, Jul 27, 2020 at 01:50:26PM +0200, Mike Looijmans wrote: > > Met vriendelijke groet / kind regards, > > Mike Looijmans > System Expert You probably want to remove your signature when replying to the list... > On 27-07-2020 12:23, Mark Brown wrote: > > On Sun, Jul 26, 2020 at 09:10:39AM

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-27 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-27 Thread Mark Brown
On Sun, Jul 26, 2020 at 09:10:39AM +0200, Mike Looijmans wrote: > On 23-07-2020 13:05, Mark Brown wrote: > > Does the device actually support running without power so that's a thing > > that can happen? _get_optional() should only ever be used for supplies > > that may be physically absent. >

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-26 Thread Mike Looijmans
Met vriendelijke groet / kind regards, Mike Looijmans System Expert TOPIC Embedded Products B.V. Materiaalweg 4, 5681 RJ Best The Netherlands T: +31 (0) 499 33 69 69 E: mike.looijm...@topicproducts.com W: www.topicproducts.com Please consider the environment before printing this e-mail On

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-23 Thread Mark Brown
On Thu, Jul 23, 2020 at 09:56:14AM +0200, Vincent Whitchurch wrote: > On Fri, Jun 19, 2020 at 04:25:12PM +0200, Mike Looijmans wrote: > > +void dwc3_set_vbus(struct dwc3 *dwc, bool enable) > > +{ > > + int ret; > > + > > + if (enable != dwc->vbus_reg_enabled) { > > + if (enable) > >

Re: [PATCH v3] usb: dwc3: Add support for VBUS power control

2020-07-23 Thread Vincent Whitchurch
On Fri, Jun 19, 2020 at 04:25:12PM +0200, Mike Looijmans wrote: > +void dwc3_set_vbus(struct dwc3 *dwc, bool enable) > +{ > + int ret; > + > + if (enable != dwc->vbus_reg_enabled) { > + if (enable) > + ret = regulator_enable(dwc->vbus_reg); > +