Accept NCT6683D (0xc732)

Found on ASRock Taichi B550.
Fan control works with this driver, but not with the in-tree driver.
This commit is contained in:
Martin Pärtel 2022-06-02 21:52:43 +03:00
parent 15d09bd6df
commit 93064a7569

View file

@ -71,6 +71,7 @@ static const char *const nct6687_chip_names[] = {
#define SIO_REG_ENABLE 0x30 /* Logical device enable */
#define SIO_REG_ADDR 0x60 /* Logical device address (2 bytes) */
#define SIO_NCT6683D_ID 0xc732
#define SIO_NCT6687_ID 0xd451 // 0xd592
#define SIO_NCT6687D_ID 0xd592
@ -1038,7 +1039,7 @@ static int __init nct6687_find(int sioaddr, struct nct6687_sio_data *sio_data)
pr_debug("found chip ID: 0x%04x\n", val);
if (val == SIO_NCT6687_ID || val == SIO_NCT6687D_ID)
if (val == SIO_NCT6683D_ID || val == SIO_NCT6687_ID || val == SIO_NCT6687D_ID)
{
sio_data->kind = nct6687;
}