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

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Chris Lapa <chris@lapa.com.au>
Newsgroups linux.kernel
Subject [PATCH v3 00/11] power: supply: bq275xx: implement individual chip revision support
Date Mon, 09 Jan 2017 01:50:01 +0100
Message-ID <sXwjT-5mL-3@gated-at.bofh.it> (permalink)
References <sR0mJ-2AR-5@gated-at.bofh.it>
X-Original-To pali.rohar@gmail.com, afd@ti.com, sre@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=lapa-com-au.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aH1mFZVUCPJa+AJxV/zn+lQvuS7523WvW0oy58PsKo0=; b=lF21ByJiJU6uPDFqIW+27CYKG9Engd7TPMgQEmxZtFfRfrmXnXXPyTs4DEf7QZRzsO Jykg+d7j7Ooa8B5Gen6FmIVdJvaIJf8eYWpHW5nw/f/4sPNxV6S/y3RIWnPW62WgJ5Bj PHWCyqVvQ6TTglDBlQMbSsS3nv80wMP1e9xAQaiEnNNF4OrbPxeKXBXQbrc8/Vn3CK8E gNFiurkDaYBExZy8ttPsutec2qO0dqKW33ObbsITI6u3dkR6uFZ3v4daxrNtGcEDJ3U+ hz7S1KC49pqDE1hx8+j1OQTbYaKIPhF5v3bjh41wEq+YaYVC9y/xxMUeB8kckC1c3OAG MhWg==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=aH1mFZVUCPJa+AJxV/zn+lQvuS7523WvW0oy58PsKo0=; b=TPcI1jxRwUDreMORcUzsDwDNeInvvmzW4TwVAoQq2nM6qtSIWSE4ckBvni4WlVIYEI bSHggHSZ0M3UfoIza95YwktyjMTEuupNKO8K/xz5lIV4NmygyhGJmGOpklxV9HHdxMld 4m3XZCGEQcIIWCKPFI7ssZ6koDWW1w6u4erMArtquqG7n5Rmmkp+KmU9+K5TSDWmZwxL 3LzgvA12XkTC+KvSrbCKoIAzab5YAP7BIqoYEG8u2HiW9l1sjJyQLJBC2GTWKRAtDwqZ WqRK+N6uzBebnUL/+TlV4FAXiYI8eYcFuuXzC8DSZnZ9PndvNGIiyZjWZQqgkgGR2qjd 1rSQ==
X-Gm-Message-State AIkVDXK6PcLztzlHLzpetHJPi9veowlK7c871U+OTuXPQMe88IV3++BlI5jFT/TqVilLOw==
X-Received by 10.99.207.17 with SMTP id j17mr154330070pgg.57.1483922870977; Sun, 08 Jan 2017 16:47:50 -0800 (PST)
X-Google-Original-From Chris Lapa
X-Mailer git-send-email 2.1.4
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 45
Organization linux.* mail to news gateway
X-Original-Cc Chris Lapa <chris@lapa.com.au>
X-Original-Date Mon, 9 Jan 2017 11:47:34 +1100
X-Original-Message-ID <1483922865-96321-1-git-send-email-chris@lapa.com.au>
X-Original-References <1482369743-79764-1-git-send-email-chris@lapa.com.au>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1553993

Show key headers only | 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