diff options
author | Armin Wolf <W_Armin@gmx.de> | 2025-09-17 20:10:36 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-09-24 07:50:42 -0700 |
commit | 53d3bd48ef6ff1567a75ca77728968f5ab493cb4 (patch) | |
tree | ee9723c28e82ea31b2019184ac2b567713bc7392 | |
parent | 1c1658058c99bcfd3b2347e587a556986037f80a (diff) |
hwmon: (dell-smm) Add support for Dell OptiPlex 7040
The Dell OptiPlex 7040 supports the legacy SMM interface for reading
sensors and performing fan control. Whitelist this machine so that
this driver loads automatically.
Closes: https://github.com/Wer-Wolf/i8kutils/issues/15
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20250917181036.10972-5-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r-- | drivers/hwmon/dell-smm-hwmon.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c index 79befa13b699..cbe1a74a3dee 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1331,6 +1331,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = { }, }, { + .ident = "Dell OptiPlex 7040", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7040"), + }, + }, + { .ident = "Dell Precision", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), |