Skip to content

platform/x86: wmi: Add subsystem documentation

Armin Wolf linux-doc lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 8 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- spelling fixes
- tell readers that MOF means Managed Object Format
- 80-cloumn limit

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4platform/x86: wmi: Add kernel doc commentsdrivers/platform/x86/wmi.c include/linux/wmi.h+80 -121 reply
2/4platform/x86: wmi: Mark GUID-based WMI interface as deprecateddrivers/platform/x86/wmi.c+6 -61 reply
3/4platform/x86: wmi: Add documentationDocumentation/driver-api/index.rst Documentation/driver-api/wmi.rst Documentation/subsystem-apis.rst +3 more+139 -04 replies
4/4platform/x86: wmi: Add device specific documentationDocumentation/ABI/stable/sysfs-platform-wmi-bmof Documentation/wmi/devices/index.rst Documentation/wmi/devices/wmi-bmof.rst +3 more+64 -21 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRandy Dunlap
1/4T-b A-b
2/4T-b A-b
3/4T-b A-b
4/4T-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] platform/x86: wmi: Add subsystem documentation

Currently, there is no recent documentation available for writing WMI drivers using the modern bus-based interface. This leads to developers using the deprecated GUID-based interface when developing new drivers, causing issues with notification handling when multiple WMI devices sharing the same notification ID are present. There is also no way for WMI drivers to add device specific documentation at the moment.
Add documentation for the WMI subsystem to solve those issues. The device specific documentation currently onyl include documentation for the wmi-bmof driver, but more is expected to follow.
---
Changes in v2:
- spelling fixes
- tell readers that MOF means Managed Object Format
- 80-cloumn limit

Armin Wolf (4):
platform/x86: wmi: Add kernel doc comments platform/x86: wmi: Mark GUID-based WMI interface as deprecated platform/x86: wmi: Add documentation
platform/x86: wmi: Add device specific documentation

 .../ABI/stable/sysfs-platform-wmi-bmof        |  7 ++
 Documentation/driver-api/index.rst            |  1 +
 Documentation/driver-api/wmi.rst              | 21 ++++
 Documentation/subsystem-apis.rst              |  1 +
 Documentation/wmi/acpi-interface.rst          | 96 +++++++++++++++++++
 Documentation/wmi/devices/index.rst           | 22 +++++
 Documentation/wmi/devices/wmi-bmof.rst        | 25 +++++
 Documentation/wmi/index.rst                   | 19 ++++
 MAINTAINERS                                   |  9 ++
 drivers/platform/x86/Kconfig                  |  4 +-
 drivers/platform/x86/wmi.c                    | 63 +++++++++---
 include/linux/wmi.h                           | 41 +++++++-
 12 files changed, 289 insertions(+), 20 deletions(-)
 create mode 100644 Documentation/ABI/stable/sysfs-platform-wmi-bmof
 create mode 100644 Documentation/driver-api/wmi.rst
 create mode 100644 Documentation/wmi/acpi-interface.rst
 create mode 100644 Documentation/wmi/devices/index.rst
 create mode 100644 Documentation/wmi/devices/wmi-bmof.rst
 create mode 100644 Documentation/wmi/index.rst

--
2.30.2