]> git.baikalelectronics.ru Git - kernel.git/commit
power_supply: Enable battery-charger for 88pm860x
authorJett.Zhou <jtzhou@marvell.com>
Fri, 27 Jul 2012 08:27:16 +0000 (16:27 +0800)
committerAnton Vorontsov <anton.vorontsov@linaro.org>
Thu, 20 Sep 2012 22:32:55 +0000 (15:32 -0700)
commitaef8ec8e7ee188aa4b4335d7091d2c7359241bcd
tree304249dfc3d1100114a88e3c01509158a52eb86e
parentad566301b915f6ab3427cd8f6c14398aa08278a3
power_supply: Enable battery-charger for 88pm860x

There are charger and battery measurement feature for 88pm860x PMIC.

For charger, it can support pre-charge with small current when battery is
nearly exausted and then changed into fast-charge with CC&CV mode.

For battery monitor, it can support battery measurement such as
vbat,vsys,vchg and ibat etc,it can aslo accumulating the Coulomb value
charged or discharged from battery based on Conlomb Counter, we use it
to estimate battery capacity.

Signed-off-by: Jett.Zhou <jtzhou@marvell.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
drivers/mfd/88pm860x-core.c
drivers/power/88pm860x_battery.c [new file with mode: 0644]
drivers/power/88pm860x_charger.c [new file with mode: 0644]
drivers/power/Kconfig
drivers/power/Makefile
include/linux/mfd/88pm860x.h