Message ID | cover.1564566425.git.baolin.wang@linaro.org |
---|---|
Headers | show |
Series | Optimize the Spreadtrum SC27xx fuel gauge | expand |
Hi, On Wed, Jul 31, 2019 at 06:00:22PM +0800, Baolin Wang wrote: > This patch set adds new attributes for userspace, and fixes the the > accuracy issue of coulomb counter calculation, as well as optimizing > the battery capacity calibration in some abnormal scenarios. > > Any comments are welcome. Thanks. Thanks, queued. I slightly modified patch 4, so that int_mode is 'bool' instead of 'int'. -- Sebastian > > Yuanjiang Yu (6): > power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN > attribute > power: supply: sc27xx: Fix conditon to enable the FGU interrupt > power: supply: sc27xx: Fix the the accuracy issue of coulomb > calculation > power: supply: sc27xx: Optimize the battery capacity calibration > power: supply: sc27xx: Make sure the alarm capacity is larger than 0 > power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attribute > > drivers/power/supply/sc27xx_fuel_gauge.c | 175 +++++++++++++++++++++--------- > 1 file changed, 124 insertions(+), 51 deletions(-) > > -- > 1.7.9.5 >