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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

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

Aside from some minor changes Ilpo commented on, I added inline helpers
for most awcc operations to make those calls more compact.

Thank you for your feedback :)

---
Changes since v2:

[02/10]
  - Move BIT(8) flag comment to AWCC_RESOURCE_ID_MASK definition

[03/10]
  - Add awcc_profile_id_to_pprof()
  - Add awcc_op_activate_profile()
  - Dropped Armin's rev-by because the patch changed a bit

[05/10]
  - Dropped __packed attribute from system_description

[07/10]
  - Add awcc_op_get_fan_rpm()
  - Add awcc_op_get_temperature()
  - Use ternary conditional operator on awcc_hwmon_is_visible()
  - Check priv->temp_sensors weight to determine hwmon_temp visibility
  - Replace U8_MAX with priv->temp_sensors_size in find_nth_bit() calls
  - Drop find_nth_bit() failure check due to the visibility change
  - Cc+ Jean Delvare <jdelvare@xxxxxxxx>
  - Cc+ linux-hwmon@xxxxxxxxxxxxxxx

[08/10]
  - Add a pwm1_enable attribute
  - Add awcc_op_get_fan_boost()
  - Add awcc_op_set_fan_boost()
  - Cc+ Jean Delvare <jdelvare@xxxxxxxx>
  - Cc+ linux-hwmon@xxxxxxxxxxxxxxx

[10/10]
  - Reword commit title to reflect path

v2: https://lore.kernel.org/r/20250225222500.23535-1-kuurtb@xxxxxxxxx

---
Kurt Borja (10):
      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/wmi/devices/alienware-wmi.rst    |  383 +++-----
 drivers/platform/x86/dell/Kconfig              |    1 +
 drivers/platform/x86/dell/alienware-wmi-wmax.c | 1132 ++++++++++++++++++++----
 3 files changed, 1098 insertions(+), 418 deletions(-)
---
base-commit: 5ad6d62c9b183314ec1c64a95a26636e973e736a
change-id: 20250305-hwm-f7bd91902b57

Best regards,
-- 
  ~ Kurt





[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux