Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1553993

[PATCH v3 00/11] power: supply: bq275xx: implement individual chip revision support

From Chris Lapa <chris@lapa.com.au>
Newsgroups linux.kernel
Subject [PATCH v3 00/11] power: supply: bq275xx: implement individual chip revision support
Date 2017-01-09 01:50 +0100
Message-ID <sXwjT-5mL-3@gated-at.bofh.it> (permalink)
References <sR0mJ-2AR-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Chris Lapa <chris@lapa.com.au>

This patch series separates out support for each revision chip in
the bq27500, bq27510 and bq27520 family. Each revision has enough
register address changes to justify individual register mappings.

The series also cleans up the large overtemp if statement to
improve readability and adds devicetree documentation for all
the support bq27xxx series chips.

I had a chance to test the deprecated bq27500/10/20 support which still
behaves the same. I also tested the new specific bq27510g3 support
on a custom board I have here and it worked correctly.

Chris Lapa (11):
  power: supplies: bq275xx: move overtemp tests to a switch statement.
  power: supplies: bq275xx: rename BQ27500 allow for deprecation in
    future.
  power: supplies: bq275xx: adds specific support for bq27500/1
    revision.
  power: supplies: bq275xx: adds specific support for bq27510-g1
    revision.
  power: supplies: bq275xx: adds specific support for bq27510-g2
    revision.
  power: supplies: bq275xx: adds specific support for bq27510-g3
    revision.
  power: supplies: bq275xx: adds specific support for bq27520-g1
    revision.
  power: supplies: bq275xx: adds specific support for bq27520-g2
    revision.
  power: supplies: bq275xx: adds specific support for bq27520-g3
    revision.
  power: supplies: bq275xx: adds specific support for bq27520-g4
    revision.
  power: supplies: bq27xxx: adds device tree binding documentation.

 .../devicetree/bindings/power/supply/bq27xxx.txt   |  36 +++
 drivers/power/supply/bq27xxx_battery.c             | 348 ++++++++++++++++++++-
 drivers/power/supply/bq27xxx_battery_i2c.c         |  22 +-
 include/linux/power/bq27xxx_battery.h              |  10 +-
 4 files changed, 407 insertions(+), 9 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/power/supply/bq27xxx.txt

-- 
2.1.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 00/11]  power: supply: bq275xx: implement individual chip revision support Chris Lapa <chris@lapa.com.au> - 2017-01-09 01:50 +0100
  [PATCH v3 08/11] power: supplies: bq275xx: adds specific support for bq27520-g2 revision. Chris Lapa <chris@lapa.com.au> - 2017-01-09 01:50 +0100
  [PATCH v3 09/11] power: supplies: bq275xx: adds specific support for bq27520-g3 revision. Chris Lapa <chris@lapa.com.au> - 2017-01-09 01:50 +0100
  [PATCH v3 02/11] power: supplies: bq275xx: rename BQ27500 allow for deprecation in future. Chris Lapa <chris@lapa.com.au> - 2017-01-09 02:00 +0100
  [PATCH v3 05/11] power: supplies: bq275xx: adds specific support for bq27510-g2 revision. Chris Lapa <chris@lapa.com.au> - 2017-01-09 02:00 +0100
  Re: [PATCH v3 00/11]  power: supply: bq275xx: implement individual  chip revision support Pali Rohár <pali.rohar@gmail.com> - 2017-01-09 09:30 +0100
  Re: [PATCH v3 00/11]  power: supply: bq275xx: implement individual  chip revision support Sebastian Reichel <sre@kernel.org> - 2017-01-10 04:00 +0100

csiph-web