]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: wmi: Add MSI WMI Platform driver
authorArmin Wolf <W_Armin@gmx.de>
Sun, 21 Apr 2024 19:11:45 +0000 (21:11 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2024 10:06:21 +0000 (12:06 +0200)
commit9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8
treecfe913d18d38b2e0c9fdbbb1dd3b22a0f8f47cff
parent44bbcc277b97cdb82cbbbc9df6dbbd0a66f76e21
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>
Documentation/ABI/testing/debugfs-msi-wmi-platform [new file with mode: 0644]
Documentation/wmi/devices/msi-wmi-platform.rst [new file with mode: 0644]
MAINTAINERS
drivers/platform/x86/Kconfig
drivers/platform/x86/Makefile
drivers/platform/x86/msi-wmi-platform.c [new file with mode: 0644]