lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 21 Aug 2012 17:05:59 +0900
From:	Chanwoo Choi <cw00.choi@...sung.com>
To:	anton.vorontsov@...aro.org
Cc:	cbouatmailru@...il.com, jenny.tc@...el.com,
	ramakrishna.pallala@...el.com, myungjoo.ham@...sung.com,
	kyungmin.park@...sung.com, linux-kernel@...r.kernel.org,
	Chanwoo Choi <cw00.choi@...sung.com>
Subject: [PATCH 0/5] charger-manager: Update charger-manager to support various
 charging conditions

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ