From: Armin Wolf <W_Armin@gmx.de>
To: "Derek J. Clark" <derekjohn.clark@gmail.com>,
"Hans de Goede" <hdegoede@redhat.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Jonathan Corbet <corbet@lwn.net>,
Mario Limonciello <superm1@kernel.org>,
Luke Jones <luke@ljones.dev>, Xino Ni <nijs1@lenovo.com>,
Zhixin Zhang <zhangzx36@lenovo.com>,
Mia Shao <shaohz1@lenovo.com>,
Mark Pearson <mpearson-lenovo@squebb.ca>,
"Pierre-Loup A . Griffais" <pgriffais@valvesoftware.com>,
"Cody T . -H . Chiu" <codyit@gmail.com>,
John Martens <johnfanv2@gmail.com>,
platform-driver-x86@vger.kernel.org, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 0/6 RESEND] platform/x86: Add Lenovo Gaming Series WMI Drivers
Date: Thu, 27 Mar 2025 04:52:15 +0100 [thread overview]
Message-ID: <dea2be3a-7e56-449b-8c9e-ac2e333d6a9e@gmx.de> (raw)
In-Reply-To: <20250317144326.5850-1-derekjohn.clark@gmail.com>
Am 17.03.25 um 15:43 schrieb Derek J. Clark:
> Adds support for the Lenovo "Gaming Series" of laptop hardware that use
> WMI interfaces that control various power settings. There are multiple WMI
> interfaces that work in concert to provide getting and setting values as
> well as validation of input. Currently only the "Gamezone", "Other
> Mode", and "LENOVO_CAPABILITY_DATA_01" interfaces are implemented, but
> I attempted to structure the driver so that adding the "Custom Mode",
> "Lighting", and other data block interfaces would be trivial in a later
> patches.
>
> This driver is distinct from, but should be considered a replacement for
> this patch:
> https://lore.kernel.org/all/20241118100503.14228-1-jonmail@163.com/
>
> This driver attempts to standardize the exposed sysfs by mirroring the
> asus-armoury driver currently under review. As such, a lot of
> inspiration has been drawn from that driver.
> https://lore.kernel.org/platform-driver-x86/20250316230724.100165-1-luke@ljones.dev/
>
> The drivers have been tested by me on the Lenovo Legion Go and Legion Go
> S.
So far the patch series looks promising. The basic architecture seems to be finished by
now, only some implementation details need to be fleshed out.
Thanks,
Armin Wolf
>
> Suggested-by: Mario Limonciello <superm1@kernel.org>
> Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
> ---
> v4:
> - Added lenovo-wmi-events driver
> - Added headers for every driver
> - Fixes requested from v3 review
> v3:
> https://lore.kernel.org/platform-driver-x86/20250225220037.16073-1-derekjohn.clark@gmail.com/
> v2:
> https://lore.kernel.org/platform-driver-x86/20250102004854.14874-1-derekjohn.clark@gmail.com/
> v1:
> https://lore.kernel.org/platform-driver-x86/20241217230645.15027-1-derekjohn.clark@gmail.com/
>
> Derek J. Clark (6):
> platform/x86: Add lenovo-wmi-* driver Documentation
> platform/x86: Add lenovo-wmi-helpers
> platform/x86: Add Lenovo WMI Events Driver
> platform/x86: Add Lenovo Capability Data 01 WMI Driver
> platform/x86: Add Lenovo Other Mode WMI Driver
> platform/x86: Add Lenovo Gamezone WMI Driver
>
> .../wmi/devices/lenovo-wmi-gamezone.rst | 203 ++++++
> .../wmi/devices/lenovo-wmi-other-method.rst | 108 +++
> MAINTAINERS | 17 +
> drivers/platform/x86/Kconfig | 40 ++
> drivers/platform/x86/Makefile | 5 +
> drivers/platform/x86/lenovo-wmi-capdata01.c | 136 ++++
> drivers/platform/x86/lenovo-wmi-capdata01.h | 29 +
> drivers/platform/x86/lenovo-wmi-events.c | 132 ++++
> drivers/platform/x86/lenovo-wmi-events.h | 21 +
> drivers/platform/x86/lenovo-wmi-gamezone.c | 380 +++++++++++
> drivers/platform/x86/lenovo-wmi-gamezone.h | 18 +
> drivers/platform/x86/lenovo-wmi-helpers.c | 64 ++
> drivers/platform/x86/lenovo-wmi-helpers.h | 24 +
> drivers/platform/x86/lenovo-wmi-other.c | 626 ++++++++++++++++++
> drivers/platform/x86/lenovo-wmi-other.h | 19 +
> 15 files changed, 1822 insertions(+)
> create mode 100644 Documentation/wmi/devices/lenovo-wmi-gamezone.rst
> create mode 100644 Documentation/wmi/devices/lenovo-wmi-other-method.rst
> create mode 100644 drivers/platform/x86/lenovo-wmi-capdata01.c
> create mode 100644 drivers/platform/x86/lenovo-wmi-capdata01.h
> create mode 100644 drivers/platform/x86/lenovo-wmi-events.c
> create mode 100644 drivers/platform/x86/lenovo-wmi-events.h
> create mode 100644 drivers/platform/x86/lenovo-wmi-gamezone.c
> create mode 100644 drivers/platform/x86/lenovo-wmi-gamezone.h
> create mode 100644 drivers/platform/x86/lenovo-wmi-helpers.c
> create mode 100644 drivers/platform/x86/lenovo-wmi-helpers.h
> create mode 100644 drivers/platform/x86/lenovo-wmi-other.c
> create mode 100644 drivers/platform/x86/lenovo-wmi-other.h
>
prev parent reply other threads:[~2025-03-27 3:52 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-17 14:43 Derek J. Clark
2025-03-17 14:43 ` [PATCH v4 1/6 RESEND] platform/x86: Add lenovo-wmi-* driver Documentation Derek J. Clark
2025-03-18 4:24 ` Mario Limonciello
2025-03-19 2:48 ` Derek J. Clark
2025-03-19 4:41 ` Bagas Sanjaya
2025-03-19 4:50 ` Derek J. Clark
2025-03-27 0:26 ` Armin Wolf
2025-03-30 4:49 ` Derek John Clark
2025-03-17 14:43 ` [PATCH v4 2/6 RESEND] platform/x86: Add lenovo-wmi-helpers Derek J. Clark
2025-03-18 4:27 ` Mario Limonciello
2025-03-19 2:50 ` Derek J. Clark
2025-03-26 19:45 ` Matthew Schwartz
2025-03-27 0:40 ` Armin Wolf
2025-03-30 4:55 ` Derek John Clark
2025-03-27 12:43 ` Ilpo Järvinen
2025-04-02 21:22 ` Derek John Clark
2025-03-17 14:43 ` [PATCH v4 3/6 RESEND] platform/x86: Add Lenovo WMI Events Driver Derek J. Clark
2025-03-18 4:30 ` Mario Limonciello
2025-03-26 19:47 ` Matthew Schwartz
2025-03-27 1:03 ` Armin Wolf
2025-03-30 4:55 ` Derek John Clark
2025-03-27 12:47 ` Ilpo Järvinen
2025-03-17 14:43 ` [PATCH v4 4/6 RESEND] platform/x86: Add Lenovo Capability Data 01 WMI Driver Derek J. Clark
2025-03-26 19:47 ` Matthew Schwartz
2025-03-27 1:29 ` Armin Wolf
2025-04-02 20:47 ` Derek John Clark
2025-04-03 1:40 ` Armin Wolf
2025-03-27 12:56 ` Ilpo Järvinen
2025-04-02 21:22 ` Derek John Clark
2025-04-03 1:21 ` Armin Wolf
2025-04-03 11:01 ` Ilpo Järvinen
2025-03-17 14:43 ` [PATCH v4 5/6 RESEND] platform/x86: Add Lenovo Other Mode " Derek J. Clark
2025-03-26 19:48 ` Matthew Schwartz
2025-03-27 3:28 ` Armin Wolf
2025-04-02 22:24 ` Derek John Clark
2025-04-03 1:28 ` Armin Wolf
2025-04-03 11:05 ` Ilpo Järvinen
2025-03-27 13:49 ` Ilpo Järvinen
2025-04-02 21:22 ` Derek John Clark
2025-04-03 10:49 ` Ilpo Järvinen
2025-03-17 14:43 ` [PATCH v4 6/6 RESEND] platform/x86: Add Lenovo Gamezone " Derek J. Clark
2025-03-26 19:48 ` Matthew Schwartz
2025-03-27 3:49 ` Armin Wolf
2025-04-02 20:58 ` Derek John Clark
2025-04-03 1:32 ` Armin Wolf
2025-03-27 13:56 ` Ilpo Järvinen
2025-04-02 21:22 ` Derek John Clark
2025-04-03 10:53 ` Ilpo Järvinen
2025-03-27 3:52 ` Armin Wolf [this message]
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=dea2be3a-7e56-449b-8c9e-ac2e333d6a9e@gmx.de \
--to=w_armin@gmx.de \
--cc=codyit@gmail.com \
--cc=corbet@lwn.net \
--cc=derekjohn.clark@gmail.com \
--cc=hdegoede@redhat.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=johnfanv2@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luke@ljones.dev \
--cc=mpearson-lenovo@squebb.ca \
--cc=nijs1@lenovo.com \
--cc=pgriffais@valvesoftware.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=shaohz1@lenovo.com \
--cc=superm1@kernel.org \
--cc=zhangzx36@lenovo.com \
/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
all inboxes | Powered by JetHome®