Messages in this thread | | | Date | Wed, 22 Dec 2010 13:33:59 +0000 | From | Mark Brown <> | Subject | Re: [PATCH v2 5/6] MFD MAX8998/LP3974: Charger Support |
| |
On Wed, Dec 22, 2010 at 03:23:10PM +0900, MyungJoo Ham wrote: > With the new regulator, "CHARGER", users can control charging > current and turn on and off the charger. Note that the charger > specification of LP3974 is different from that of MAX8998. > > "CHARGER_ONLINE" monitors the charger status, which can be > different from the status "CHARGER"; e.g., users allowed the charger > to charge, but the MAX8998 chip decided not to do so. > > "BATTERY_ONLINE" monitors the battery status (the existence of the > battery).
Normally I'd expect a battery charger to be exposed via the power supply API - I'd at least expect to see a consumer in the power supply API which manages the charger and given the amount of automation you usually see in chargers integrated into PMICs (things like automatically starting and stopping themselves) it's not entirely clear that they map on that well to the regulator API.
| |