hwmon: (dell-smm) Add Dell G5 5590 to DMI table
authorArmin Wolf <W_Armin@gmx.de>
Sun, 12 Jun 2022 23:22:08 +0000 (01:22 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:20 +0000 (08:38 -0700)
According to Bug 215983 at bugzilla.kernel.org,
the Dell G5 5590 supports the SMM interface and
can thus be loaded with ignore_dmi being set.
Add the model the DMI table to allow for
automatic loadig on this model.

Compile-tested only.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20220612232208.27901-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index 16c10ac..d419885 100644 (file)
@@ -1132,6 +1132,13 @@ static const struct i8k_config_data i8k_config_data[] __initconst = {
 
 static const struct dmi_system_id i8k_dmi_table[] __initconst = {
        {
+               .ident = "Dell G5 5590",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5590"),
+               },
+       },
+       {
                .ident = "Dell Inspiron",
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "Dell Computer"),