diff options
author | Luke D. Jones <luke@ljones.dev> | 2023-06-30 17:35:46 +1200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-07-12 17:01:43 +0200 |
commit | 536fce82d72933b9c60f1f0873f75ef890d80679 (patch) | |
tree | 622df191d1d42c54463710d20a9bf419e1166ab6 /include/linux/platform_data/x86 | |
parent | 77ee9d299e6d69a75e9a3e15a1f09cd7c8f88ff0 (diff) |
platform/x86: asus-wmi: add support for showing middle fan RPM
Some newer ASUS ROG laptops now have a middle/center fan in addition
to the CPU and GPU fans. This new fan typically blows across the
heatpipes and VRMs betweent eh CPU and GPU.
This commit exposes that fan to PWM control plus showing RPM.
Signed-off-by: Luke D. Jones <luke@ljones.dev>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230630053552.976579-3-luke@ljones.dev
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include/linux/platform_data/x86')
-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 f90cafe26af1..2c03bda7703f 100644 --- a/include/linux/platform_data/x86/asus-wmi.h +++ b/include/linux/platform_data/x86/asus-wmi.h @@ -80,6 +80,7 @@ #define ASUS_WMI_DEVID_FAN_CTRL 0x00110012 /* deprecated */ #define ASUS_WMI_DEVID_CPU_FAN_CTRL 0x00110013 #define ASUS_WMI_DEVID_GPU_FAN_CTRL 0x00110014 +#define ASUS_WMI_DEVID_MID_FAN_CTRL 0x00110031 #define ASUS_WMI_DEVID_CPU_FAN_CURVE 0x00110024 #define ASUS_WMI_DEVID_GPU_FAN_CURVE 0x00110025 |