[PATCH v2 0/2] platform/x86: wmi: Add driver_override support

From: Armin Wolf
Date: Mon Jun 24 2024 - 13:32:15 EST


This patch series add support for using the driver_override sysfs
attribute with WMI devices. The reason for this is that there will
exist a couple of generic WMI drivers in the future for allowing
driver developers to directly access the underlying WMI device.

Since those generic WMI drivers do not have an ID table, the
driver_override mechanism is used to bind them to WMI devices.

Changes since v1:
- Add Reviewed-by tags
- Add line breaks and implement requested changes in the documentation
of the driver_override attr

Armin Wolf (2):
platform/x86: wmi: Add driver_override support
platform/x86: wmi: Add bus ABI documentation

Documentation/ABI/testing/sysfs-bus-wmi | 81 +++++++++++++++++++++++++
MAINTAINERS | 1 +
drivers/platform/x86/wmi.c | 33 ++++++++++
include/linux/wmi.h | 4 ++
4 files changed, 119 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-wmi

--
2.39.2