platform/x86: Add Lenovo Gaming Series WMI Drivers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest6 patches 1 replyIn review
- v34 patches 28 repliesSuperseded
- v24 patches 34 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 27 replies | Superseded |
Changes in v4 from the cover letter
- Added lenovo-wmi-events driver
- Added headers for every driver
- Fixes requested from v3 review
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | platform/x86: Add lenovo-wmi-* driver DocumentationDocumentation/ Documentation/ MAINTAINERS | +318 | 0 replies | |
| 2/6 | platform/x86: Add lenovo-wmi-helpersMAINTAINERS drivers/ drivers/ +2 more | +95 | 0 replies | |
| 3/6 | platform/x86: Add Lenovo WMI Events DriverMAINTAINERS drivers/ drivers/ +2 more | +160 | 0 replies | |
| 4/6 | platform/x86: Add Lenovo Capability Data 01 WMI DriverMAINTAINERS drivers/ drivers/ +2 more | +172 | 0 replies | |
| 5/6 | platform/x86: Add Lenovo Other Mode WMI DriverMAINTAINERS drivers/ drivers/ +2 more | +663 | 0 replies | |
| 6/6 | platform/x86: Add Lenovo Gamezone WMI DriverMAINTAINERS drivers/ drivers/ +2 more | +414 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/6] platform/x86: Add Lenovo Gaming Series WMI Drivers
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/[email protected]/
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/[email protected]/
The drivers have been tested by me on the Lenovo Legion Go and Legion Go S.
---
v4:
- Added lenovo-wmi-events driver
- Added headers for every driver
- Fixes requested from v3 review
v3:
https://lore.kernel.org/platform-driver-x86/[email protected]/
v2:
https://lore.kernel.org/platform-driver-x86/[email protected]/
v1:
https://lore.kernel.org/platform-driver-x86/[email protected]/
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
Signature · 1 line
2.49.0