mbox series

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

Message ID 20210405234126.667532-1-luzmaximilian@gmail.com
Headers show
Series power: supply: Add battery and AC drivers for Surface devices | expand

Message

Maximilian Luz April 5, 2021, 11:41 p.m. UTC
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

Comments

Sebastian Reichel April 8, 2021, 12:38 p.m. UTC | #1
Hi,

On Tue, Apr 06, 2021 at 01:41:24AM +0200, Maximilian Luz wrote:
> 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


Thanks, queued to power-supply's for-next branch using referenced
immutable tag.

-- Sebastian