Messages in this thread | | | Date | Wed, 14 Mar 2012 04:59:01 +0400 | From | Anton Vorontsov <> | Subject | Re: [PATCH 0/4] AB8500 Battery Management Driver |
| |
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@gmail.com
| |