Re: [PATCH v2] power_supply: Added support for power supply attribute sources

2012-08-06 Thread Anton Vorontsov
On Fri, Jul 27, 2012 at 06:28:31PM +, Pallala, Ramakrishna wrote: [...] > > > Signed-off-by: Ramakrishna Pallala > > > --- > > [...] > > > +extern int power_supply_attributes_register(struct device *parent, > > > + struct power_supply_attr_source *psy_attr); > > > > Ca

RE: [PATCH v2] power_supply: Added support for power supply attribute sources

2012-08-05 Thread Pallala, Ramakrishna
Hi Anton, > > On Thu, Jul 26, 2012 at 08:47:24PM +0530, Ramakrishna Pallala wrote: > > > On some platforms one driver(or HW chip) may not be able to provide > > > all the necessary attributes of the power supply connected to the > > > platform or may provide very limited info which can be used by

RE: [PATCH v2] power_supply: Added support for power supply attribute sources

2012-07-27 Thread Pallala, Ramakrishna
Hi Anton, > On Thu, Jul 26, 2012 at 08:47:24PM +0530, Ramakrishna Pallala wrote: > > On some platforms one driver(or HW chip) may not be able to provide > > all the necessary attributes of the power supply connected to the > > platform or may provide very limited info which can be used by core/pri

Re: [PATCH v2] power_supply: Added support for power supply attribute sources

2012-07-26 Thread Anton Vorontsov
Hello Ramakrishna, On Thu, Jul 26, 2012 at 08:47:24PM +0530, Ramakrishna Pallala wrote: > On some platforms one driver(or HW chip) may not be able to provide all > the necessary attributes of the power supply connected to the platform or > may provide very limited info which can be used by core/pr

[PATCH v2] power_supply: Added support for power supply attribute sources

2012-07-26 Thread Ramakrishna Pallala
On some platforms one driver(or HW chip) may not be able to provide all the necessary attributes of the power supply connected to the platform or may provide very limited info which can be used by core/primary drivers. For example a temperature sensor chip placed near the battery can be used to re