]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: lenovo-wmi-capdata: Add support for Fan Test Data
authorRong Zhang <i@rong.moe>
Tue, 20 Jan 2026 18:20:06 +0000 (02:20 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 21 Jan 2026 08:49:55 +0000 (10:49 +0200)
commit012a8f967a87dea3f25c3a3ae32610c0dd145f34
treeb21e787937c2b083f554031446a9aadd81c02a89
parentc05f67e6c2e508f5462f30a5394a1607ef683ff9
platform/x86: lenovo-wmi-capdata: Add support for Fan Test Data

Add support for LENOVO_FAN_TEST_DATA WMI data block. Provides an
interface for querying the min/max fan speed RPM (reference data) of a
given fan ID.

This interface is optional. Hence, it does not bind to lenovo-wmi-other
and is not registered as a component for the moment. Appropriate binding
will be implemented in the subsequent patch.

Signed-off-by: Rong Zhang <i@rong.moe>
Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com>
Tested-by: Derek J. Clark <derekjohn.clark@gmail.com>
Link: https://patch.msgid.link/20260120182104.163424-6-i@rong.moe
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Documentation/wmi/devices/lenovo-wmi-other.rst
drivers/platform/x86/lenovo/wmi-capdata.c
drivers/platform/x86/lenovo/wmi-capdata.h