Re: [PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-03-26 Thread Lars-Peter Clausen
On 03/26/2013 08:27 PM, Pali Rohár wrote: > On Sunday 20 January 2013 10:53:01 Lars-Peter Clausen wrote: >> On 01/19/2013 03:01 PM, Pali Rohár wrote: >>> bq27xxx batteries have a lot of properties, more than >>> power_supply interface. Some of them can be usefull for >>> userspace applications (lik

Re: [PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-03-26 Thread Pali Rohár
On Sunday 20 January 2013 10:53:01 Lars-Peter Clausen wrote: > On 01/19/2013 03:01 PM, Pali Rohár wrote: > > bq27xxx batteries have a lot of properties, more than > > power_supply interface. Some of them can be usefull for > > userspace applications (like CI bit) but does not make > > sense to add

Re: [PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-01-20 Thread Lars-Peter Clausen
On 01/19/2013 03:01 PM, Pali Rohár wrote: > bq27xxx batteries have a lot of properties, more than power_supply interface. > Some of them can be usefull for userspace applications (like CI bit) but > does not make sense to add bq specified property to power_supply interface. > When bq27x00_battery i

Re: [PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-01-19 Thread Anton Vorontsov
On Sat, Jan 19, 2013 at 03:01:43PM +0100, Pali Rohár wrote: > bq27xxx batteries have a lot of properties, more than power_supply interface. > Some of them can be usefull for userspace applications (like CI bit) but > does not make sense to add bq specified property to power_supply interface. > When

[PATCH] power: bq27x00_battery: Export all battery registers via sysfs

2013-01-19 Thread Pali Rohár
bq27xxx batteries have a lot of properties, more than power_supply interface. Some of them can be usefull for userspace applications (like CI bit) but does not make sense to add bq specified property to power_supply interface. When bq27x00_battery is not loaded userspace application (like i2cget) c