hwmon: (nct6775) Add support for NCT5525-S
PATCH 1/1 hwmon: (nct6775) Add support for NCT5525-S
It's a newer revision of NCT5525 with new id.
Signed-off-by Anton Lundin <[email protected]>
---
This was tested on a ASRock 4X4 BOX-AI350 board.
drivers/hwmon/nct6775-core.c | 1 + drivers/hwmon/nct6775-platform.c | 2 ++ 2 files changed, 3 insertions(+)
drivers/hwmon/nct6775-core.c +1 -0
@@ -20,6 +20,7 @@* * Chip #vin #fan #pwm #temp chip IDs man ID * nct5525d 8 3 3 3+3 0xd2b3 0xc1 0x5ca3 +* nct5525d-s 8 3 3 3+3 0xd294 0xc1 0x5ca3 * nct6106d 9 3 3 6+3 0xc450 0xc1 0x5ca3 * nct6116d 9 5 5 3+3 0xd280 0xc1 0x5ca3 * nct6126d 10 5 5 3+3 0xd283 0xc1 0x5ca3
drivers/hwmon/nct6775-platform.c +2 -0
@@ -77,6 +77,7 @@ MODULE_PARM_DESC(fan_debounce, "Enable debouncing for fan RPM signal");#define SIO_REG_ADDR 0x60/* Logical device address (2 bytes) */ #define SIO_NCT5525_ID 0xd2b0 +#define SIO_NCT5525_S_ID 0xd290#define SIO_NCT6106_ID 0xc450#define SIO_NCT6116_ID 0xd280#define SIO_NCT6122_ID 0xd2a0
@@ -1042,6 +1043,7 @@ static int __init nct6775_find(int sioaddr, struct nct6775_sio_data *sio_data)switch (val &SIO_ID_MASK ) {case SIO_NCT5525_ID : +case SIO_NCT5525_S_ID : sio_data->kind = nct5525;break ;case SIO_NCT6106_ID :
Signature · 1 line
2.47.3
[email protected]
AI reviewSashiko has reviewed this patch and found no issues.
Quoted 3 lines
It's a newer revision of NCT5525 with new id.
Signed-off-by Anton Lundin <[email protected]>
Sashiko has reviewed this patch and found no issues.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 3 lines · Anton Lundin
It's a newer revision of NCT5525 with new id.
Signed-off-by Anton Lundin <[email protected]>
Applied.
Thanks,
Guenter