Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-04 Thread Peter Chen
gt; >> abres...@chromium.org; r.bald...@samsung.com; linux-usb@vger.kernel.org; > >> linux-ker...@vger.kernel.org; linux-o...@vger.kernel.org > >> Subject: Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core > >> > >> Peter, > >> > >>

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-04 Thread Roger Quadros
uxfoundation.org; peter.c...@freescale.com; >> dan.j.willi...@intel.com; jun...@freescale.com; >> mathias.ny...@linux.intel.com; t...@atomide.com; joao.pi...@synopsys.com; >> abres...@chromium.org; r.bald...@samsung.com; linux-usb@vger.kernel.org; >> linux-ker...@vger.kernel.or

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-04 Thread Jun Li
lli...@intel.com; jun...@freescale.com; > mathias.ny...@linux.intel.com; t...@atomide.com; joao.pi...@synopsys.com; > abres...@chromium.org; r.bald...@samsung.com; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org; linux-o...@vger.kernel.org > Subject: Re: [PATCH v6 09/12] usb: gadget:

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-04 Thread Peter Chen
On Wed, May 04, 2016 at 09:37:29AM +0300, Roger Quadros wrote: > Peter, > > On 04/05/16 06:35, Peter Chen wrote: > > On Tue, May 03, 2016 at 06:44:46PM +0300, Roger Quadros wrote: > >> Hi, > >> > >> On 03/05/16 10:06, Jun Li wrote: > >>> Hi > >>> > >>> /** > >>> + * usb_gadget_sta

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-03 Thread Roger Quadros
Peter, On 04/05/16 06:35, Peter Chen wrote: > On Tue, May 03, 2016 at 06:44:46PM +0300, Roger Quadros wrote: >> Hi, >> >> On 03/05/16 10:06, Jun Li wrote: >>> Hi >>> >>> /** >>> + * usb_gadget_start - start the usb gadget controller and >>> +connect to bus >>> + *

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-03 Thread Peter Chen
On Tue, May 03, 2016 at 06:44:46PM +0300, Roger Quadros wrote: > Hi, > > On 03/05/16 10:06, Jun Li wrote: > > Hi > > > > /** > > + * usb_gadget_start - start the usb gadget controller and > > +connect to bus > > + * @gadget: the gadget device to start > >

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-03 Thread Peter Chen
On Tue, May 03, 2016 at 06:44:46PM +0300, Roger Quadros wrote: > Hi, > > On 03/05/16 10:06, Jun Li wrote: > > Hi > > > > /** > > + * usb_gadget_start - start the usb gadget controller and > > +connect to bus > > + * @gadget: the gadget device to start > >

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-03 Thread Roger Quadros
Hi, On 03/05/16 10:06, Jun Li wrote: > Hi > > /** > + * usb_gadget_start - start the usb gadget controller and > +connect to bus > + * @gadget: the gadget device to start > + * > + * This is external API for use by OTG core. > + * >

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-05-03 Thread Jun Li
Hi > >>> /** > >>> + * usb_gadget_start - start the usb gadget controller and > >>> +connect to bus > >>> + * @gadget: the gadget device to start > >>> + * > >>> + * This is external API for use by OTG core. > >>> + * > >>> + * Start the usb device controller and c

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-28 Thread Roger Quadros
>>> Cc: dan.j.willi...@intel.com; jun...@freescale.com; >>>>> mathias.ny...@linux.intel.com; t...@atomide.com; >>>>> joao.pi...@synopsys.com; abres...@chromium.org; >>>>> r.bald...@samsung.com; linux-usb@vger.kernel.org; >>>>> lin

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-28 Thread Jun Li
n...@freescale.com; > mathias.ny...@linux.intel.com; t...@atomide.com; joao.pi...@synopsys.com; > abres...@chromium.org; r.bald...@samsung.com; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org; linux-o...@vger.kernel.org > Subject: Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core &

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-28 Thread Roger Quadros
ld...@samsung.com; linux-usb@vger.kernel.org; >>> linux-ker...@vger.kernel.org; linux-o...@vger.kernel.org >>> Subject: Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core >>> >>> Hi, >>> >>> On 21/04/16 09:38, Jun Li wrote: >>>> Hi, >>&g

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-27 Thread Roger Quadros
...@freescale.com >> Cc: dan.j.willi...@intel.com; jun...@freescale.com; >> mathias.ny...@linux.intel.com; t...@atomide.com; joao.pi...@synopsys.com; >> abres...@chromium.org; r.bald...@samsung.com; linux-usb@vger.kernel.org; >> linux-ker...@vger.kernel.org; linux-o...@vger.

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-25 Thread Jun Li
n...@freescale.com; > mathias.ny...@linux.intel.com; t...@atomide.com; joao.pi...@synopsys.com; > abres...@chromium.org; r.bald...@samsung.com; linux-usb@vger.kernel.org; > linux-ker...@vger.kernel.org; linux-o...@vger.kernel.org > Subject: Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core &

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-25 Thread Roger Quadros
Hi, On 21/04/16 09:38, Jun Li wrote: > Hi, > > ... >> >> /** >> + * usb_gadget_start - start the usb gadget controller and connect to >> +bus >> + * @gadget: the gadget device to start >> + * >> + * This is external API for use by OTG core. >> + * >> + * Start the usb device controller and conne

RE: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-20 Thread Jun Li
Hi, ... > > /** > + * usb_gadget_start - start the usb gadget controller and connect to > +bus > + * @gadget: the gadget device to start > + * > + * This is external API for use by OTG core. > + * > + * Start the usb device controller and connect to bus (enable pull). > + */ > +static int usb_ga

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-19 Thread Roger Quadros
On 18/04/16 09:59, Peter Chen wrote: > On Tue, Apr 05, 2016 at 05:05:14PM +0300, Roger Quadros wrote: >> The OTG state machine needs a mechanism to start and >> stop the gadget controller. Add usb_gadget_start() >> and usb_gadget_stop(). >> >> Introduce usb_otg_add_gadget_udc() to allow controller

Re: [PATCH v6 09/12] usb: gadget: udc: adapt to OTG core

2016-04-18 Thread Peter Chen
On Tue, Apr 05, 2016 at 05:05:14PM +0300, Roger Quadros wrote: > The OTG state machine needs a mechanism to start and > stop the gadget controller. Add usb_gadget_start() > and usb_gadget_stop(). > > Introduce usb_otg_add_gadget_udc() to allow controller drivers > to register a gadget controller t