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

From: Kurt Borja
Date: Wed Mar 12 2025 - 01:12:13 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 v5:

[08/12]
- Move HWMON dependency from ALIENWARE_WMI_WMAX to ALIENWARE_WMI. See
[1] for more info.
- Rename awcc_alloc_fan_label() to awcc_get_fan_label() and return the
static string literals directly
- Use BITS_PER_LONG in priv->auto_channels_temp bitmap_copy()

[11/12]
- Fix typos

[1] https://lore.kernel.org/platform-driver-x86/20250309-dell-kconfig-fix-v1-1-38a2308d0ac6@xxxxxxxxx/

Link to v4: https://lore.kernel.org/r/20250308-hwm-v4-0-afa1342828f5@xxxxxxxxx

---
Kurt Borja (12):
platform/x86: alienware-wmi-wmax: Rename thermal related symbols
platform/x86: alienware-wmi-wmax: Refactor is_awcc_thermal_mode()
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 | 128 +++
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 | 1023 +++++++++++++++++---
8 files changed, 1187 insertions(+), 410 deletions(-)
---
base-commit: f895f2493098b862f1ada0568aba278e49bf05b4
change-id: 20250305-hwm-f7bd91902b57

Best regards,
--
~ Kurt