• Jett.Zhou's avatar
    power_supply: Enable battery-charger for 88pm860x · a830d28b
    Jett.Zhou authored
    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: default avatarJett.Zhou <jtzhou@marvell.com>
    Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
    a830d28b
88pm860x-core.c 26.1 KB