platform/x86: Add Lenovo Capability Data 01 WMI Driver
authorDerek J. Clark <derekjohn.clark@gmail.com>
Wed, 2 Jul 2025 03:38:24 +0000 (20:38 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 3 Jul 2025 07:54:30 +0000 (10:54 +0300)
commite1a5fe662b593108d14cd0481019601698f9fbe8
tree35ddce5576c805d4fdfad45bff6f9c9bc22bc7c6
parent949bf144bdc72e87018197ae71aa4959f17885d5
platform/x86: Add Lenovo Capability Data 01 WMI Driver

Adds lenovo-wmi-capdata01 driver which provides the
LENOVO_CAPABILITY_DATA_01 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,
max_value, min_value, and step increment.

Reviewed-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Link: https://lore.kernel.org/r/20250702033826.1057762-5-derekjohn.clark@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/lenovo/Kconfig
drivers/platform/x86/lenovo/Makefile
drivers/platform/x86/lenovo/wmi-capdata01.c [new file with mode: 0644]
drivers/platform/x86/lenovo/wmi-capdata01.h [new file with mode: 0644]