lkml.org 
[lkml]   [2016]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 00/11] power: supply: bq275xx: implement individual chip revision support
Date
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.

It also cleans up the large if statement checking the overtemp flags.

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: 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: supply: bq275xx: cleanup over temperature flag check.
power: supplies: bq275xx: adds device tree binding documentation.

.../devicetree/bindings/power/supply/bq275xx.txt | 27 ++
drivers/power/supply/bq27xxx_battery.c | 340 ++++++++++++++++++++-
drivers/power/supply/bq27xxx_battery_i2c.c | 22 +-
include/linux/power/bq27xxx_battery.h | 10 +-
4 files changed, 393 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/supply/bq275xx.txt

--
2.1.4

\
 
 \ /
  Last update: 2016-12-23 01:06    [W:0.313 / U:5.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site