Re: (subset) [PATCH v5 0/2] Add support for Battery Status AMS

From: Sebastian Reichel

Date: Sat Jul 25 2026 - 20:05:20 EST


Hi,

On Sun, Jul 26, 2026 at 02:01:23AM +0200, Sebastian Reichel wrote:
>
> On Tue, 14 Jul 2026 21:10:51 +0000, Amit Sunil Dhamne wrote:
> > PD 3.1 v1.8 Spec necessitates a response to Get_Battery_Status request
> > from the port partner (see "6.13.2 Applicability of Data Message").
> > This patchset adds support to get all the battery type power supplies
> > and query them to report the telemetry required to build a Battery
> > Status Message. Right now, this submission assumes all the battery type
> > power supplies that exist in the system are fixed (meaning cannot be hot
> > swapped).
> >
> > [...]
>
> Applied, thanks!
>
> [1/2] power: supply: Add helpers to get and put arrays of power supply handles
> commit: 0962125d9001077e91bc90656245f009e3c6c129

Here is a signed immutable branch/tag for the USB subsystem to
handle patch 2 (I also left some review feedback for that one):

The following changes since commit dc59e4fea9d83f03bad6bddf3fa2e52491777482:

Linux 7.2-rc1 (2026-06-28 12:01:31 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/ib-psy-array-helpers-for-v7.3-signed

for you to fetch changes up to 0962125d9001077e91bc90656245f009e3c6c129:

power: supply: Add helpers to get and put arrays of power supply handles (2026-07-26 01:31:43 +0200)

----------------------------------------------------------------
Immutable branch for battery array helpers for power-supply and USB

----------------------------------------------------------------
Amit Sunil Dhamne (1):
power: supply: Add helpers to get and put arrays of power supply handles

drivers/power/supply/power_supply_core.c | 153 +++++++++++++++++++++++++++++++
include/linux/power_supply.h | 15 +++
2 files changed, 168 insertions(+)

-- Sebastian

Attachment: signature.asc
Description: PGP signature