mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v6 0/5] Dell AWCC platform_profile support
@ 2024-10-17  8:12 Kurt Borja
  2024-10-17  8:13 ` [PATCH v6 1/5] alienware-wmi: fixed indentation and clean up Kurt Borja
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Kurt Borja @ 2024-10-17  8:12 UTC (permalink / raw)
  To: kuurtb
  Cc: hdegoede, W_Armin, ilpo.jarvinen, linux-kernel, platform-driver-x86

This patch adds platform_profile support for Dell devices which implement
User Selectable Thermal Tables (USTT) that are meant to be controlled by
Alienware Command Center (AWCC). These devices may include newer Alienware
M-Series, Alienware X-Series and Dell's G-Series. This patch, was tested
by me on an Alienware x15 R1.

---
v6:
 - Removed quirk thermal_ustt.
 - Now quirk thermal can take canonical thermal profile _tables_ defined
   in enum WMAX_THERMAL_TABLES
 - Added autodetect_thermal_profile
 - Proper removal of thermal profile
v5:
 - Better commit messages
 - insize renamed to in_size in alienware_wmax_command() to match other
   arguments.
 - Kudos in documentation now at the end of the file
v4:
 - Fixed indentation on previous code
 - Removed unnecessary (acpi_size) and (u32 *) casts
 - Return -EIO on ACPI_FAILURE
 - Appropiate prefixes given to macros
 - 0xFFFFFFFF named WMAX_FAILURE_CODE
 - Added support for a new set of thermal codes. Old ones now have USTT
   in their names
 - A new quirk has been added to differantiate between the two sets.
   thermal and thermal_ustt are mutually exclusive
 - Added documentation for WMAX interface
v3:
 - Removed extra empty line
 - 0x0B named WMAX_ARG_GET_CURRENT_PROF
 - Removed casts to the same type on functions added in this patch
 - Thermal profile to WMAX argument is now an static function and makes
   use of in-built kernel macros
 - Platform profile is now removed only if it was created first
 - create_platform_profile is now create_thermal_profile to avoid
   confusion
 - profile_get and profile_set functions renamed too to match the above
v2:
 - Moved functionality to alienware-wmi driver
 - Added thermal and gmode quirks to add support based on dmi match
 - Performance profile is now GMODE for devices that support it
 - alienware_wmax_command now is insize agnostic to support new thermal
   methods

Kurt Borja (5):
  alienware-wmi: fixed indentation and clean up
  alienware-wmi: alienware_wmax_command() is now input size agnostic
  alienware-wmi: added platform profile support
  alienware-wmi: added autodetect_thermal_profile for devices with
    quirk_unknown
  alienware-wmi: WMAX interface documentation

 Documentation/wmi/devices/alienware-wmi.rst | 366 ++++++++++++++++
 MAINTAINERS                                 |   1 +
 drivers/platform/x86/dell/Kconfig           |   1 +
 drivers/platform/x86/dell/alienware-wmi.c   | 446 ++++++++++++++++----
 4 files changed, 738 insertions(+), 76 deletions(-)
 create mode 100644 Documentation/wmi/devices/alienware-wmi.rst

-- 
2.47.0


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-10-22  7:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-17  8:12 [PATCH v6 0/5] Dell AWCC platform_profile support Kurt Borja
2024-10-17  8:13 ` [PATCH v6 1/5] alienware-wmi: fixed indentation and clean up Kurt Borja
2024-10-20 20:04   ` Armin Wolf
2024-10-17  8:14 ` [PATCH v6 2/5] alienware-wmi: alienware_wmax_command() is now input size agnostic Kurt Borja
2024-10-20 20:05   ` Armin Wolf
2024-10-17  8:15 ` [PATCH v6 3/5] alienware-wmi: added platform profile support Kurt Borja
2024-10-20 20:12   ` Armin Wolf
2024-10-22  7:35     ` Kurt Borja
2024-10-17  8:16 ` [PATCH v6 4/5] alienware-wmi: added autodetect_thermal_profile for devices with quirk_unknown Kurt Borja
2024-10-20 20:39   ` Armin Wolf
2024-10-20 20:40     ` Armin Wolf
2024-10-20 22:09       ` Armin Wolf
2024-10-22  7:58     ` Kurt Borja
2024-10-17  8:17 ` [PATCH v6 5/5] alienware-wmi: WMAX interface documentation Kurt Borja
2024-10-20 22:09   ` Armin Wolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®