All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] power: supply: add support for CW2015 Fuel Gauge
@ 2019-12-11 13:39 Tobias Schramm
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Tobias Schramm @ 2019-12-11 13:39 UTC (permalink / raw)
  To: linux-kernel, linux-pm, linux-i2c
  Cc: anarsoul, sre, pali.rohar, david, afd, Tobias Schramm

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-12-11 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-11 13:39 [PATCH 0/2] power: supply: add support for CW2015 Fuel Gauge Tobias Schramm
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

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.