[PATCH 1/2] platform/x86: asus-wmi: add Whisper Mode WMI device ID defines

From: Marco Scardovi

Date: Tue Jul 28 2026 - 03:27:06 EST


Add WMI device ID definitions for ASUS Whisper Mode hardware control.

The WMI device IDs used by ASUS laptops to query and configure Whisper
Mode profiles (BIOS Whisper Mode toggle, Dynamic Whisper enable, and Dynamic
Whisper status/control) were missing from asus-wmi.h.

Add ASUS_WMI_DEVID_WHISPER_MODE (0x0012007A), ASUS_WMI_DEVID_WHISPER_ENABLE
(0x00090022), and ASUS_WMI_DEVID_WHISPER_STATUS (0x00090023).

This change only introduces constant macro definitions and has no side effects
on existing driver code.

Assisted-by: Antigravity:gemini-3.6-flash
Signed-off-by: Marco Scardovi <scardracs@xxxxxxxxxxx>
---
include/linux/platform_data/x86/asus-wmi.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/linux/platform_data/x86/asus-wmi.h b/include/linux/platform_data/x86/asus-wmi.h
index b5ed8c83ace1..3971ddc3af15 100644
--- a/include/linux/platform_data/x86/asus-wmi.h
+++ b/include/linux/platform_data/x86/asus-wmi.h
@@ -164,6 +164,11 @@
/* Bootup sound control */
#define ASUS_WMI_DEVID_BOOT_SOUND 0x00130022

+/* Whisper Mode controls */
+#define ASUS_WMI_DEVID_WHISPER_MODE 0x0012007A
+#define ASUS_WMI_DEVID_WHISPER_ENABLE 0x00090022
+#define ASUS_WMI_DEVID_WHISPER_STATUS 0x00090023
+
/* DSTS masks */
#define ASUS_WMI_DSTS_STATUS_BIT 0x00000001
#define ASUS_WMI_DSTS_UNKNOWN_BIT 0x00000002
--
2.55.0