linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions
@ 2012-08-21  8:05 Chanwoo Choi
  2012-09-21  5:15 ` Anton Vorontsov
  0 siblings, 1 reply; 2+ messages in thread
From: Chanwoo Choi @ 2012-08-21  8:05 UTC (permalink / raw)
  To: anton.vorontsov
  Cc: cbouatmailru, jenny.tc, ramakrishna.pallala, myungjoo.ham,
	kyungmin.park, linux-kernel, Chanwoo Choi

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(-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions
  2012-08-21  8:05 [PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions Chanwoo Choi
@ 2012-09-21  5:15 ` Anton Vorontsov
  0 siblings, 0 replies; 2+ messages in thread
From: Anton Vorontsov @ 2012-09-21  5:15 UTC (permalink / raw)
  To: Chanwoo Choi
  Cc: jenny.tc, ramakrishna.pallala, myungjoo.ham, kyungmin.park, linux-kernel

On Tue, Aug 21, 2012 at 05:05:59PM +0900, Chanwoo Choi wrote:
[...]
> 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

Thanks a lot for your work!

Patches 1-2 and 4-5 applied. Patch 3 failed to build, so I guess
it will need some fixes and resend.

Cheers,
Anton.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-21  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-21  8:05 [PATCH 0/5] charger-manager: Update charger-manager to support various charging conditions Chanwoo Choi
2012-09-21  5:15 ` Anton Vorontsov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).