| From: |
| Kurt Borja <kuurtb-AT-gmail.com> |
| To: |
| Ilpo Järvinen <ilpo.jarvinen-AT-linux.intel.com>, Armin Wolf <W_Armin-AT-gmx.de> |
| Subject: |
| [PATCH v3 00/10] platform/x86: alienware-wmi-wmax: HWMON support + DebugFS + Improvements |
| Date: |
| Wed, 05 Mar 2025 19:56:51 -0500 |
| Message-ID: |
| <20250305-hwm-v3-0-395e7a1407e2@gmail.com> |
| Cc: |
| Kurt Borja <kuurtb-AT-gmail.com>, Hans de Goede <hdegoede-AT-redhat.com>, platform-driver-x86-AT-vger.kernel.org, Dell.Client.Kernel-AT-dell.com, linux-kernel-AT-vger.kernel.org, Guenter Roeck <linux-AT-roeck-us.net>, Jean Delvare <jdelvare-AT-suse.com>, linux-hwmon-AT-vger.kernel.org |
| Archive-link: |
| Article |
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@suse.com>
- Cc+ linux-hwmon@vger.kernel.org
[08/10]
- Add a pwm1_enable attribute
- Add awcc_op_get_fan_boost()
- Add awcc_op_set_fan_boost()
- Cc+ Jean Delvare <jdelvare@suse.com>
- Cc+ linux-hwmon@vger.kernel.org
[10/10]
- Reword commit title to reflect path
v2: https://lore.kernel.org/r/20250225222500.23535-1-kuurtb@g...
---
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