]> 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)
commit01acada4f91c7536b6e75741eef33d13ba4e3d5a
tree304249dfc3d1100114a88e3c01509158a52eb86e
parent58557f6f2c1341413ab6d648c836733ea45a6084
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