hwmon: (nct6683) Add another customer ID for NCT6687D sensor chip on some MSI boards.
authorGopal Prasad <llyyr.public@gmail.com>
Wed, 17 May 2023 04:20:25 +0000 (09:50 +0530)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Jun 2023 13:41:17 +0000 (06:41 -0700)
This value was found on a MSI Z690-A PRO DDR5 with NCT6687D.

Signed-off-by: Gopal Prasad <llyyr.public@gmail.com>
Link: https://lore.kernel.org/r/20230517042025.16942-1-llyyr.public@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct6683.c

index a872f78..f673f7d 100644 (file)
@@ -173,6 +173,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_INTEL      0x805
 #define NCT6683_CUSTOMER_ID_MITAC      0xa0e
 #define NCT6683_CUSTOMER_ID_MSI                0x201
+#define NCT6683_CUSTOMER_ID_MSI2       0x200
 #define NCT6683_CUSTOMER_ID_ASROCK             0xe2c
 #define NCT6683_CUSTOMER_ID_ASROCK2    0xe1b
 
@@ -1220,6 +1221,8 @@ static int nct6683_probe(struct platform_device *pdev)
                break;
        case NCT6683_CUSTOMER_ID_MSI:
                break;
+       case NCT6683_CUSTOMER_ID_MSI2:
+               break;
        case NCT6683_CUSTOMER_ID_ASROCK:
                break;
        case NCT6683_CUSTOMER_ID_ASROCK2: