lkml.org 
[lkml]   [2012]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions
Date
This patchset add new feature related to charging battery to complement
necessary feature for charging. This patchset include following new feature
for charging battery.

Explain implemented feature of this patchset:
- Code clean on first and second patch.
- Add support sysfs entry for charger(regulator) to control charger from user-space.
If some development board use one more chargers(regulator) for charging but
only need one charger on specific case which is dependent on user scenario
or hardware restrictions, the user enter 1 or 0(zero) to "/sys/class/power_supply
/battery/charger.[index]/externally_control". For example, if user enter 1 to
"/sys/.../charger.[index]/externally_control", this charger isn't controlled
from charger-manager and always stay off state of regulator.
- Check fully charged state of battery periodically to prevent overcharging.
- Limit maximum possible duration of charging to prevent overcharging,
also check discharging duration to maintain fully charged state of battery
and to prevent much drop voltage than given data through platform data of
charger_desc.

Chanwoo Choi (5):
charger-manager: Disable battery charging when charger cable is
detached
charger-manager: Use replacement variable to check state of battery
charger-manager: Add support sysfs entry for charger
charger-manager: Check fully charged state of battery periodically
charger-manager: Support limit of maximum possible duration for
charging/discharging

drivers/power/charger-manager.c | 437 +++++++++++++++++++++++++++++----
include/linux/power/charger-manager.h | 45 +++-
2 files changed, 429 insertions(+), 53 deletions(-)



\
 
 \ /
  Last update: 2012-08-21 10:41    [W:0.039 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site