linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] power: supply: Add battery and AC drivers for Surface devices
@ 2021-04-05 23:41 Maximilian Luz
  2021-04-05 23:41 ` [PATCH v2 1/2] power: supply: Add battery driver for Surface Aggregator Module Maximilian Luz
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maximilian Luz @ 2021-04-05 23:41 UTC (permalink / raw)
  To: Sebastian Reichel
  Cc: Maximilian Luz, Hans de Goede, linux-pm, platform-driver-x86,
	linux-kernel

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

-- 
2.31.1


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

end of thread, other threads:[~2021-04-08 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 23:41 [PATCH v2 0/2] power: supply: Add battery and AC drivers for Surface devices Maximilian Luz
2021-04-05 23:41 ` [PATCH v2 1/2] power: supply: Add battery driver for Surface Aggregator Module Maximilian Luz
2021-04-05 23:41 ` [PATCH v2 2/2] power: supply: Add AC " Maximilian Luz
2021-04-08 12:38 ` [PATCH v2 0/2] power: supply: Add battery and AC drivers for Surface devices Sebastian Reichel

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).