mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-06-29 23:43:21 -04:00
hwmon: (nct6683) 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. Signed-off-by: Daniel Dawson <danielcdawson@gmail.com> Link: https://lore.kernel.org/r/20210921165859.48714-1-danielcdawson@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
8084b2a141
commit
d55532f771
1 changed files with 3 additions and 0 deletions
|
@ -174,6 +174,7 @@ superio_exit(int ioreg)
|
||||||
#define NCT6683_CUSTOMER_ID_MITAC 0xa0e
|
#define NCT6683_CUSTOMER_ID_MITAC 0xa0e
|
||||||
#define NCT6683_CUSTOMER_ID_MSI 0x201
|
#define NCT6683_CUSTOMER_ID_MSI 0x201
|
||||||
#define NCT6683_CUSTOMER_ID_ASROCK 0xe2c
|
#define NCT6683_CUSTOMER_ID_ASROCK 0xe2c
|
||||||
|
#define NCT6683_CUSTOMER_ID_ASROCK2 0xe1b
|
||||||
|
|
||||||
#define NCT6683_REG_BUILD_YEAR 0x604
|
#define NCT6683_REG_BUILD_YEAR 0x604
|
||||||
#define NCT6683_REG_BUILD_MONTH 0x605
|
#define NCT6683_REG_BUILD_MONTH 0x605
|
||||||
|
@ -1221,6 +1222,8 @@ static int nct6683_probe(struct platform_device *pdev)
|
||||||
break;
|
break;
|
||||||
case NCT6683_CUSTOMER_ID_ASROCK:
|
case NCT6683_CUSTOMER_ID_ASROCK:
|
||||||
break;
|
break;
|
||||||
|
case NCT6683_CUSTOMER_ID_ASROCK2:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
if (!force)
|
if (!force)
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue