[PATCH v3 00/11] asus-wmi: Support of ASUS TUF Gaming series laptops

From: Yurii Pavlovskyi
Date: Fri Apr 19 2019 - 14:26:02 EST


this is the third version of the patch series.

* Use devm_* function in patch 01
* Detect DSTS/DCTS using _UID in patch 04
* Detect event queue by _UID as well in patch 05
* Rename poll function in patch 05
* Fix terminology in patches 09 and 10
* Correct commit messages
* Fix logging

The support for this laptop series is currently non-existent, as the
asus-nb-wmi driver (which is essentially configuration for asus-wmi) fails
to load and multiple ACPI errors are logged in dmesg. This patch series
adds pretty comprehensive support for these relatively new laptops, adds
some code organization, and fixes a couple of bugs in the asus-wmi module.

Original message from V1/V2:

It is really long, so I will not copy it completely here, please refer
to the original for notes on design decisions and existing minor issues
(other than quirks, which should be hopefully solved now).

Yurii Pavlovskyi (11):
platform/x86: asus-wmi: Fix hwmon device cleanup
platform/x86: asus-wmi: Fix preserving keyboard backlight intensity on
platform/x86: asus-wmi: Increase the input buffer size of WMI methods
platform/x86: asus-wmi: Improve DSTS WMI method ID detection
platform/x86: asus-wmi: Support WMI event queue
platform/x86: asus-nb-wmi: Add microphone mute key code
platform/x86: asus-wmi: Organize code into sections
platform/x86: asus-wmi: Enhance detection of thermal data
platform/x86: asus-wmi: Control RGB keyboard backlight
platform/x86: asus-wmi: Switch fan boost mode
platform/x86: asus-wmi: Do not disable keyboard backlight on unloading

.../ABI/testing/sysfs-platform-asus-wmi | 71 ++
drivers/platform/x86/asus-nb-wmi.c | 3 +-
drivers/platform/x86/asus-wmi.c | 797 +++++++++++++++---
drivers/platform/x86/wmi.c | 19 +
include/linux/acpi.h | 1 +
include/linux/platform_data/x86/asus-wmi.h | 7 +-
6 files changed, 797 insertions(+), 101 deletions(-)