Skip to contentSkip to conversation

hwmon: (nct6683) Add customer ID for ASRock B650 Steel Legend WiFi

PATCH Applied Max Ammann 3 participants 3 messages Dec 14, 2024 – Dec 23, 2024

Subsystems (2)
lore
Share & tools
lore

Max Ammann

author
#0 lore raw

PATCH 1/1 hwmon: (nct6683) Add customer ID for ASRock B650 Steel Legend WiFi

This value was found on an ASRock B650 Steel Legend WiFi with an NCT6686D chip.

---
 Documentation/hwmon/nct6683.rst | 1 +
 drivers/hwmon/nct6683.c         | 3 +++
 2 files changed, 4 insertions(+)
Documentation/hwmon/nct6683.rst +1 -0
index 2a7a78eb1b46..f224639229d2 100644
@@ -63,6 +63,7 @@ Intel DH87MC	NCT6683D EC firmware version 1.0 build 04/03/13
 Intel DB85FL	NCT6683D EC firmware version 1.0 build 04/03/13
 ASRock X570	NCT6683D EC firmware version 1.0 build 06/28/19
 ASRock X670E	NCT6686D EC firmware version 1.0 build 05/19/22
+ASRock B650 Steel Legend WiFi	NCT6686D EC firmware version 1.0 build 11/09/23
 MSI B550	NCT6687D EC firmware version 1.0 build 05/07/20
 MSI X670-P	NCT6687D EC firmware version 0.0 build 09/27/22
 =============== ===============================================
drivers/hwmon/nct6683.c +3 -0
index f71615e06a8f..3d31b8e2c835 100644
@@ -178,6 +178,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_ASROCK		0xe2c
 #define NCT6683_CUSTOMER_ID_ASROCK2	0xe1b
 #define NCT6683_CUSTOMER_ID_ASROCK3	0x1631
+#define NCT6683_CUSTOMER_ID_ASROCK4	0x163e
 
 #define NCT6683_REG_BUILD_YEAR		0x604
 #define NCT6683_REG_BUILD_MONTH		0x605
@@ -1233,6 +1234,8 @@ static int nct6683_probe(struct platform_device *pdev)
 		break;
 	case NCT6683_CUSTOMER_ID_ASROCK3:
 		break;
+	case NCT6683_CUSTOMER_ID_ASROCK4:
+		break;
 	default:
 		if (!force)
 			return -ENODEV;
Signature · 1 line
2.47.0
#2 lore raw
In reply to Max Ammann

I just modprobed it with force=1 on an Asrock Z890 Pro-A Wifi and:

Quoted 3 lines
[11107.683746] nct6683: Found NCT6686D or compatible chip at 0x2e:0xa20
[11107.683920] nct6683 nct6683.2592: Enabling support for unknown customer ID 0x163d
[11107.687827] nct6683 nct6683.2592: NCT6686D EC firmware version 1.0 build 08/30/24

I don't know what the standard for this is, but you could perhaps throw 0x163d in too, if this is sufficient information to prove it's safe.

Nothing visibly went wrong, and it reads voltages and fan speeds, but the pwms are all read-only.

Quoted 42 lines · Max Ammann

This value was found on an ASRock B650 Steel Legend WiFi with an NCT6686D chip.

---
 Documentation/hwmon/nct6683.rst | 1 +
 drivers/hwmon/nct6683.c         | 3 +++
 2 files changed, 4 insertions(+)
Documentation/hwmon/nct6683.rst +1 -0
index 2a7a78eb1b46..f224639229d2 100644
@@ -63,6 +63,7 @@ Intel DH87MC	NCT6683D EC firmware version 1.0 build 04/03/13
 Intel DB85FL	NCT6683D EC firmware version 1.0 build 04/03/13
 ASRock X570	NCT6683D EC firmware version 1.0 build 06/28/19
 ASRock X670E	NCT6686D EC firmware version 1.0 build 05/19/22
+ASRock B650 Steel Legend WiFi	NCT6686D EC firmware version 1.0 build 11/09/23
 MSI B550	NCT6687D EC firmware version 1.0 build 05/07/20
 MSI X670-P	NCT6687D EC firmware version 0.0 build 09/27/22
 =============== ===============================================
drivers/hwmon/nct6683.c +3 -0
index f71615e06a8f..3d31b8e2c835 100644
@@ -178,6 +178,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_ASROCK		0xe2c
 #define NCT6683_CUSTOMER_ID_ASROCK2	0xe1b
 #define NCT6683_CUSTOMER_ID_ASROCK3	0x1631
+#define NCT6683_CUSTOMER_ID_ASROCK4	0x163e
 
 #define NCT6683_REG_BUILD_YEAR		0x604
 #define NCT6683_REG_BUILD_MONTH		0x605
@@ -1233,6 +1234,8 @@ static int nct6683_probe(struct platform_device *pdev)
 		break;
 	case NCT6683_CUSTOMER_ID_ASROCK3:
 		break;
+	case NCT6683_CUSTOMER_ID_ASROCK4:
+		break;
 	default:
 		if (!force)
 			return -ENODEV;