]> git.ipfire.org Git - thirdparty/linux.git/commit
platform/x86: lenovo-wmi-capdata: Add support for Capability Data 00
authorRong Zhang <i@rong.moe>
Tue, 20 Jan 2026 18:20:05 +0000 (02:20 +0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 21 Jan 2026 08:49:54 +0000 (10:49 +0200)
commitc05f67e6c2e508f5462f30a5394a1607ef683ff9
tree7499c123ef3834537fce97d1eca187888264a7c5
parent4ff1a029531441a27288eed8ba57d48fe11ba79a
platform/x86: lenovo-wmi-capdata: Add support for Capability Data 00

Add support for LENOVO_CAPABILITY_DATA_00 WMI data block that comes on
"Other Mode" enabled hardware. Provides an interface for querying if a
given attribute is supported by the hardware, as well as its default
value.

capdata00 always presents on devices with capdata01. lenovo-wmi-other
now binds to both (no functional change intended).

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-5-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