Skip to content

Add support for additional bq27xxx devices

Andrew F. Davis linux-pm lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 6 repliesIn review
  2. v47 patches 13 repliesSuperseded
  3. v36 patches 2 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v26 patches14 repliesSuperseded
v18 patches32 repliesSuperseded

Changes in v5 from the cover letter

- Changed if-then chains into lookups
- Rebased onto git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git (branch "next")

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6power: bq27x00_battery: Renaming for consistencyMAINTAINERS arch/arm/configs/omap2plus_defconfig arch/unicore32/Kconfig +5 more+187 -1863 replies
2/6power: bq27xxx_battery: Platform initialization must declare a devicedrivers/power/bq27xxx_battery.c drivers/w1/slaves/w1_bq27000.c include/linux/power/bq27xxx_battery.h+12 -40 replies
3/6power: bq27xxx_battery: Fix typos and change naming for state of charge functionsdrivers/power/bq27xxx_battery.c+14 -140 replies
4/6power: bq27xxx_battery: Add support for additional bq27xxx family devicesdrivers/power/bq27xxx_battery.c include/linux/power/bq27xxx_battery.h+421 -2110 replies
5/6power: bq27xxx_battery: Cleanup health checkingdrivers/power/bq27xxx_battery.c+42 -220 replies
6/6power: bq27xxx_battery: Add interrupt handling supportdrivers/power/bq27xxx_battery.c+23 -00 replies

Reviews trailers per patch

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

PatchPali RohárTony LindgrenGUAN Xuetao
1/6A-b A-b
2/6
3/6A-b
4/6
5/6A-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] Add support for additional bq27xxx devices

This series adds support for several additional bq27xxx devices and makes a few related fixes. v1 can be found here: [1] v2: [2] v3: [3]
v4: [4]

Changes from v4:
- Changed if-then chains into lookups
- Rebased onto git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git (branch "next")

Changes from v3:
- Added interrupt handling patch to series
- Rebased on v4.3-rc1

Changes from v2:
- Fix alignment issue
- Fix commit message typo
- Use INVALID_REG_ADDR in register mappings

Changes from v1:
- Drop first four patches from series as they have been queued at git://git.infradead.org/battery-2.6.git
- Remove MODULE_ALIAS
- Add comment about State-of-Charge
- Add additional links to documentation
- Add device names to id table
- Add unlikely to if statement
- Change return types to bool for status check functions

[1] http://www.spinics.net/lists/kernel/msg2039278.html
[2] http://www.spinics.net/lists/kernel/msg2043759.html
[3] http://www.spinics.net/lists/kernel/msg2050196.html
[4] http://www.spinics.net/lists/kernel/msg2074530.html

Andrew F. Davis (6):
power: bq27x00_battery: Renaming for consistency
power: bq27xxx_battery: Platform initialization must declare a device
power: bq27xxx_battery: Fix typos and change naming for state of
charge functions
power: bq27xxx_battery: Add support for additional bq27xxx family
devices
power: bq27xxx_battery: Cleanup health checking
power: bq27xxx_battery: Add interrupt handling support

 MAINTAINERS                           |    4 +-
 arch/arm/configs/omap2plus_defconfig  |    2 +-
 arch/unicore32/Kconfig                |    2 +-
 drivers/power/Kconfig                 |   22 +-
 drivers/power/Makefile                |    2 +-
 drivers/power/bq27x00_battery.c       | 1125 ---------------------------
 drivers/power/bq27xxx_battery.c       | 1374 +++++++++++++++++++++++++++++++++
 drivers/w1/slaves/w1_bq27000.c        |    5 +-
 include/linux/power/bq27x00_battery.h |   19 -
 include/linux/power/bq27xxx_battery.h |   31 +
 10 files changed, 1424 insertions(+), 1162 deletions(-)
 delete mode 100644 drivers/power/bq27x00_battery.c
 create mode 100644 drivers/power/bq27xxx_battery.c
 delete mode 100644 include/linux/power/bq27x00_battery.h
 create mode 100644 include/linux/power/bq27xxx_battery.h
Signature · 1 line
1.9.1