From: Kurt Borja via B4 Relay <devnull+kuurtb.gmail.com@kernel.org>
To: "Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Armin Wolf" <W_Armin@gmx.de>
Cc: Gabriel Marcano <gabemarcano@yahoo.com>,
platform-driver-x86@vger.kernel.org,
Dell.Client.Kernel@dell.com, linux-kernel@vger.kernel.org,
Kurt Borja <kuurtb@gmail.com>
Subject: [PATCH v3 0/2] platform/x86: alienware-wmi-wmax: Add support for GPIO methods
Date: Fri, 02 May 2025 05:08:59 -0300 [thread overview]
Message-ID: <20250502-awcc-gpio-v3-0-ea9a932d1124@gmail.com> (raw)
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-g5-5505-se-acpi-or-figuring-out-how-to-reset-the-rgb-controller/
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
Changes in v3:
- Create pinX files dynamically, based on GPIO pin count
- Added note on dummy input arguments in Documentation
- Link to v2: https://lore.kernel.org/r/20250427-awcc-gpio-v2-0-c731373b5d02@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-160a11bc3f9a@gmail.com
---
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 | 82 +++++++++++++++++-
drivers/platform/x86/dell/alienware-wmi-wmax.c | 105 +++++++++++++++++++++++-
3 files changed, 201 insertions(+), 6 deletions(-)
---
base-commit: f618f1b298d3195d363b20f158ccb3facf553f0d
change-id: 20250413-awcc-gpio-24b1f5c546d2
Best regards,
--
~ Kurt
next reply other threads:[~2025-05-02 8:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-02 8:08 Kurt Borja via B4 Relay [this message]
2025-05-02 8:09 ` [PATCH v3 1/2] platform/x86: alienware-wmi-wmax: Expose GPIO debug methods Kurt Borja via B4 Relay
2025-05-02 12:45 ` Ilpo Järvinen
2025-05-02 15:48 ` Kurt Borja
2025-05-02 8:09 ` [PATCH v3 2/2] Documentation: wmi: alienware-wmi: Add GPIO control documentation Kurt Borja via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250502-awcc-gpio-v3-0-ea9a932d1124@gmail.com \
--to=devnull+kuurtb.gmail.com@kernel.org \
--cc=Dell.Client.Kernel@dell.com \
--cc=W_Armin@gmx.de \
--cc=gabemarcano@yahoo.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=kuurtb@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=platform-driver-x86@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox