mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Armandas Kvietkus via B4 Relay <devnull+armandas.kvietkus.proton.me@kernel.org>
To: Sebastian Reichel <sre@kernel.org>, Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	 Armandas Kvietkus <armandas.kvietkus@proton.me>
Subject: [PATCH 0/2] Add Maxim DS28E16 battery cycle counter
Date: Tue, 24 Nov 2026 18:43:19 +0100	[thread overview]
Message-ID: <20261124-ds28e16-v1-0-bed431df0578@proton.me> (raw)

The DS28E16 is a battery authenticator that keeps the cycle count of the
pack in a decrement counter. This adds a binding and a power supply
driver that reads the count and lets userspace step it by one.

---
Armandas Kvietkus (2):
      dt-bindings: power: supply: Add Maxim DS28E16
      power: supply: Add Maxim DS28E16 battery cycle counter driver

 .../bindings/power/supply/maxim,ds28e16.yaml       |  39 +++
 MAINTAINERS                                        |   7 +
 drivers/power/supply/Kconfig                       |  11 +
 drivers/power/supply/Makefile                      |   1 +
 drivers/power/supply/ds28e16_battery.c             | 335 +++++++++++++++++++++
 5 files changed, 393 insertions(+)
---
base-commit: abbe0a96bdbadae9e29489a1528fa436c55aca25
change-id: 20261124-ds28e16-dce0d381e12d

Best regards,
--  
Armandas Kvietkus <armandas.kvietkus@proton.me>



             reply	other threads:[~2026-11-24 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 17:43 Armandas Kvietkus via B4 Relay [this message]
2026-11-24 17:43 ` [PATCH 1/2] dt-bindings: power: supply: Add Maxim DS28E16 Armandas Kvietkus via B4 Relay
2026-11-24 17:43 ` [PATCH 2/2] power: supply: Add Maxim DS28E16 battery cycle counter driver Armandas Kvietkus via B4 Relay
2026-11-25 11:38   ` Uwe Kleine-König

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=20261124-ds28e16-v1-0-bed431df0578@proton.me \
    --to=devnull+armandas.kvietkus.proton.me@kernel.org \
    --cc=armandas.kvietkus@proton.me \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=robh@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®