diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-04-21 21:11:45 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2024-04-29 12:06:21 +0200 |
commit | 9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8 (patch) | |
tree | cfe913d18d38b2e0c9fdbbb1dd3b22a0f8f47cff /drivers/platform/x86/Kconfig | |
parent | platform/x86: thinkpad_acpi: Use false to set acpi_send_ev to false (diff) | |
download | linux-9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8.tar.xz linux-9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8.zip |
platform/x86: wmi: Add MSI WMI Platform driver
Add a new driver for the MSI WMI Platform interface. The underlying
ACPI WMI interface supports many features, but so far only reading
of fan speed sensors is implemented.
The driver was reverse-engineered based on a user request to the
lm-sensors project, see the github issue for details.
The ACPI WMI interface used by this driver seems to use the same
embedded controller interface as the msi-ec driver, but supports
automatic discovery of supported machines without relying on a
DMI whitelist.
The driver was tested by the user who created the github issue.
Closes: https://github.com/lm-sensors/lm-sensors/issues/475
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20240421191145.3189-1-W_Armin@gmx.de
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/Kconfig')
-rw-r--r-- | drivers/platform/x86/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 168b57df0a6a..b744f18bbfa7 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -698,6 +698,17 @@ config MSI_WMI To compile this driver as a module, choose M here: the module will be called msi-wmi. +config MSI_WMI_PLATFORM + tristate "MSI WMI Platform features" + depends on ACPI_WMI + depends on HWMON + help + Say Y here if you want to have support for WMI-based platform features + like fan sensor access on MSI machines. + + To compile this driver as a module, choose M here: the module will + be called msi-wmi-platform. + config XO15_EBOOK tristate "OLPC XO-1.5 ebook switch" depends on OLPC || COMPILE_TEST |