Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

i8k: Add support for Dell Precision 490 and Latitude D520

Both systems need non-standard parameters for fan multiplier
and maximum fan speed.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Andreas Mohr <andi@lisas.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Guenter Roeck and committed by
Greg Kroah-Hartman
7b883446 d5d22260

+27
+27
drivers/char/i8k.c
··· 648 648 }; 649 649 650 650 enum i8k_configs { 651 + DELL_LATITUDE_D520, 652 + DELL_PRECISION_490, 651 653 DELL_STUDIO, 652 654 DELL_XPS_M140, 653 655 }; 654 656 655 657 static const struct i8k_config_data i8k_config_data[] = { 658 + [DELL_LATITUDE_D520] = { 659 + .fan_mult = 1, 660 + .fan_max = I8K_FAN_TURBO, 661 + }, 662 + [DELL_PRECISION_490] = { 663 + .fan_mult = 1, 664 + .fan_max = I8K_FAN_TURBO, 665 + }, 656 666 [DELL_STUDIO] = { 657 667 .fan_mult = 1, 658 668 .fan_max = I8K_FAN_HIGH, ··· 696 686 }, 697 687 }, 698 688 { 689 + .ident = "Dell Latitude D520", 690 + .matches = { 691 + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 692 + DMI_MATCH(DMI_PRODUCT_NAME, "Latitude D520"), 693 + }, 694 + .driver_data = (void *)&i8k_config_data[DELL_LATITUDE_D520], 695 + }, 696 + { 699 697 .ident = "Dell Latitude 2", 700 698 .matches = { 701 699 DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), ··· 723 705 DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 724 706 DMI_MATCH(DMI_PRODUCT_NAME, "MP061"), 725 707 }, 708 + }, 709 + { 710 + .ident = "Dell Precision 490", 711 + .matches = { 712 + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 713 + DMI_MATCH(DMI_PRODUCT_NAME, 714 + "Precision WorkStation 490"), 715 + }, 716 + .driver_data = (void *)&i8k_config_data[DELL_PRECISION_490], 726 717 }, 727 718 { 728 719 .ident = "Dell Precision",