[PATCH v6 00/14] platform/x86: alienware-wmi driver rework

Kurt Borja posted 14 patches 3 days, 4 hours ago
MAINTAINERS                                   |    4 +-
drivers/platform/x86/dell/Kconfig             |   30 +-
drivers/platform/x86/dell/Makefile            |   45 +-
.../platform/x86/dell/alienware-wmi-base.c    |  488 +++++++
.../platform/x86/dell/alienware-wmi-legacy.c  |  101 ++
.../platform/x86/dell/alienware-wmi-wmax.c    |  782 +++++++++++
drivers/platform/x86/dell/alienware-wmi.c     | 1249 -----------------
drivers/platform/x86/dell/alienware-wmi.h     |  102 ++
8 files changed, 1525 insertions(+), 1276 deletions(-)
create mode 100644 drivers/platform/x86/dell/alienware-wmi-base.c
create mode 100644 drivers/platform/x86/dell/alienware-wmi-legacy.c
create mode 100644 drivers/platform/x86/dell/alienware-wmi-wmax.c
delete mode 100644 drivers/platform/x86/dell/alienware-wmi.c
create mode 100644 drivers/platform/x86/dell/alienware-wmi.h
[PATCH v6 00/14] platform/x86: alienware-wmi driver rework
Posted by Kurt Borja 3 days, 4 hours ago
Hi :)

No changes besides v5 aside from rebasing on top of the for-next branch
`fixes` merge. Especifically to account for commit

	c1043cdb019e ("alienware-wmi: Fix X Series and G Series quirks")

Which adds a check for `quirks->num_zones > 0` before calling
alienware_zone_init().

If the solution explained bellow is sound, this patchset should be
ready!

~ Kurt
---
v5 -> v6:

[01/14]
  - Check for `quirks->num_zones > 0` in alienfx_probe() because
    alienware_zone_init() is dropped in this patch
  - Slightly reword commit message to reflect this change

[02/14]
  - Drop `quirks->num_zones > 0` check in alienfx_probe() because the
    platform_device is now only created if `!quirks->thermal` which
    actually implies `quirks->num_zones > 0` because those features are
    incompatible between them.
  - Slightly reword commit message to reflect this change

v5: https://lore.kernel.org/platform-driver-x86/20250119220542.3136-1-kuurtb@gmail.com/

Kurt Borja (14):
  platform/x86: alienware-wmi: Add a state container for LED control
    feature
  platform/x86: alienware-wmi: Add WMI Drivers
  platform/x86: alienware-wmi: Add a state container for thermal control
    methods
  platform/x86: alienware-wmi: Refactor LED control methods
  platform/x86: alienware-wmi: Refactor hdmi, amplifier, deepslp methods
  platform/x86: alienware-wmi: Refactor thermal control methods
  platform/x86: alienware-wmi: Split DMI table
  MAINTAINERS: Update ALIENWARE WMI DRIVER entry
  platform/x86: Rename alienware-wmi.c
  platform/x86: Add alienware-wmi.h
  platform/x86: Split the alienware-wmi driver
  platform/x86: dell: Modify Makefile alignment
  platform/x86: Update alienware-wmi config entries
  platform/x86: alienware-wmi: Update header and module information

 MAINTAINERS                                   |    4 +-
 drivers/platform/x86/dell/Kconfig             |   30 +-
 drivers/platform/x86/dell/Makefile            |   45 +-
 .../platform/x86/dell/alienware-wmi-base.c    |  488 +++++++
 .../platform/x86/dell/alienware-wmi-legacy.c  |  101 ++
 .../platform/x86/dell/alienware-wmi-wmax.c    |  782 +++++++++++
 drivers/platform/x86/dell/alienware-wmi.c     | 1249 -----------------
 drivers/platform/x86/dell/alienware-wmi.h     |  102 ++
 8 files changed, 1525 insertions(+), 1276 deletions(-)
 create mode 100644 drivers/platform/x86/dell/alienware-wmi-base.c
 create mode 100644 drivers/platform/x86/dell/alienware-wmi-legacy.c
 create mode 100644 drivers/platform/x86/dell/alienware-wmi-wmax.c
 delete mode 100644 drivers/platform/x86/dell/alienware-wmi.c
 create mode 100644 drivers/platform/x86/dell/alienware-wmi.h


base-commit: 0da9a3f9ac8ada83fa79579455871ec59f11db72
-- 
2.48.1