devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] power: supply: twl6030/32 charger
@ 2024-09-30 15:54 Andreas Kemnade
  2024-09-30 15:54 ` [PATCH v2 1/3] dt-bindings: power: supply: Add TI TWL603X charger Andreas Kemnade
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andreas Kemnade @ 2024-09-30 15:54 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-pm, Conor Dooley, tony, linux-kernel,
	linux-omap, Lee Jones, devicetree, Sebastian Reichel, Rob Herring
  Cc: Andreas Kemnade

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.

Changes in v2:
- s/bci/charger in mfd schema
- additionalProperties for charger node
- extended example in mfd schema
- no quotes for compatibles in charger schema
- no example in charger schema
- interrupt description in charger schema
- replace device_is_compatible by driver data
- clang compile fix
- removed alias
- style fixes

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       |  22 +
 .../power/supply/ti,twl6030-charger.yaml      |  48 ++
 drivers/power/supply/Kconfig                  |  10 +
 drivers/power/supply/Makefile                 |   1 +
 drivers/power/supply/twl6030_charger.c        | 580 ++++++++++++++++++
 5 files changed, 661 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


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

end of thread, other threads:[~2024-10-01  7:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-30 15:54 [PATCH v2 0/3] power: supply: twl6030/32 charger Andreas Kemnade
2024-09-30 15:54 ` [PATCH v2 1/3] dt-bindings: power: supply: Add TI TWL603X charger Andreas Kemnade
2024-10-01  7:02   ` Krzysztof Kozlowski
2024-09-30 15:54 ` [PATCH v2 2/3] dt-bindings: mfd: twl: add charger node also for TWL603x Andreas Kemnade
2024-10-01  7:03   ` Krzysztof Kozlowski
2024-09-30 15:54 ` [PATCH v2 3/3] power: supply: initial support for TWL6030/32 Andreas Kemnade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).