aboutsummaryrefslogtreecommitdiff
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorGravatar Armin Wolf <W_Armin@gmx.de> 2024-04-21 21:11:45 +0200
committerGravatar Hans de Goede <hdegoede@redhat.com> 2024-04-29 12:06:21 +0200
commit9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8 (patch)
treecfe913d18d38b2e0c9fdbbb1dd3b22a0f8f47cff /Documentation/ABI
parentplatform/x86: thinkpad_acpi: Use false to set acpi_send_ev to false (diff)
downloadlinux-9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8.tar.gz
linux-9c0beb6b29e75cacd5fdc63ce6d8502e73e782b8.tar.bz2
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 'Documentation/ABI')
-rw-r--r--Documentation/ABI/testing/debugfs-msi-wmi-platform14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/debugfs-msi-wmi-platform b/Documentation/ABI/testing/debugfs-msi-wmi-platform
new file mode 100644
index 000000000000..71f9992168d8
--- /dev/null
+++ b/Documentation/ABI/testing/debugfs-msi-wmi-platform
@@ -0,0 +1,14 @@
+What: /sys/kernel/debug/msi-wmi-platform-<wmi_device_name>/*
+Date: April 2024
+KernelVersion: 6.10
+Contact: Armin Wolf <W_Armin@gmx.de>
+Description:
+ This file allows to execute the associated WMI method with the same name.
+
+ To start the execution, write a buffer containing the method arguments
+ at file offset 0. Partial writes or writes at a different offset are not
+ supported.
+
+ The buffer returned by the WMI method can then be read from the file.
+
+ See Documentation/wmi/devices/msi-wmi-platform.rst for details.