Skip to content

Commit

Permalink
Merge pull request #3 from fbelavenuto/new-models
Browse files Browse the repository at this point in the history
Adding new Peter Suh models
  • Loading branch information
fbelavenuto authored Aug 17, 2022
2 parents bb3dd0a + 6d7d426 commit 255c008
Show file tree
Hide file tree
Showing 15 changed files with 71 additions and 2 deletions.
73 changes: 71 additions & 2 deletions config/platforms.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,28 @@ const struct hw_config supported_platforms[] = {
.sys_current = { HWMON_SYS_CURR_NULL_ID },
}
},
{
.name = "DS1621xs+",
.pci_stubs = {
{ .type = VPD_MARVELL_88SE9235, .bus = 0x09, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = VPD_MARVELL_88SE9235, .bus = 0x0c, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = __VPD_TERMINATOR__ }
},
.emulate_rtc = false,
.swap_serial = false,
.reinit_ttyS0 = true,
.fix_disk_led_ctrl = true,
.has_cpu_temp = true,
.hwmon = {
.sys_thermal = { HWMON_SYS_TZONE_REMOTE1_ID, HWMON_SYS_TZONE_LOCAL_ID, HWMON_SYS_TZONE_REMOTE2_ID },
.sys_voltage = { HWMON_SYS_VSENS_VCC_ID, HWMON_SYS_VSENS_VPP_ID, HWMON_SYS_VSENS_V33_ID,
HWMON_SYS_VSENS_V5_ID, HWMON_SYS_VSENS_V12_ID },
.sys_fan_speed_rpm = { HWMON_SYS_FAN1_ID, HWMON_SYS_FAN2_ID },
.hdd_backplane = { HWMON_SYS_HDD_BP_NULL_ID },
.psu_status = { HWMON_PSU_NULL_ID },
.sys_current = { HWMON_SYS_CURR_NULL_ID },
}
},
{
.name = "DS2422+",
.pci_stubs = {
Expand All @@ -114,7 +136,7 @@ const struct hw_config supported_platforms[] = {
.sys_thermal = { HWMON_SYS_TZONE_REMOTE1_ID, HWMON_SYS_TZONE_LOCAL_ID, HWMON_SYS_TZONE_REMOTE2_ID },
.sys_voltage = { HWMON_SYS_VSENS_VCC_ID, HWMON_SYS_VSENS_VPP_ID, HWMON_SYS_VSENS_V33_ID,
HWMON_SYS_VSENS_V5_ID, HWMON_SYS_VSENS_V12_ID },
.sys_fan_speed_rpm = {HWMON_SYS_FAN1_ID, HWMON_SYS_FAN2_ID },
.sys_fan_speed_rpm = { HWMON_SYS_FAN1_ID, HWMON_SYS_FAN2_ID },
.hdd_backplane = { HWMON_SYS_HDD_BP_NULL_ID },
.psu_status = { HWMON_PSU_NULL_ID },
.sys_current = { HWMON_SYS_CURR_NULL_ID },
Expand Down Expand Up @@ -289,7 +311,54 @@ const struct hw_config supported_platforms[] = {
.sys_current = { HWMON_SYS_CURR_NULL_ID },
}
},
{
{
.name = "RS3413xs+",
.pci_stubs = {
{ .type = VPD_MARVELL_88SE9235, .bus = 0x07, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = VPD_MARVELL_88SE9235, .bus = 0x08, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = VPD_MARVELL_88SE9235, .bus = 0x09, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = VPD_MARVELL_88SE9235, .bus = 0x0a, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = __VPD_TERMINATOR__ }
},
.emulate_rtc = false,
.swap_serial = true,
.reinit_ttyS0 = false,
.fix_disk_led_ctrl = false,
.has_cpu_temp = true,
.hwmon = {
.sys_thermal = { HWMON_SYS_TZONE_REMOTE1_ID, HWMON_SYS_TZONE_LOCAL_ID, HWMON_SYS_TZONE_REMOTE2_ID },
.sys_voltage = { HWMON_SYS_VSENS_VCC_ID, HWMON_SYS_VSENS_VPP_ID, HWMON_SYS_VSENS_V33_ID,
HWMON_SYS_VSENS_V5_ID, HWMON_SYS_VSENS_V12_ID },
.sys_fan_speed_rpm = { HWMON_SYS_FAN1_ID, HWMON_SYS_FAN2_ID },
.hdd_backplane = { HWMON_SYS_HDD_BP_NULL_ID },
.psu_status = { HWMON_PSU_NULL_ID },
.sys_current = { HWMON_SYS_CURR_NULL_ID },
}
},
{
.name = "RS3618xs",
.pci_stubs = {
{ .type = VPD_MARVELL_88SE9215, .bus = 0x01, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = VPD_MARVELL_88SE9215, .bus = 0x02, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = VPD_MARVELL_88SE9235, .bus = 0x08, .dev = 0x00, .fn = 0x00, .multifunction = false },
{ .type = __VPD_TERMINATOR__ }
},
.emulate_rtc = false,
.swap_serial = false,
.reinit_ttyS0 = true,
.fix_disk_led_ctrl = false,
.has_cpu_temp = true,
.hwmon = {
.sys_thermal = { HWMON_SYS_TZONE_REMOTE1_ID, HWMON_SYS_TZONE_LOCAL_ID, HWMON_SYS_TZONE_REMOTE2_ID },
.sys_voltage = { HWMON_SYS_VSENS_VCC_ID, HWMON_SYS_VSENS_VPP_ID, HWMON_SYS_VSENS_V33_ID,
HWMON_SYS_VSENS_V5_ID, HWMON_SYS_VSENS_V12_ID },
.sys_fan_speed_rpm = { HWMON_SYS_FAN1_ID, HWMON_SYS_FAN2_ID },
.hdd_backplane = { HWMON_SYS_HDD_BP_NULL_ID },
.psu_status = { HWMON_PSU_NULL_ID },
.sys_current = { HWMON_SYS_CURR_NULL_ID },
}
},
{
.name = "RS4021xs+",
.pci_stubs = {
{ .type = __VPD_TERMINATOR__ }
Expand Down
Binary file modified output/rp-apollolake-4.4.180-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-apollolake-4.4.180-prod.ko.gz
Binary file not shown.
Binary file modified output/rp-broadwell-4.4.180-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-broadwell-4.4.180-prod.ko.gz
Binary file not shown.
Binary file modified output/rp-broadwellnk-4.4.180-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-broadwellnk-4.4.180-prod.ko.gz
Binary file not shown.
Binary file modified output/rp-bromolow-3.10.108-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-bromolow-3.10.108-prod.ko.gz
Binary file not shown.
Binary file modified output/rp-denverton-4.4.180-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-denverton-4.4.180-prod.ko.gz
Binary file not shown.
Binary file modified output/rp-geminilake-4.4.180-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-geminilake-4.4.180-prod.ko.gz
Binary file not shown.
Binary file modified output/rp-v1000-4.4.180-dev.ko.gz
Binary file not shown.
Binary file modified output/rp-v1000-4.4.180-prod.ko.gz
Binary file not shown.

0 comments on commit 255c008

Please sign in to comment.