mbox series

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

Message ID 20240624173116.31314-1-W_Armin@gmx.de (mailing list archive)
Headers show
Series platform/x86: wmi: Add driver_override support | expand

Message

Armin Wolf June 24, 2024, 5:31 p.m. UTC
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

Comments

Ilpo Järvinen June 24, 2024, 5:40 p.m. UTC | #1
On Mon, 24 Jun 2024 19:31:14 +0200, Armin Wolf wrote:

> 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.
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo branch. Note it will show up in the public
platform-drivers-x86/review-ilpo branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/2] platform/x86: wmi: Add driver_override support
      commit: 12046f8c77e0ed6d41beabde0edbb729499c970b
[2/2] platform/x86: wmi: Add bus ABI documentation
      commit: 618ba6abfc57bde2c2cea7c2b23e4c27fd5a04b4

--
 i.