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
49#define ASUS_WMI_DEVID_LED4 0x0002001449#define ASUS_WMI_DEVID_LED4 0x00020014
50#define ASUS_WMI_DEVID_LED5 0x0002001550#define ASUS_WMI_DEVID_LED5 0x00020015
51#define ASUS_WMI_DEVID_LED6 0x0002001651#define ASUS_WMI_DEVID_LED6 0x00020016
52#define ASUS_WMI_DEVID_MICMUTE_LED 0x00040017
52 53
53/* Backlight and Brightness */54/* Backlight and Brightness */
54#define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */55#define ASUS_WMI_DEVID_ALS_ENABLE 0x00050001 /* Ambient Light Sensor */