History

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.

PaddyKP_Yao committed 4 years ago

Commit b644c951 parent aeb47cb3 files · +28 −0Browse files

Showing the changes to include/linux/platform_data (1 of 3 files). Show all

Unified · Split

include/linux/platform_data/x86/asus-wmi.h+1−0
@@ -49,6 +49,7 @@ · 48 unmodified lines
4949 #define ASUS_WMI_DEVID_LED4 0x00020014
5050 #define ASUS_WMI_DEVID_LED5 0x00020015
5151 #define ASUS_WMI_DEVID_LED6 0x00020016
52+#define ASUS_WMI_DEVID_MICMUTE_LED 0x00040017
5253
5354 /* Backlight and Brightness */
5455 #define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */