|
|
Subscribe / Log in / New account

platform/x86: alienware-wmi-wmax: Add support for GPIO methods

From:  Kurt Borja via B4 Relay <devnull+kuurtb.gmail.com-AT-kernel.org>
To:  Hans de Goede <hdegoede-AT-redhat.com>, Ilpo Järvinen <ilpo.jarvinen-AT-linux.intel.com>, Armin Wolf <W_Armin-AT-gmx.de>
Subject:  [PATCH v2 0/2] platform/x86: alienware-wmi-wmax: Add support for GPIO methods
Date:  Sun, 27 Apr 2025 03:24:47 -0300
Message-ID:  <20250427-awcc-gpio-v2-0-c731373b5d02@gmail.com>
Cc:  Gabriel Marcano <gabemarcano-AT-yahoo.com>, platform-driver-x86-AT-vger.kernel.org, Dell.Client.Kernel-AT-dell.com, linux-kernel-AT-vger.kernel.org, Kurt Borja <kuurtb-AT-gmail.com>
Archive-link:  Article

Hi all,

I found a great blog post [1], which described the reverse engineering
process of the GPIO control methods present on this device.

In summary, these methods expose some debugging capabilities of the RGB
lighting controller present on Dell gaming laptops. See [Patch 2] for
more info.

Exposing these methods to DebugFS is useful for developers exploring
this RGB controllers (myself included).

Thanks for your feedback!

[1] https://gabriel.marcanobrady.family/blog/2024/12/16/dell-...

Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
Changes in v2:
- Dropped module parameter
- Added ABI documentation to Patch 1
- Small improvements to documentation based on Armin's comments
- Improved Pin description table format
- Link to v1: https://lore.kernel.org/r/20250423-awcc-gpio-v1-0-160a11b...

---
Kurt Borja (2):
      platform/x86: alienware-wmi-wmax: Expose GPIO debug methods
      Documentation: wmi: alienware-wmi: Add GPIO control documentation

 Documentation/ABI/testing/debugfs-alienware-wmi |  20 +++++
 Documentation/wmi/devices/alienware-wmi.rst     |  78 ++++++++++++++++-
 drivers/platform/x86/dell/alienware-wmi-wmax.c  | 108 +++++++++++++++++++++++-
 3 files changed, 201 insertions(+), 5 deletions(-)
---
base-commit: 981527828c301644bc4014faa9c523e8a5e32a32
change-id: 20250413-awcc-gpio-24b1f5c546d2

Best regards,
-- 
 ~ Kurt





Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds