[PATCH v4 0/9] asus-wmi: add new features, clean up, fixes

From: Luke D. Jones
Date: Wed Apr 03 2024 - 20:17:17 EST


This patch series touches quite a few things along with adding support for some
new features.

- Add support for mini-LED on 2024 ROG lpatops
- Add support for the gpu MUX WMI call on Vivobook laptops
- Add support for the POST boot sound on ROG laptops
- Add support for MCU power-save (ROG Ally only, saves more power on suspend)
- Store written values for ppt_* features
- Small formatting cleanup
- Small fixes to cleanup struct holes found with pahole

Obsoletes:
- https://lore.kernel.org/all/20240320011442.11608-1-luke@xxxxxxxxxx/
- https://lore.kernel.org/all/20240310065408.63703-1-luke@xxxxxxxxxx/
- https://lore.kernel.org/all/20240310061715.16531-1-luke@xxxxxxxxxx/
- https://lore.kernel.org/all/20240310055312.11293-1-luke@xxxxxxxxxx/
- https://lore.kernel.org/all/20240310233722.30884-1-luke@xxxxxxxxxx/

Changelog:
- V1
- Mini-LED: use asus_wmi_get_devstate() and not asus_wmi_get_devstate_simple()
- Fix dates in Documentation/ABI/testing/sysfs-platform-asus-wmi
- Remove <name>_available bools and rely on devid for:
- gpu_mux
- mini_led
- kbd_rgb (TUF RGB LED)
- V2
- Fix formating on select if/else blocks shown by checkpatch.pl
- V3
- mini-led patch:
- Add error handling
- Add defines inplace of "magic" numbers
- Remove outdated comment
- Clarify existing comments
- post-sound patch:
- Add missing newline
- min-default-ppt patch
Use `%u` instead of `%d` in sysfs_emit()
- V4
- mini-led patch:
- Minor formatting cleanup

Luke D. Jones (9):
platform/x86: asus-wmi: add support for 2024 ROG Mini-LED
platform/x86: asus-wmi: add support for Vivobook GPU MUX
platform/x86: asus-wmi: add support variant of TUF RGB
platform/x86: asus-wmi: support toggling POST sound
platform/x86: asus-wmi: store a min default for ppt options
platform/x86: asus-wmi: adjust formatting of ppt-<name>() functions
platform/x86: asus-wmi: ROG Ally increase wait time, allow MCU
powersave
platform/x86: asus-wmi: Add support for MCU powersave
platform/x86: asus-wmi: cleanup main struct to avoid some holes

.../ABI/testing/sysfs-platform-asus-wmi | 26 ++
drivers/platform/x86/asus-wmi.c | 409 ++++++++++++++----
include/linux/platform_data/x86/asus-wmi.h | 6 +
3 files changed, 355 insertions(+), 86 deletions(-)

--
2.44.0