diff options
author | 2024-04-04 13:16:44 +1300 | |
---|---|---|
committer | 2024-04-08 18:30:20 +0200 | |
commit | f81d13df1aa8b02fa8c6ac4b396dcda92fdfdac0 (patch) | |
tree | f082d43ce6f4f6adc1a4809fbf937fb9a2e6097e /include/linux/platform_data/x86/asus-wmi.h | |
parent | platform/x86: wmi: Add driver development guide (diff) | |
download | wireguard-linux-f81d13df1aa8b02fa8c6ac4b396dcda92fdfdac0.tar.xz wireguard-linux-f81d13df1aa8b02fa8c6ac4b396dcda92fdfdac0.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | include/linux/platform_data/x86/asus-wmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h index ab1c7deff118..9cadce10ad9a 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -71,6 +71,7 @@ #define ASUS_WMI_DEVID_LID_FLIP 0x00060062 #define ASUS_WMI_DEVID_LID_FLIP_ROG 0x00060077 #define ASUS_WMI_DEVID_MINI_LED_MODE 0x0005001E +#define ASUS_WMI_DEVID_MINI_LED_MODE2 0x0005002E /* Storage */ #define ASUS_WMI_DEVID_CARDREADER 0x00080013 |