Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-29 Thread Baolin Wang
Hi, On 29 March 2017 at 07:04, NeilBrown wrote: > On Tue, Mar 07 2017, Baolin Wang wrote: > >> On 3 March 2017 at 10:23, NeilBrown wrote: >> >>> >>> I understand your reluctance to change drivers that you cannot test. >>> An alternative it do change all the >>>

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-28 Thread NeilBrown
On Tue, Mar 07 2017, Baolin Wang wrote: > On 3 March 2017 at 10:23, NeilBrown wrote: > >> >> I understand your reluctance to change drivers that you cannot test. >> An alternative it do change all the >> atomic_notifier_call_chain(.*notifier, >> calls that don't pass a pointer

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-14 Thread Lee Jones
On Tue, 14 Mar 2017, Baolin Wang wrote: > Hi, > > On 14 March 2017 at 17:57, Lee Jones wrote: > > On Mon, 20 Feb 2017, Baolin Wang wrote: > > > > [...] > > > >> drivers/power/supply/wm831x_power.c | 63 +++ > >> drivers/usb/gadget/Kconfig |8 + > >>

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-14 Thread Baolin Wang
Hi, On 14 March 2017 at 17:57, Lee Jones wrote: > On Mon, 20 Feb 2017, Baolin Wang wrote: > > [...] > >> drivers/power/supply/wm831x_power.c | 63 +++ >> drivers/usb/gadget/Kconfig |8 + >> drivers/usb/gadget/udc/Makefile |1 + >>

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-14 Thread Lee Jones
On Mon, 20 Feb 2017, Baolin Wang wrote: [...] > drivers/power/supply/wm831x_power.c | 63 +++ > drivers/usb/gadget/Kconfig |8 + > drivers/usb/gadget/udc/Makefile |1 + > drivers/usb/gadget/udc/charger.c| 865 > +++ >

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-13 Thread Baolin Wang
nes <lee.jo...@linaro.org>; >> Mark Brown <broo...@kernel.org>; John Stultz <john.stu...@linaro.org>; >> Charles Keepax <ckee...@opensource.wolfsonmicro.com>; >> patc...@opensource.wolfsonmicro.com; Linux PM list > p...@vger.kernel.org>; USB <linux-

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-13 Thread Jun Li
.@linaro.org>; > Charles Keepax <ckee...@opensource.wolfsonmicro.com>; > patc...@opensource.wolfsonmicro.com; Linux PM list p...@vger.kernel.org>; USB <linux-usb@vger.kernel.org>; device- > mainlin...@lists.linuxfoundation.org; LKML <linux-ker...@vger.kernel.org> > Subject: Re:

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-13 Thread Baolin Wang
nes <lee.jo...@linaro.org>; >> Mark Brown <broo...@kernel.org>; John Stultz <john.stu...@linaro.org>; >> Charles Keepax <ckee...@opensource.wolfsonmicro.com>; >> patc...@opensource.wolfsonmicro.com; Linux PM list > p...@vger.kernel.org>; USB <linux-

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-12 Thread Jun Li
.@linaro.org>; > Charles Keepax <ckee...@opensource.wolfsonmicro.com>; > patc...@opensource.wolfsonmicro.com; Linux PM list p...@vger.kernel.org>; USB <linux-usb@vger.kernel.org>; device- > mainlin...@lists.linuxfoundation.org; LKML <linux-ker...@vger.kernel.org> > Subject: Re: [P

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-10 Thread Baolin Wang
nes <lee.jo...@linaro.org>; >> Mark Brown <broo...@kernel.org>; John Stultz <john.stu...@linaro.org>; >> Charles Keepax <ckee...@opensource.wolfsonmicro.com>; >> patc...@opensource.wolfsonmicro.com; Linux PM list > p...@vger.kernel.org>; USB <linux-

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-10 Thread Jun Li
gt; Charles Keepax <ckee...@opensource.wolfsonmicro.com>; > patc...@opensource.wolfsonmicro.com; Linux PM list p...@vger.kernel.org>; USB <linux-usb@vger.kernel.org>; device- > mainlin...@lists.linuxfoundation.org; LKML <linux-ker...@vger.kernel.org> > Subject

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-09 Thread Baolin Wang
On 10 March 2017 at 14:30, Jun Li wrote: >> >> > >> >> > Will generic phy need add extcon as well? >> >> >> >> Yes, will add a 'struct extcon_dev*' in 'struct usb_phy', which will >> >> be common code. >> >> >> > >> > I mean the common code need add 'struct extcon_dev' into both

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-09 Thread Jun Li
gt; Charles Keepax <ckee...@opensource.wolfsonmicro.com>; > patc...@opensource.wolfsonmicro.com; Linux PM list p...@vger.kernel.org>; USB <linux-usb@vger.kernel.org>; device- > mainlin...@lists.linuxfoundation.org; LKML <linux-ker...@vger.kernel.org> > Subjec

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-09 Thread Baolin Wang
u>; grygorii.stras...@ti.com; >> >> Yoshihiro Shimoda <yoshihiro.shimoda...@renesas.com>; Lee Jones >> >> <lee.jo...@linaro.org>; Mark Brown <broo...@kernel.org>; John Stultz >> >> <john.stu...@linaro.org>; Charles Keepax >> >> &

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-09 Thread Jun Li
gt; Charles Keepax <ckee...@opensource.wolfsonmicro.com>; > patc...@opensource.wolfsonmicro.com; Linux PM list p...@vger.kernel.org>; USB <linux-usb@vger.kernel.org>; device- > mainlin...@lists.linuxfoundation.org; LKML <linux-ker...@vger.kernel.org> > Subject: Re: [P

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-08 Thread Baolin Wang
moda...@renesas.com>; Lee Jones <lee.jo...@linaro.org>; >> Mark Brown <broo...@kernel.org>; John Stultz <john.stu...@linaro.org>; >> Charles Keepax <ckee...@opensource.wolfsonmicro.com>; >> patc...@opensource.wolfsonmicro.com; Linux PM list > p...@vger.kernel.org>; USB <

RE: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-08 Thread Jun Li
.@linaro.org>; > Charles Keepax <ckee...@opensource.wolfsonmicro.com>; > patc...@opensource.wolfsonmicro.com; Linux PM list p...@vger.kernel.org>; USB <linux-usb@vger.kernel.org>; device- > mainlin...@lists.linuxfoundation.org; LKML <linux-ker...@vger.kernel.org> > Subject:

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-07 Thread Baolin Wang
On 3 March 2017 at 10:23, NeilBrown wrote: > On Mon, Feb 20 2017, Baolin Wang wrote: > >> Currently the Linux kernel does not provide any standard integration of this >> feature that integrates the USB subsystem with the system power regulation >> provided by PMICs meaning that

Re: [PATCH v19 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2017-03-02 Thread NeilBrown
On Mon, Feb 20 2017, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > or USB gadget