]> Gentwo Git Trees - linux/.git/commitdiff
hwmon: (dell-smm) Add Dell G5 5505 to fan control whitelist
authorGabriel Marcano <gabemarcano@yahoo.com>
Fri, 28 Nov 2025 19:16:44 +0000 (11:16 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 1 Dec 2025 19:13:27 +0000 (11:13 -0800)
Allow manual PWM control on Dell G5 5505 (and SE).

Signed-off-by: Gabriel Marcano <gabemarcano@yahoo.com>
Link: https://lore.kernel.org/r/20251128191650.6191-1-gabemarcano@yahoo.com
Acked-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index cbe1a74a3deea3a59c7ba4cb770d7a5222488ae5..683baf361c4c8469773f76a8638ae6ebcba6e39f 100644 (file)
@@ -1533,6 +1533,15 @@ static const struct i8k_fan_control_data i8k_fan_control_data[] __initconst = {
 };
 
 static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
+       {
+               .ident = "Dell G5 5505",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G5 5505"),
+
+               },
+               .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+       },
        {
                .ident = "Dell Latitude 5480",
                .matches = {