linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v3 0/3] X-Power AXP288 PMIC Fuel Gauge Driver
@ 2015-02-02 23:41 Todd Brandt
  2015-02-02 23:41 ` [PATCH RESEND v3 1/3] mfd/axp20x: change battery cell name to fuel gauge Todd Brandt
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Todd Brandt @ 2015-02-02 23:41 UTC (permalink / raw)
  To: sre, dbaryshkov, david.woodhouse
  Cc: linux-pm, linux-iio, linux-kernel, todd.e.brandt, todd.e.brandt,
	jacob.jun.pan, sameo, lee.jones, dwmw2, jic23

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

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/14
v2: 01/22/14
- 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/14
- 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

 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

-- 
1.9.1

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-02-16 13:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02 23:41 [PATCH RESEND v3 0/3] X-Power AXP288 PMIC Fuel Gauge Driver Todd Brandt
2015-02-02 23:41 ` [PATCH RESEND v3 1/3] mfd/axp20x: change battery cell name to fuel gauge Todd Brandt
2015-02-16 13:54   ` Lee Jones
2015-02-02 23:41 ` [PATCH RESEND v3 2/3] mfd/axp20x: add support for fuel gauge cell Todd Brandt
2015-02-02 23:41 ` [PATCH RESEND v3 3/3] X-Power AXP288 PMIC Fuel Gauge Driver Todd Brandt
2015-02-02 20:57   ` Brandt, Todd E
2015-02-04 15:07     ` sre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).