mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-01 14:55:27 +00:00
sensors-detect: Detect additional IDT temperature sensors
Loosen detection rules for TS3000/TSE2002 to detect additional chip revisions. Add detection of TSE2004 and TS3001.
This commit is contained in:
2
CHANGES
2
CHANGES
@@ -30,6 +30,8 @@ SVN HEAD
|
|||||||
Add detection of IT8780F
|
Add detection of IT8780F
|
||||||
Add detection of IT8731F and IT8732F
|
Add detection of IT8731F and IT8732F
|
||||||
Add detection of Intel 5500/5520/X58
|
Add detection of Intel 5500/5520/X58
|
||||||
|
Loosen detection rules for TS3000/TSE2002
|
||||||
|
Add detection of TSE2004 and TS3001
|
||||||
|
|
||||||
3.3.5 "Happy Birthday Beddy" (2014-01-22)
|
3.3.5 "Happy Birthday Beddy" (2014-01-22)
|
||||||
libsensors: Improve documentation of two functions
|
libsensors: Improve documentation of two functions
|
||||||
|
@@ -1454,6 +1454,16 @@ use vars qw(@i2c_adapter_names);
|
|||||||
driver => "jc42",
|
driver => "jc42",
|
||||||
i2c_addrs => [0x18..0x1f],
|
i2c_addrs => [0x18..0x1f],
|
||||||
i2c_detect => sub { jedec_JC42_4_detect(@_, 4); },
|
i2c_detect => sub { jedec_JC42_4_detect(@_, 4); },
|
||||||
|
}, {
|
||||||
|
name => "IDT TSE2004",
|
||||||
|
driver => "jc42",
|
||||||
|
i2c_addrs => [0x18..0x1f],
|
||||||
|
i2c_detect => sub { jedec_JC42_4_detect(@_, 16); },
|
||||||
|
}, {
|
||||||
|
name => "IDT TS3001",
|
||||||
|
driver => "jc42",
|
||||||
|
i2c_addrs => [0x18..0x1f],
|
||||||
|
i2c_detect => sub { jedec_JC42_4_detect(@_, 17); },
|
||||||
}, {
|
}, {
|
||||||
name => "Maxim MAX6604",
|
name => "Maxim MAX6604",
|
||||||
driver => "jc42",
|
driver => "jc42",
|
||||||
@@ -6370,7 +6380,8 @@ sub max6655_detect
|
|||||||
# 4 = TS3000/TSE2002, 5 = MAX6604, 6 = MCP98242,
|
# 4 = TS3000/TSE2002, 5 = MAX6604, 6 = MCP98242,
|
||||||
# 7 = MCP98243, 8 = MCP9843, 9 = CAT6095 / CAT34TS02,
|
# 7 = MCP98243, 8 = MCP9843, 9 = CAT6095 / CAT34TS02,
|
||||||
# 10 = STTS424E, 11 = STTS2002, 12 = STTS3000
|
# 10 = STTS424E, 11 = STTS2002, 12 = STTS3000
|
||||||
# 13 = MCP9804, 14 = AT30TS00, 15 = MCP98244
|
# 13 = MCP9804, 14 = AT30TS00, 15 = MCP98244,
|
||||||
|
# 16 = TSE2004, 17 = TS3001
|
||||||
# Registers used:
|
# Registers used:
|
||||||
# 0x00: Capabilities
|
# 0x00: Capabilities
|
||||||
# 0x01: Configuration
|
# 0x01: Configuration
|
||||||
@@ -6468,7 +6479,7 @@ sub jedec_JC42_4_detect
|
|||||||
return unless $devid == 0x0108; # ADT7408
|
return unless $devid == 0x0108; # ADT7408
|
||||||
} elsif ($chip == 4) {
|
} elsif ($chip == 4) {
|
||||||
return unless $manid == 0xb300; # IDT
|
return unless $manid == 0xb300; # IDT
|
||||||
return unless $devid == 0x0329 || $devid == 0x1229; # TS3000/TSE2002
|
return unless ($devid & 0x00ff) == 0x0029; # TS3000/TSE2002
|
||||||
} elsif ($chip == 5) {
|
} elsif ($chip == 5) {
|
||||||
return unless $manid == 0x4d00; # MAXIM
|
return unless $manid == 0x4d00; # MAXIM
|
||||||
return unless $devid == 0x003e; # MAX6604
|
return unless $devid == 0x003e; # MAX6604
|
||||||
@@ -6502,6 +6513,12 @@ sub jedec_JC42_4_detect
|
|||||||
} elsif ($chip == 15) {
|
} elsif ($chip == 15) {
|
||||||
return unless $manid == 0x5400; # MCP
|
return unless $manid == 0x5400; # MCP
|
||||||
return unless ($devid & 0xfcff) == 0x0022; # MCP98244
|
return unless ($devid & 0xfcff) == 0x0022; # MCP98244
|
||||||
|
} elsif ($chip == 16) {
|
||||||
|
return unless $manid == 0xb300; # IDT
|
||||||
|
return unless ($devid & 0x00ff) == 0x0022; # TSE2004
|
||||||
|
} elsif ($chip == 17) {
|
||||||
|
return unless $manid == 0xb300; # IDT
|
||||||
|
return unless ($devid & 0x00ff) == 0x0030; # TS3001
|
||||||
}
|
}
|
||||||
|
|
||||||
return 5;
|
return 5;
|
||||||
|
Reference in New Issue
Block a user