]> git.karo-electronics.de Git - karo-tx-linux.git/commit
twl4030_charger: Add backup-battery charging
authorNeilBrown <neilb@suse.de>
Tue, 8 May 2012 21:40:40 +0000 (07:40 +1000)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 20 Jun 2012 02:12:53 +0000 (19:12 -0700)
commit210d4bc8a3128e3e61ac3bf4657114f8e6450e2a
tree456c27828d2d3f4e76539736a0d53165932d7cd2
parent9c645d2f887bd92df487b2c5dcd44d5fc0e7c761
twl4030_charger: Add backup-battery charging

This allows a voltage and current (bb_uvolts and bb_uamps) to be
specified in the platform_data, and charging of the backup battery will
be enabled with those specification.

As it is not possible to monitor the backup battery at all there is no
new device created to represent it.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/twl4030_charger.c
include/linux/i2c/twl.h