Skip to content

X-Power AXP288 PMIC Fuel Gauge Driver

Todd Brandt linux-iio linux-pm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 4 repliesIn review
  2. v3 posting 2/23 patches 3 repliesApplied
  3. v3 posting 1/23 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v23 patches5 repliesSuperseded
v13 patches9 repliesApplied

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mfd/axp20x: change battery cell name to fuel gaugedrivers/mfd/axp20x.c+4 -40 replies
2/3mfd/axp20x: add support for fuel gauge cellinclude/linux/mfd/axp20x.h+41 -20 replies
3/3X-Power AXP288 PMIC Fuel Gauge Driverdrivers/power/Kconfig drivers/power/Makefile drivers/power/axp288_fuel_gauge.c+1161 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchJacob PanSebastian Reichel
1/3A-b A-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/3] X-Power AXP288 PMIC Fuel Gauge Driver

New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues

Sebestian, please review the patch set and consider it for 3.20 rc1. I've applied it over git.infradead.org/battery-2.6.git/master and verified that it works. Thanks.

Todd Brandt (3):
mfd/axp20x: change battery cell name to fuel gauge mfd/axp20x: add support for fuel gauge cell X-Power AXP288 PMIC Fuel Gauge Driver

v1: 01/07/15
v2: 01/22/15
- replaced the const in axp20x_acpi_match declaration
- reformatted the commit text
- added IIO as driver dependency
- moved debug info to debugfs in file fuelgauge
- added HEALTH_COLD value to health calculation
- added better cleanup to remove call
cancelling any delayed work calls
unregistration of the power_supply
v3: 01/28/15
- moved debugs create and init config regs after error case
- freed the virqs in the remove function
- remove .owner field as it is populated automatically
v4: 02/04/15
- re-applied to Sebastian Reichel's repo git.infradead.org/battery-2.6.git

 drivers/mfd/axp20x.c              |    8 +-
 drivers/power/Kconfig             |    9 +
 drivers/power/Makefile            |    1 +
 drivers/power/axp288_fuel_gauge.c | 1151 +++++++++++++++++++++++++++++++++++++
 include/linux/mfd/axp20x.h        |   43 +-
 5 files changed, 1206 insertions(+), 6 deletions(-)
 create mode 100644 drivers/power/axp288_fuel_gauge.c
Signature · 1 line
2.1.0