Re: (subset) [PATCH v5 0/2] Add support for Battery Status AMS
Sebastian Reichel <[email protected]>
| Newsgroups | org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-usb |
|---|---|
| Message-ID | <amVOuVIW7WFCckfN@venus> |
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
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmplTxMACgkQ2O7X88g7 +pp4jA//eH9yHH+lFgxlN69qbhh8SunlrsCUxR0Z2Eob4EDAye2KknJhJHpW2O7c ZVEeiaesxJoztTl2hGztveEu0eFyIpF5oIlX270I77R11RBBG0BGa9kXXpgD0npU peTSHjSJ0GUGFdlOMbMVNy/wMwI/4shjEcydKq0RPVyDJ4WeM8rrB0Pj+VCfX3iX egCn9R9XuFMUxCjR5yFrRJ0gCnO0IujglIonjng4S8oPR0l2HNC3cssMlvdiHM2p NwPQNweTZeOU4nGlEjO28iSVIRZRvjC77LDaHCIR8WDLn9+WyuBYj+khugZvbaFp vh5Mce86LwdVcUl5wLqewlrAKGXHiZBRcxyQGiGnGvpHDIGHyMwv8c6DGFR70fI9 58ljpXMpw3Mk6adkUeub21poDxu+nCYMeaooXQH8GCOrZubQsVPSJV8YE+VHxaJg kwxBJm4JE08ahqRn98WguzFAycIFCX154zYJ2l08jEzIjCAIXhacGwxAFMtQJxqL tBuNBQskpepUmfGsPcA4Uv+6mxDySmgjPkTpB27MHYLv1gW07ycpGpL6gHzhaJc8 f6fWsQO0e2xRx3c+yp7qqXAbP+kq75TA+Sh18MyIQB+bISIaf5rQd7WY7taWjswT xdiMpohL6nTULhaqzdw1FHVYQK0d8BAckzfxBSpiZIICIHP3/K0= =3P8d -----END PGP SIGNATURE-----