Skip to content

Commit a26edfc

Browse files
Antheas KapenekakisKyleGospo
authored andcommitted
[FROM-ML] platform/x86: msi-wmi-platform: Add PL1/PL2 support via firmware attributes
Adds PL1, and PL2 support through the firmware attributes interface. The min and max values are quirked, and the attributes are only defined if they are set to a non-zero value. These values are meant to be set in conjunction with shift mode, where shift mode automatically sets an upper bound on PL1/PL2 (e.g., low-power would be used with 8W). Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
1 parent 251e4b7 commit a26edfc

2 files changed

Lines changed: 360 additions & 2 deletions

File tree

drivers/platform/x86/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -571,6 +571,7 @@ config MSI_WMI_PLATFORM
571571
depends on DMI
572572
depends on HWMON
573573
select ACPI_PLATFORM_PROFILE
574+
select FW_ATTR_CLASS
574575
help
575576
Say Y here if you want to have support for WMI-based platform features
576577
like fan sensor access on MSI machines.

0 commit comments

Comments
 (0)