[PATCH] hwmon: (dell-smm) Add Dell G5 5505 to DMI table

From: tjakobi
Date: Sun Mar 10 2024 - 13:42:33 EST


From: Tobias Jakobi <tjakobi@xxxxxxxxxxxxxxxxxxxxx>

Enables reading the speed of the CPU and GPU fan on the G5.

Signed-off-by: Tobias Jakobi <tjakobi@xxxxxxxxxxxxxxxxxxxxx>
---
drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 44aaf9b9191d..bee9cca2f768 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1192,6 +1192,14 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
DMI_MATCH(DMI_PRODUCT_NAME, "XPS"),
},
},
+ {
+ .ident = "Dell G5 5505",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_MATCH(DMI_PRODUCT_FAMILY, "GSeries"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+ },
+ },
{ }
};

--
2.43.0