[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240918084132.928295-1-andreas@kemnade.info>
Date: Wed, 18 Sep 2024 10:41:29 +0200
From: Andreas Kemnade <andreas@...nade.info>
To: tony@...mide.com,
Sebastian Reichel <sre@...nel.org>,
linux-omap@...r.kernel.org,
devicetree@...r.kernel.org,
Lee Jones <lee@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
linux-kernel@...r.kernel.org,
Conor Dooley <conor+dt@...nel.org>,
linux-pm@...r.kernel.org
Cc: Andreas Kemnade <andreas@...nade.info>
Subject: [PATCH 0/3] power: supply: twl6030/32 charger
Add basic support for the charger in the TWL6030/32. Supported is the USB
path. AC path is not handled yet, also there is no entry yet
in /sys/class/power_supply with type battery yet.
Without this series, devices will happily drain battery when running
on mainline.
Andreas Kemnade (3):
dt-bindings: power: supply: Add TI TWL603X charger
dt-bindings: mfd: twl: add charger node also for TWL603x
power: supply: initial support for TWL6030/32
.../devicetree/bindings/mfd/ti,twl.yaml | 18 +
.../power/supply/ti,twl6030-charger.yaml | 62 ++
drivers/power/supply/Kconfig | 10 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/twl6030_charger.c | 566 ++++++++++++++++++
5 files changed, 657 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/supply/ti,twl6030-charger.yaml
create mode 100644 drivers/power/supply/twl6030_charger.c
--
2.39.2
Powered by blists - more mailing lists