• J
    power_supply: Enable battery-charger for 88pm860x · a830d28b
    Jett.Zhou 提交于
    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: NJett.Zhou <jtzhou@marvell.com>
    Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
    a830d28b
88pm860x_battery.c 25.8 KB