Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-10-08 Thread Greg KH
On Thu, Oct 08, 2015 at 07:04:05PM +0200, Pavel Machek wrote: > Hi! > > > > > * This program is free software; you can redistribute it and/or modify > > > > * it under the terms of the GNU General Public License version 2 as > > > > * published by the Free Software Foundation. > > > > > > Please,

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-10-08 Thread Pavel Machek
Hi! > > > * This program is free software; you can redistribute it and/or modify > > > * it under the terms of the GNU General Public License version 2 as > > > * published by the Free Software Foundation. > > > > Please, keep it V2 or later, if you can. It makes sharing code with U-Boot > > (fo

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-10-08 Thread Greg KH
On Thu, Oct 08, 2015 at 05:50:31PM +0200, Pavel Machek wrote: > Hi! > > > On 08/16/2015 08:03 PM, Baolin Wang via device-mainlining wrote: > > > On 14 August 2015 at 23:27, Greg KH wrote: > > >> On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: > > >>> + * > > >>> + * This program is f

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-10-08 Thread Pavel Machek
Hi! > On 08/16/2015 08:03 PM, Baolin Wang via device-mainlining wrote: > > On 14 August 2015 at 23:27, Greg KH wrote: > >> On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: > >>> + * > >>> + * This program is free software; you can redistribute it and/or modify > >>> + * it under the t

Re: [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Baolin Wang
On 18 August 2015 at 01:24, Mark Brown wrote: > On Mon, Aug 17, 2015 at 11:03:26AM +0800, Baolin Wang wrote: >> On 14 August 2015 at 23:27, Greg KH wrote: >> > On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: > >> >> + * This program is free software; you can redistribute it and/or mo

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Baolin Wang
On 17 August 2015 at 23:25, Tim Bird wrote: > > > On 08/16/2015 08:03 PM, Baolin Wang via device-mainlining wrote: >> On 14 August 2015 at 23:27, Greg KH wrote: >>> On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: + * + * This program is free software; you can redistribute i

Re: [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Mark Brown
On Mon, Aug 17, 2015 at 11:03:26AM +0800, Baolin Wang wrote: > On 14 August 2015 at 23:27, Greg KH wrote: > > On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: > >> + * This program is free software; you can redistribute it and/or modify > >> + * it under the terms of the GNU General P

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Tim Bird
On 08/16/2015 08:03 PM, Baolin Wang via device-mainlining wrote: > On 14 August 2015 at 23:27, Greg KH wrote: >> On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: >>> + * >>> + * This program is free software; you can redistribute it and/or modify >>> + * it under the terms of the GNU

Re: [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-16 Thread Baolin Wang
On 14 August 2015 at 23:27, Greg KH wrote: > On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: >> This patch introduces the usb charger driver based on usb gadget that >> makes an enhancement to a power driver. It works well in practice but >> that requires a system with suitable hardwa

Re: [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-14 Thread Greg KH
On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: > This patch introduces the usb charger driver based on usb gadget that > makes an enhancement to a power driver. It works well in practice but > that requires a system with suitable hardware. > > The basic conception of the usb charger

[PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-14 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from the