platform/x86: asus-wmi: add support for 2024 ROG Mini-LED
authorLuke D. Jones <luke@ljones.dev>
Thu, 4 Apr 2024 00:16:44 +0000 (13:16 +1300)
committerHans de Goede <hdegoede@redhat.com>
Mon, 8 Apr 2024 16:30:20 +0000 (18:30 +0200)
commitf81d13df1aa8b02fa8c6ac4b396dcda92fdfdac0
treef082d43ce6f4f6adc1a4809fbf937fb9a2e6097e
parenta582a43e0d2e0afb695cd22ce46554f4a3d8b7bc
platform/x86: asus-wmi: add support for 2024 ROG Mini-LED

Support the 2024 mini-led backlight and adjust the related functions
to select the relevant dev-id. Also add `available_mini_led_mode` to the
platform sysfs since the available mini-led levels can be different.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
signed-off-by: Luke D. Jones <luke@ljones.dev>
Link: https://lore.kernel.org/r/20240404001652.86207-2-luke@ljones.dev
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Documentation/ABI/testing/sysfs-platform-asus-wmi
drivers/platform/x86/asus-wmi.c
include/linux/platform_data/x86/asus-wmi.h