ACPI: platform: Add platform profile support
authorMark Pearson <markpearson@lenovo.com>
Wed, 30 Dec 2020 00:18:26 +0000 (19:18 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 30 Dec 2020 17:34:53 +0000 (18:34 +0100)
commita2ff95e018f1d2bc816f3078d5110a655e355f18
tree9e4523ed3a2e604f7750f9a3e6c8d952afc57597
parent8e0cbf356377fabac47a027dd176cd1cacc5fc01
ACPI: platform: Add platform profile support

This is the initial implementation of the platform-profile feature.
It provides the details discussed and outlined in the
sysfs-platform_profile document.

Many modern systems have the ability to modify the operating profile to
control aspects like fan speed, temperature and power levels. This
module provides a common sysfs interface that platform modules can register
against to control their individual profile options.

Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
[ rjw: Use full words in enum values names ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig
drivers/acpi/Makefile
drivers/acpi/platform_profile.c [new file with mode: 0644]
include/linux/platform_profile.h [new file with mode: 0644]