summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaddyKP_Yao <PaddyKP_Yao@asus.com>2022-07-11 19:51:25 +0800
committerHans de Goede <hdegoede@redhat.com>2022-07-14 22:02:57 +0200
commitb644c95598adfe2b968e97daee3a890dd2fda84d (patch)
tree3b2c771d221736837e3eb932745fb49b1568240d /include
parentaeb47cb10aa4c2f794aa85e9fd3c9ff028455369 (diff)
downloadlinux-stable-b644c95598adfe2b968e97daee3a890dd2fda84d.tar.gz
linux-stable-b644c95598adfe2b968e97daee3a890dd2fda84d.tar.bz2
linux-stable-b644c95598adfe2b968e97daee3a890dd2fda84d.zip
platform/x86: asus-wmi: Add mic-mute LED classdev support
In some new ASUS devices, hotkey Fn+F13 is used for mic mute. If mic-mute LED is present by checking WMI ASUS_WMI_DEVID_MICMUTE_LED, we will add a mic-mute LED classdev, asus::micmute, in the asus-wmi driver to control it. The binding of mic-mute LED controls will be swithched with LED trigger. Signed-off-by: PaddyKP_Yao <PaddyKP_Yao@asus.com> Link: https://lore.kernel.org/r/20220711115125.2072508-1-PaddyKP_Yao@asus.com Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/x86/asus-wmi.h1
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 a571b47ff362..98f2b2f20f3e 100644
--- a/include/linux/platform_data/x86/asus-wmi.h
+++ b/include/linux/platform_data/x86/asus-wmi.h
@@ -49,6 +49,7 @@
#define ASUS_WMI_DEVID_LED4 0x00020014
#define ASUS_WMI_DEVID_LED5 0x00020015
#define ASUS_WMI_DEVID_LED6 0x00020016
+#define ASUS_WMI_DEVID_MICMUTE_LED 0x00040017
/* Backlight and Brightness */
#define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */