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

Armin Wolf posted 2 patches 1 year, 5 months ago
There is a newer version of this series
Documentation/ABI/testing/sysfs-bus-wmi | 79 +++++++++++++++++++++++++
MAINTAINERS                             |  1 +
drivers/platform/x86/wmi.c              | 33 +++++++++++
include/linux/wmi.h                     |  4 ++
4 files changed, 117 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-bus-wmi
[PATCH 0/2] platform/x86: wmi: Add driver_override support
Posted by Armin Wolf 1 year, 5 months ago
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.

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

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

--
2.39.2
Re: [PATCH 0/2] platform/x86: wmi: Add driver_override support
Posted by Hans de Goede 1 year, 5 months ago
Hi,

On 6/20/24 9:42 PM, 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.
> 
> Armin Wolf (2):
>   platform/x86: wmi: Add driver_override support
>   platform/x86: wmi: Add bus ABI documentation

Thanks, the series looks good to me:

Reviewed-by: Hans de Goede <hdegoede@redhat.com>

for the series.

Regards,

Hans

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