Skip to content

platform/surface: Add platform profile driver for Surface devices

Maximilian Luz linux-acpi 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 Latest4 patches 10 repliesIn review
  2. v11 patch 7 repliesSuperseded

Changes in v2 from the cover letter

- Introduce new 'balanced-performance' platform profile and change profile mapping in driver.
- Perform some fix-ups for the ACPI platform profile implementation:
- Fix some references to documentation in a comment.
- Hide CONFIG_ACPI_PLATFORM_PROFILE

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ACPI: platform: Hide ACPI_PLATFORM_PROFILE optiondrivers/acpi/Kconfig drivers/platform/x86/Kconfig+3 -170 replies
2/4ACPI: platform: Fix file references in commentinclude/linux/platform_profile.h+2 -30 replies
3/4ACPI: platform: Add balanced-performance platform profileDocumentation/ABI/testing/sysfs-platform_profile drivers/acpi/platform_profile.c include/linux/platform_profile.h+13 -70 replies
4/4platform/surface: Add platform profile driverMAINTAINERS drivers/platform/surface/Kconfig drivers/platform/surface/Makefile +1 more+219 -01 reply

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans de Goede
SeriesR-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] platform/surface: Add platform profile driver for Surface devices

This series adds a driver to provide platform profile support on 5th- and later generation Microsoft Surface devices with a Surface System Aggregator Module. On those devices, the platform profile can be used to influence cooling behavior and power consumption.

To achieve this, a new platform profile is introduced: the 'balanced-performance' profile.

In addition, a couple of fix-ups are performed:
- Hide CONFIG_ACPI_PLATFORM_PROFILE and change drivers so that it is selected instead of depended on.
- Fix some references to documentation in a comment.

Note: This series (or more specifically "platform/surface: Add platform profile driver") depends on the "platform/surface: Add Surface Aggregator device registry" series.

Changes in v2:
- Introduce new 'balanced-performance' platform profile and change profile mapping in driver.
- Perform some fix-ups for the ACPI platform profile implementation:
- Fix some references to documentation in a comment.
- Hide CONFIG_ACPI_PLATFORM_PROFILE

Maximilian Luz (4):
ACPI: platform: Hide ACPI_PLATFORM_PROFILE option
ACPI: platform: Fix file references in comment
ACPI: platform: Add balanced-performance platform profile platform/surface: Add platform profile driver

 .../ABI/testing/sysfs-platform_profile        |  18 +-
 MAINTAINERS                                   |   6 +
 drivers/acpi/Kconfig                          |  16 +-
 drivers/acpi/platform_profile.c               |   1 +
 drivers/platform/surface/Kconfig              |  22 ++
 drivers/platform/surface/Makefile             |   1 +
 .../surface/surface_platform_profile.c        | 190 ++++++++++++++++++
 drivers/platform/x86/Kconfig                  |   4 +-
 include/linux/platform_profile.h              |   6 +-
 9 files changed, 237 insertions(+), 27 deletions(-)
 create mode 100644 drivers/platform/surface/surface_platform_profile.c
Signature · 1 line
2.30.0