From 9d155f3bd9f4c437f0e6fe965abb9660b8235127 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Mon, 11 Dec 2017 23:54:10 -0800 Subject: [PATCH] sensors-detect: Detect AMD Family 17h temperature sensor and other changes Detect AMD Family 17h temperature sensor Detect AMD KERNCZ SMBus controller Fix NCT6795D detection Signed-off-by: Guenter Roeck --- CHANGES | 2 ++ prog/detect/sensors-detect | 11 ++++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 645deb1f..3ce870ff 100644 --- a/CHANGES +++ b/CHANGES @@ -17,6 +17,8 @@ SVN HEAD Add detection of Nuvoton NCT6795D Add detection of DDR4 SPD Add detection of ITE IT8987D + Add detection of AMD Family 17h temperature sensors + Add detection of AMD KERNCZ SMBus controller configs: Add sample configuration files. 3.4.0 (2015-06-25) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index e8be8169..7f7be13f 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -427,6 +427,11 @@ $revision =~ s/ \([^()]*\)//; devid => 0x780b, procid => "AMD Hudson-2 SMBus", driver => "i2c-piix4", + }, { + vendid => 0x1022, + devid => 0x790b, + procid => "AMD KERNCZ SMBus", + driver => "i2c-piix4", }, { vendid => 0x100B, devid => 0x0500, @@ -2185,7 +2190,7 @@ use constant FEAT_SMBUS => (1 << 7); }, { name => "Nuvoton NCT6795D Super IO Sensors", driver => "nct6775", - devid => 0xD352, + devid => 0xD350, devid_mask => 0xFFF0, logdev => 0x0b, features => FEAT_IN | FEAT_FAN | FEAT_TEMP, @@ -2623,6 +2628,10 @@ use vars qw(@cpu_ids); name => "AMD Family 16h thermal sensors", driver => "k10temp", detect => sub { amd_pci_detect('1533', '1583') }, + }, { + name => "AMD Family 17h thermal sensors", + driver => "k10temp", + detect => sub { amd_pci_detect('1463') }, }, { name => "AMD Family 15h power sensors", driver => "fam15h_power",