]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwmon: (nct6683) Add customer ID for ASRock B650I Lightning WiFi
authorPetr Klotz <pklotz0@protonmail.com>
Sun, 12 Apr 2026 00:17:27 +0000 (00:17 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 12 Apr 2026 12:37:14 +0000 (05:37 -0700)
The ASRock B650I Lightning WiFi motherboard uses an NCT6686D chip with a
customer ID of 0x1633. Without this ID, the nct6683 driver fails to
recognize the hardware on this board, preventing hardware monitoring
from working.

Add NCT6683_CUSTOMER_ID_ASROCK6 (0x1633) to the list of supported customer
IDs and update the probe function to handle it

Signed-off-by: Petr Klotz <pklotz0@protonmail.com>
Link: https://lore.kernel.org/r/20260412000911.9063-2-pklotz0@protonmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6683.c

index 4a8380414038622ef302ac3414af00482f36b9a6..0581770380cc57e85adb2a8cdf3af06a6d466b2a 100644 (file)
@@ -182,6 +182,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_ASROCK3    0x1631
 #define NCT6683_CUSTOMER_ID_ASROCK4    0x163e
 #define NCT6683_CUSTOMER_ID_ASROCK5    0x1621
+#define NCT6683_CUSTOMER_ID_ASROCK6    0x1633
 
 #define NCT6683_REG_BUILD_YEAR         0x604
 #define NCT6683_REG_BUILD_MONTH                0x605
@@ -1245,6 +1246,8 @@ static int nct6683_probe(struct platform_device *pdev)
                break;
        case NCT6683_CUSTOMER_ID_ASROCK5:
                break;
+       case NCT6683_CUSTOMER_ID_ASROCK6:
+               break;
        default:
                if (!force)
                        return -ENODEV;