Skip to contentSkip to conversation

Add another customer ID for NCT6683D sensor chip on some ASRock boards.

PATCH Applied Daniel Dawson 2 participants 2 messages Sep 21, 2021 – Sep 24, 2021 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add another customer ID for NCT6683D sensor chip on some ASRock boards.

This value was found on a Z370M Pro4 rev. 1.01, with an NCT6683D-T chip.

---
 drivers/hwmon/nct6683.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hwmon/nct6683.c +3 -0
index 35f8635dc7f3..6a9f420e7d32 100644
@@ -174,6 +174,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_MITAC	0xa0e
 #define NCT6683_CUSTOMER_ID_MSI		0x201
 #define NCT6683_CUSTOMER_ID_ASROCK		0xe2c
+#define NCT6683_CUSTOMER_ID_ASROCK2	0xe1b
 
 #define NCT6683_REG_BUILD_YEAR		0x604
 #define NCT6683_REG_BUILD_MONTH		0x605
@@ -1221,6 +1222,8 @@ static int nct6683_probe(struct platform_device *pdev)
 		break;
 	case NCT6683_CUSTOMER_ID_ASROCK:
 		break;
+	case NCT6683_CUSTOMER_ID_ASROCK2:
+		break;
 	default:
 		if (!force)
 			return -ENODEV;
Signature · 1 line
2.33.0
maintainer Applied
#1 lore raw
Quoted 4 lines · Daniel Dawson

This value was found on a Z370M Pro4 rev. 1.01, with an NCT6683D-T chip.

Applied. In the future, please indicate the subsystem and the affected driver in the subject line. See other patches for examples.

Thanks,
Guenter

Quoted 25 lines
---
 drivers/hwmon/nct6683.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hwmon/nct6683.c +3 -0
index 35f8635dc7f3..6a9f420e7d32 100644
@@ -174,6 +174,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_MITAC	0xa0e
 #define NCT6683_CUSTOMER_ID_MSI		0x201
 #define NCT6683_CUSTOMER_ID_ASROCK		0xe2c
+#define NCT6683_CUSTOMER_ID_ASROCK2	0xe1b
 
 #define NCT6683_REG_BUILD_YEAR		0x604
 #define NCT6683_REG_BUILD_MONTH		0x605
@@ -1221,6 +1222,8 @@ static int nct6683_probe(struct platform_device *pdev)
 		break;
 	case NCT6683_CUSTOMER_ID_ASROCK:
 		break;
+	case NCT6683_CUSTOMER_ID_ASROCK2:
+		break;
 	default:
 		if (!force)
 			return -ENODEV;