Re: [PATCH 0/4] AB8500 Battery Management Driver

From: Anton Vorontsov
Date: Tue Mar 13 2012 - 20:59:07 EST


Hello Arun,

On Wed, Feb 29, 2012 at 09:54:24PM +0530, Arun Murthy wrote:
> Technical reference manual is available at
> http://www.stericsson.com/developers/CD00291561_UM1031_AB8500_user_manual-rev5_CTDS_public.pdf
>
> AB8500 battery driver consists of
> Generic charging algorithm(abx500-chargalg.c)
> Charger driver(ab8500-charger.c)
> Fuel Gauge driver(ab8500-fg.c)
> Battery temperature driver(ab8500-btemp.c)
> The power supply class driver can act as a supply as well as supplicant. Any
> state change in one power supply class driver can be notified to its
> supplicants using notification mechanism provided by Power Supply Class frame
> work. Each Power supply class driver lists its supplicant names in "supplied_to"
> struct member, and each power_supply_changed() call issued by power supply class
> driver will notify supplicants via external_power_changed callback.

A complex thing! Thanks for the driver, it's now applied.

p.s.
Would be nice if you have told that it depends on MFD changes
(i.e. is_ab8500_1p1_or_earlier() thing). :-) It builds with
linux-next (w/ a few small fixups, I'll send them as follow ups),
so it's fine.

--
Anton Vorontsov
Email: cbouatmailru@xxxxxxxxx
--
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/