All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tobias Schramm <t.schramm@manjaro.org>
To: linux-kernel@vger.kernel.org,
	linux-pm@lists.linux-foundation.org, linux-i2c@vger.kernel.org
Cc: anarsoul@gmail.com, sre@kernel.org, pali.rohar@gmail.com,
	david@lechnology.com, afd@ti.com,
	Tobias Schramm <t.schramm@manjaro.org>
Subject: [PATCH 0/2] power: supply: add support for CW2015 Fuel Gauge
Date: Wed, 11 Dec 2019 14:39:28 +0100	[thread overview]
Message-ID: <20191211133930.7488-1-t.schramm@manjaro.org> (raw)

This patchset adds support for the CW2015 Fuel Gauge.
The CW2015 fuel gauge is used in Pinebook Pro and some Raspberry Pi UPS HATs.

Most of the code has been written by Rockchip. I've added devicetree support
for power supplies as well as the alert level and done some general code
cleanup.
I'm submitting it now as part of an effort to get full mainline Linux support
for the Pinebook Pro.

CCing some maintainers of other fuel gauge drivers here to get feedback on this
patch.

Tobias Schramm (2):
  power: supply: add CW2015 Fuel Gauge driver
  dt-bindings: power: supply: cw2015_battery: add device tree binding
    documentation

 .../bindings/power/supply/cw2015_battery.txt  |  37 +
 drivers/power/supply/Kconfig                  |   7 +
 drivers/power/supply/Makefile                 |   1 +
 drivers/power/supply/cw2015_battery.c         | 962 ++++++++++++++++++
 include/linux/power/cw2015_battery.h          | 122 +++
 5 files changed, 1129 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/power/supply/cw2015_battery.txt
 create mode 100644 drivers/power/supply/cw2015_battery.c
 create mode 100644 include/linux/power/cw2015_battery.h

-- 
2.24.0


             reply	other threads:[~2019-12-11 13:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-11 13:39 Tobias Schramm [this message]
2019-12-11 13:39 ` [PATCH 1/2] power: supply: add CW2015 Fuel Gauge driver Tobias Schramm
2019-12-11 13:39 ` [PATCH 2/2] dt-bindings: power: supply: cw2015_battery: add device tree binding documentation Tobias Schramm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191211133930.7488-1-t.schramm@manjaro.org \
    --to=t.schramm@manjaro.org \
    --cc=afd@ti.com \
    --cc=anarsoul@gmail.com \
    --cc=david@lechnology.com \
    --cc=linux-i2c@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=pali.rohar@gmail.com \
    --cc=sre@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.