Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-03-04 Thread Anton Vorontsov
On Mon, Mar 04, 2013 at 12:32:35PM -0500, Rhyland Klein wrote: [...] > >>Anton, David, would you be adverse to the changing of supplied_to > >>from being a > >>list of batteries stored in a charger to being a list of chargers > >>stored in batteries? > >> > >I wonder if we can support both ways?..

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-03-04 Thread Rhyland Klein
On 3/2/2013 5:48 PM, Anton Vorontsov wrote: On Thu, Feb 28, 2013 at 02:48:03PM -0500, Rhyland Klein wrote: [...] Anton, David, would you be adverse to the changing of supplied_to from being a list of batteries stored in a charger to being a list of chargers stored in batteries? I wonder if we c

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-03-02 Thread Anton Vorontsov
On Thu, Feb 28, 2013 at 02:48:03PM -0500, Rhyland Klein wrote: [...] > Anton, David, would you be adverse to the changing of supplied_to > from being a > list of batteries stored in a charger to being a list of chargers > stored in batteries? I wonder if we can support both ways?.. Thanks, Anton

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-28 Thread Rhyland Klein
On 2/22/2013 6:01 PM, Stephen Warren wrote: On 02/22/2013 02:55 PM, Rhyland Klein wrote: On 2/22/2013 2:49 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. T

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-28 Thread Rhyland Klein
On 2/22/2013 4:58 PM, Rhyland Klein wrote: On 2/22/2013 3:09 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how charge

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Stephen Warren
On 02/22/2013 02:55 PM, Rhyland Klein wrote: > On 2/22/2013 2:49 PM, Stephen Warren wrote: >> On 02/21/2013 04:11 PM, Rhyland Klein wrote: >>> With the growing support for dt, it make sense to try to make use of >>> dt features to make the general code cleaner. This patch is an >>> attempt to commo

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Rhyland Klein
On 2/22/2013 3:09 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked. Following

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Rhyland Klein
On 2/22/2013 2:49 PM, Stephen Warren wrote: On 02/21/2013 04:11 PM, Rhyland Klein wrote: With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked. Following

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Stephen Warren
On 02/21/2013 04:11 PM, Rhyland Klein wrote: > With the growing support for dt, it make sense to try to make use of > dt features to make the general code cleaner. This patch is an > attempt to commonize how chargers and their supplies are linked. > > Following common dt convention, the "supplied-

Re: [RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-22 Thread Stephen Warren
On 02/21/2013 04:11 PM, Rhyland Klein wrote: > With the growing support for dt, it make sense to try to make use of > dt features to make the general code cleaner. This patch is an > attempt to commonize how chargers and their supplies are linked. > > Following common dt convention, the "supplied-

[RFC v2 2/3] power: power_supply: Add core support for supplied_nodes

2013-02-21 Thread Rhyland Klein
With the growing support for dt, it make sense to try to make use of dt features to make the general code cleaner. This patch is an attempt to commonize how chargers and their supplies are linked. Following common dt convention, the "supplied-to" char** list is replaced with phandle lists defined