[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210405234126.667532-1-luzmaximilian@gmail.com>
Date: Tue, 6 Apr 2021 01:41:24 +0200
From: Maximilian Luz <luzmaximilian@...il.com>
To: Sebastian Reichel <sre@...nel.org>
Cc: Maximilian Luz <luzmaximilian@...il.com>,
Hans de Goede <hdegoede@...hat.com>,
linux-pm@...r.kernel.org, platform-driver-x86@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [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
--
2.31.1
Powered by blists - more mailing lists