aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBen Deering <ben_deering@swissmail.org>2013-09-25 21:21:57 -0400
committerH. Nikolaus Schaller <hns@goldelico.com>2013-09-26 15:13:58 +0200
commit9fbf8c26dddf0ca11c79d5476de6045c6db8199a (patch)
tree4d9273c98abb62868b39a5fc580c63a81f562497 /scripts
parent8d1890f58d0602375fc6d67a518bcbbf1e5c5988 (diff)
downloadkernel_goldelico_gta04-9fbf8c26dddf0ca11c79d5476de6045c6db8199a.zip
kernel_goldelico_gta04-9fbf8c26dddf0ca11c79d5476de6045c6db8199a.tar.gz
kernel_goldelico_gta04-9fbf8c26dddf0ca11c79d5476de6045c6db8199a.tar.bz2
twl4030_charger: add software controlled linear charging mode.
adds a sysfs control node to achieve that. It can be set to auto: normal automatic charging is enabled (default) off: charging is off on: charing is on (software controlled) CC/CV mode is still automatically done, but end of charge due to low current not. Note: If linear charging mode is used there should be some method of stopping charging automatically. It is not a so time-critical, but it is the wrong setting for leaving a charger connected for several days since Lithium batteries should not be kept at 100% for longer periods. Linear charging does a good job with not so reliable power sources, since several voltage controlling is then often too intelligent. It was used with a bike hub dynamo since a year or so. In that case there are automatically charging stops when the cyclist needs a break. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Make the needed changes to Andreas Kemnade's software controlled linear charging patch so it will work with the 3.12 kernel Signed-off-by: Ben Deering <ben_deering@swissmail.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions