Skip to content

Optimize the Spreadtrum SC27xx fuel gauge

Baolin Wang linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6power: supply: sc27xx: Add POWER_SUPPLY_PROP_ENERGY_FULL_DESIGN attributedrivers/power/supply/sc27xx_fuel_gauge.c+5 -00 replies
2/6power: supply: sc27xx: Fix conditon to enable the FGU interruptdrivers/power/supply/sc27xx_fuel_gauge.c+2 -10 replies
3/6power: supply: sc27xx: Fix the the accuracy issue of coulomb calculationdrivers/power/supply/sc27xx_fuel_gauge.c+4 -70 replies
4/6power: supply: sc27xx: Optimize the battery capacity calibrationdrivers/power/supply/sc27xx_fuel_gauge.c+92 -350 replies
5/6power: supply: sc27xx: Make sure the alarm capacity is larger than 0drivers/power/supply/sc27xx_fuel_gauge.c+2 -00 replies
6/6power: supply: sc27xx: Add POWER_SUPPLY_PROP_CALIBRATE attributedrivers/power/supply/sc27xx_fuel_gauge.c+19 -80 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Optimize the Spreadtrum SC27xx fuel gauge

Hi,

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.

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(-)
Signature · 1 line
1.7.9.5