Skip to content

power: supply: Add battery and AC drivers for Surface devices

Maximilian Luz linux-pm lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyIn review
  2. v12 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2power: supply: Add battery driver for Surface Aggregator ModuleDocumentation/ABI/testing/sysfs-class-power-surface MAINTAINERS drivers/power/supply/Kconfig +2 more+904 -00 replies
2/2power: supply: Add AC driver for Surface Aggregator ModuleMAINTAINERS drivers/power/supply/Kconfig drivers/power/supply/Makefile +1 more+300 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] power: supply: Add battery and AC drivers for Surface devices

This series provides battery and AC drivers for Microsoft Surface devices, where this information is provided via an embedded controller (the Surface System Aggregator Module, SSAM) instead of the usual ACPI interface.

Specifically, 7th generation Surface devices, i.e. Surface Pro 7, Surface Book 3, Surface Laptop 3, as well as the Surface Laptop Go use this new interface.

Note: This series depends on the

platform/surface: Add Surface Aggregator device registry

series. More specifically patch

platform/surface: Set up Surface Aggregator device registry

The full series has been merged into the for-next branch of the platform-drivers-x86 tree and is available as immutable tag at

git://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git tags/platform-drivers-x86-surface-aggregator-v5.13-1

Maximilian Luz (2):
power: supply: Add battery driver for Surface Aggregator Module
power: supply: Add AC driver for Surface Aggregator Module

 .../ABI/testing/sysfs-class-power-surface     |  15 +
 MAINTAINERS                                   |   8 +
 drivers/power/supply/Kconfig                  |  32 +
 drivers/power/supply/Makefile                 |   2 +
 drivers/power/supply/surface_battery.c        | 865 ++++++++++++++++++
 drivers/power/supply/surface_charger.c        | 282 ++++++
 6 files changed, 1204 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-class-power-surface
 create mode 100644 drivers/power/supply/surface_battery.c
 create mode 100644 drivers/power/supply/surface_charger.c
Signature · 1 line
2.31.1