Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Baolin Wang
Hi Jun, On 18 April 2016 at 16:27, Jun Li wrote: >> >> >> >> But another issue is some users may need to get the charger type from >> >> power supply by "power_supply_get_property()" function, we need to >> >> integrate with the power supply things in the usb charger framework, >> >> not user to

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-18 Thread Jun Li
@lists.linuxfoundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework > > Hi Jun, > > Sorry for late reply. > > >> >> >> >> +/* > >> >> >> >> + * usb_c

Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-11 Thread Baolin Wang
Hi Jun, Sorry for late reply. >> >> >> >> +/* >> >> >> >> + * usb_charger_detect_type() - detect the charger type manually. >> >> >> >> + * @uchger - usb charger device >> >> >> >> + * >> >> >> >> + * Note: You should ensure you need to detect the charger type >> >> >> >> +manually on your >> >>

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-10 Thread Jun Li
@lists.linuxfoundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework > > On 8 April 2016 at 19:27, Jun Li wrote: > > > > > >> -Original Message- > >> From: Baolin Wang [mailto:baolin.w...@linaro

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Jun Li
@lists.linuxfoundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework > > Hi Jun, > > On 8 April 2016 at 16:04, Jun Li wrote: > > Hi, Baolin > > > >> +/* > >> + * usb_charger_detect_ty

Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Baolin Wang
t;> linux...@vger.kernel.org; linux-...@vger.kernel.org; device- >> mainlin...@lists.linuxfoundation.org; linux-kernel@vger.kernel.org >> Subject: Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework >> >> Hi Jun, >> >> >> >> +/* &g

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Jun Li
linuxfoundation.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework > > Hi Jun, > > >> >> +/* > >> >> + * usb_charger_detect_type() - detect the charger type manually. > >> >> + * @uchg

Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Baolin Wang
Hi Jun, >> >> +/* >> >> + * usb_charger_detect_type() - detect the charger type manually. >> >> + * @uchger - usb charger device >> >> + * >> >> + * Note: You should ensure you need to detect the charger type >> >> +manually on your >> >> + * platform. >> >> + * You should call it at the right gad

Re: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Baolin Wang
Hi Jun, On 8 April 2016 at 16:04, Jun Li wrote: > Hi, Baolin > >> +/* >> + * usb_charger_detect_type() - detect the charger type manually. >> + * @uchger - usb charger device >> + * >> + * Note: You should ensure you need to detect the charger type manually >> +on your >> + * platform. >> + * You

RE: [PATCH v10 1/4] gadget: Introduce the usb charger framework

2016-04-08 Thread Jun Li
Hi, Baolin > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Baolin Wang > Sent: Thursday, April 07, 2016 7:49 PM > To: ba...@kernel.org; gre...@linuxfoundation.org; s...@kernel.org; > dbarysh...@gmail.com; dw...@infradead