Re: [PATCH] [RFC]power: battery: Generic battery driver using IIO

From: anish kumar
Date: Tue Sep 04 2012 - 11:05:32 EST


On Sun, 2012-09-02 at 14:34 -0700, Anton Vorontsov wrote:
> On Sun, Sep 02, 2012 at 09:44:04PM +0530, Sannu K wrote: [...]
> > Just Curious what is the use of this module? Is there any user space
> > program uses this? When ACPI drivers for battery is available how
> > useful will this be?
>
> That's mostly for embedded devices. They often have batteries directly
> connected to ADC (analog to digital converters) channels, so that's the
> only way to read e.g. voltage.
>
> As for userspace, since it's battery class driver, pretty much every
> userspace stack can use it.
Can I get some review comments on this?
>
> Thanks,
> Anton.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/