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

From: Armin Wolf
Date: Thu Mar 14 2024 - 13:14:30 EST


Am 10.03.24 um 23:07 schrieb tjakobi@xxxxxxxxxxxxxxxxxxxxx:

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 | 7 +++++++
1 file changed, 7 insertions(+)

diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c
index 44aaf9b9191d..02405a1dd0a0 100644
--- a/drivers/hwmon/dell-smm-hwmon.c
+++ b/drivers/hwmon/dell-smm-hwmon.c
@@ -1096,6 +1096,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5590"),
},
},
+ {
+ .ident = "Dell G5 5505",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+ },
+ },
{
.ident = "Dell Inspiron",
.matches = {

Reviewed-by: Armin Wolf <W_Armin@xxxxxx>