2023-02-27 09:11:49

by Erik Ekman

[permalink] [raw]
Subject: [PATCH] hwmon: (nct6775) ASUS PRIME Z590 boards support

Tested on Z590M-PLUS.

dmesg log:
nct6775: Found NCT6798D or compatible chip at 0x2e:0x290

sensors output:
nct6798-isa-0290
Adapter: ISA adapter
in0: 672.00 mV (min = +0.00 V, max = +1.74 V)
in1: 1000.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in2: 3.38 V (min = +0.00 V, max = +0.00 V) ALARM
in3: 3.28 V (min = +0.00 V, max = +0.00 V) ALARM
in4: 1.01 V (min = +0.00 V, max = +0.00 V) ALARM
in5: 808.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in6: 1000.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in7: 3.38 V (min = +0.00 V, max = +0.00 V) ALARM
in8: 3.20 V (min = +0.00 V, max = +0.00 V) ALARM
in9: 528.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in10: 672.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in11: 528.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in12: 1.21 V (min = +0.00 V, max = +0.00 V) ALARM
in13: 992.00 mV (min = +0.00 V, max = +0.00 V) ALARM
in14: 1.02 V (min = +0.00 V, max = +0.00 V) ALARM
fan1: 971 RPM (min = 0 RPM)
fan2: 1525 RPM (min = 0 RPM)
fan3: 0 RPM (min = 0 RPM)
fan4: 1094 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
fan6: 0 RPM (min = 0 RPM)
fan7: 0 RPM (min = 0 RPM)
SYSTIN: +36.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
CPUTIN: +40.0°C (high = +80.0°C, hyst = +75.0°C) sensor = thermistor
AUXTIN0: +26.0°C sensor = thermistor
AUXTIN1: +8.0°C sensor = thermistor
AUXTIN2: +22.0°C sensor = thermistor
AUXTIN3: +25.0°C sensor = thermistor
PECI Agent 0 Calibration: +40.0°C
PCH_CHIP_CPU_MAX_TEMP: +0.0°C
PCH_CHIP_TEMP: +55.0°C
PCH_CPU_TEMP: +0.0°C
intrusion0: OK
intrusion1: ALARM
beep_enable: disabled

Signed-off-by: Erik Ekman <[email protected]>
---
drivers/hwmon/nct6775-platform.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/hwmon/nct6775-platform.c b/drivers/hwmon/nct6775-platform.c
index 76c6b564d7fc..1a00f4a542fe 100644
--- a/drivers/hwmon/nct6775-platform.c
+++ b/drivers/hwmon/nct6775-platform.c
@@ -1122,6 +1122,9 @@ static const char * const asus_msi_boards[] = {
"PRIME X670-P",
"PRIME X670-P WIFI",
"PRIME X670E-PRO WIFI",
+ "PRIME Z590-A",
+ "PRIME Z590-P",
+ "PRIME Z590M-PLUS",
"Pro B660M-C-D4",
"ProArt B660-CREATOR D4",
"ProArt X670E-CREATOR WIFI",
--
2.39.2



2023-03-10 16:47:29

by Guenter Roeck

[permalink] [raw]
Subject: Re: [PATCH] hwmon: (nct6775) ASUS PRIME Z590 boards support

On Mon, Feb 27, 2023 at 10:03:11AM +0100, Erik Ekman wrote:
> Tested on Z590M-PLUS.
>
> dmesg log:
> nct6775: Found NCT6798D or compatible chip at 0x2e:0x290
>
> sensors output:
> nct6798-isa-0290
> Adapter: ISA adapter
> in0: 672.00 mV (min = +0.00 V, max = +1.74 V)
> in1: 1000.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in2: 3.38 V (min = +0.00 V, max = +0.00 V) ALARM
> in3: 3.28 V (min = +0.00 V, max = +0.00 V) ALARM
> in4: 1.01 V (min = +0.00 V, max = +0.00 V) ALARM
> in5: 808.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in6: 1000.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in7: 3.38 V (min = +0.00 V, max = +0.00 V) ALARM
> in8: 3.20 V (min = +0.00 V, max = +0.00 V) ALARM
> in9: 528.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in10: 672.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in11: 528.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in12: 1.21 V (min = +0.00 V, max = +0.00 V) ALARM
> in13: 992.00 mV (min = +0.00 V, max = +0.00 V) ALARM
> in14: 1.02 V (min = +0.00 V, max = +0.00 V) ALARM
> fan1: 971 RPM (min = 0 RPM)
> fan2: 1525 RPM (min = 0 RPM)
> fan3: 0 RPM (min = 0 RPM)
> fan4: 1094 RPM (min = 0 RPM)
> fan5: 0 RPM (min = 0 RPM)
> fan6: 0 RPM (min = 0 RPM)
> fan7: 0 RPM (min = 0 RPM)
> SYSTIN: +36.0?C (high = +80.0?C, hyst = +75.0?C) sensor = thermistor
> CPUTIN: +40.0?C (high = +80.0?C, hyst = +75.0?C) sensor = thermistor
> AUXTIN0: +26.0?C sensor = thermistor
> AUXTIN1: +8.0?C sensor = thermistor
> AUXTIN2: +22.0?C sensor = thermistor
> AUXTIN3: +25.0?C sensor = thermistor
> PECI Agent 0 Calibration: +40.0?C
> PCH_CHIP_CPU_MAX_TEMP: +0.0?C
> PCH_CHIP_TEMP: +55.0?C
> PCH_CPU_TEMP: +0.0?C
> intrusion0: OK
> intrusion1: ALARM
> beep_enable: disabled
>
> Signed-off-by: Erik Ekman <[email protected]>

Applied.

Thanks,
Guenter

> ---
> drivers/hwmon/nct6775-platform.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/hwmon/nct6775-platform.c b/drivers/hwmon/nct6775-platform.c
> index 76c6b564d7fc..1a00f4a542fe 100644
> --- a/drivers/hwmon/nct6775-platform.c
> +++ b/drivers/hwmon/nct6775-platform.c
> @@ -1122,6 +1122,9 @@ static const char * const asus_msi_boards[] = {
> "PRIME X670-P",
> "PRIME X670-P WIFI",
> "PRIME X670E-PRO WIFI",
> + "PRIME Z590-A",
> + "PRIME Z590-P",
> + "PRIME Z590M-PLUS",
> "Pro B660M-C-D4",
> "ProArt B660-CREATOR D4",
> "ProArt X670E-CREATOR WIFI",