[PATCH v7 00/12] platform/x86: alienware-wmi-wmax: HWMON support + DebugFS + Improvements

From: Kurt Borja
Date: Sat Mar 29 2025 - 03:34:15 EST


Hi all,

This set mainly adds hwmon and manual fan control support (patches 7-8)
to the alienware-wmi driver, after some improvements.

Thank you for your feedback :)

---
Changes in v7:

[01/12]
- Mention WMAX_OPERATION_* -> AWCC_OP_* in commit message

[02/12]
- Reorder the thermal defines as Ilpo suggested
- Use FIELD_GET in awcc_platform_profile_get in this patch instead of
[03/12]
- Reword commit message, including title, to be more coherent with the
changes

[03/12]
- Drop inline attributes
- drop __ prefix from awcc_wmi_command()
- Add @ to kernel-doc variable reference

[05/12]
- Reword commit message to better describe changes

[08/12]
- Fix typo: aproximate -> approximate

[09/12]
- Replace ARRAY_SIZE() with sizeof() when naming the debugfs directory

[11/12]
- Fix typo: repurpused -> repurposed
- Drop uses of "We"

Link to v6: https://lore.kernel.org/r/20250313-hwm-v6-0-17b57f787d77@xxxxxxxxx

---
Kurt Borja (12):
platform/x86: alienware-wmi-wmax: Rename thermal related symbols
platform/x86: alienware-wmi-wmax: Improve ID processing
platform/x86: alienware-wmi-wmax: Improve internal AWCC API
platform/x86: alienware-wmi-wmax: Modify supported_thermal_profiles[]
platform/x86: alienware-wmi-wmax: Improve platform profile probe
platform/x86: alienware-wmi-wmax: Add support for the "custom" thermal profile
platform/x86: alienware-wmi-wmax: Add HWMON support
platform/x86: alienware-wmi-wmax: Add support for manual fan control
platform/x86: alienware-wmi-wmax: Add a DebugFS interface
Documentation: wmi: Improve and update alienware-wmi documentation
Documentation: admin-guide: laptops: Add documentation for alienware-wmi
Documentation: ABI: Add sysfs platform and debugfs ABI documentation for alienware-wmi

Documentation/ABI/testing/debugfs-alienware-wmi | 44 +
.../ABI/testing/sysfs-platform-alienware-wmi | 14 +
.../admin-guide/laptops/alienware-wmi.rst | 127 +++
Documentation/admin-guide/laptops/index.rst | 1 +
Documentation/wmi/devices/alienware-wmi.rst | 383 +++-----
MAINTAINERS | 3 +
drivers/platform/x86/dell/Kconfig | 1 +
drivers/platform/x86/dell/alienware-wmi-wmax.c | 1034 +++++++++++++++++---
8 files changed, 1195 insertions(+), 412 deletions(-)
---
base-commit: 1a9239bb4253f9076b5b4b2a1a4e8d7defd77a95
change-id: 20250305-hwm-f7bd91902b57

Best regards,
--
~ Kurt