summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2025-09-17 20:10:35 +0200
committerGuenter Roeck <linux@roeck-us.net>2025-09-24 07:50:09 -0700
commit1c1658058c99bcfd3b2347e587a556986037f80a (patch)
treeaefc70fefe8cea4a960d57127d339c60416f7c47 /include/uapi
parent205c730262215fe1940668394a856f69ece55c66 (diff)
hwmon: (dell-smm) Add support for automatic fan mode
Many machines treat fan state 3 as some sort of automatic mode, which is superior to the separate SMM calls for switching to automatic fan mode for two reasons: - the fan control mode can be controlled for each fan separately - the current fan control mode can be retrieved from the BIOS On some machines however, this special fan state does not exist. Fan state 3 acts like a regular fan state on such machines or does not exist at all. Such machines usually use separate SMM calls for enabling/disabling automatic fan control. Add support for it. If the machine supports separate SMM calls for changing the fan control mode, then the other interface is ignored. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20250917181036.10972-4-W_Armin@gmx.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/i8k.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/i8k.h b/include/uapi/linux/i8k.h
index 268e6268f6c8..a16e4049710f 100644
--- a/include/uapi/linux/i8k.h
+++ b/include/uapi/linux/i8k.h
@@ -36,6 +36,8 @@
#define I8K_FAN_LOW 1
#define I8K_FAN_HIGH 2
#define I8K_FAN_TURBO 3
+/* Many machines treat this mode as some sort of automatic mode */
+#define I8K_FAN_AUTO 3
#define I8K_FAN_MAX I8K_FAN_TURBO
#define I8K_VOL_UP 1