hwmon: (nct6775) Change labels for nct6799
Subsystems (2)
PATCH v2 1/1 hwmon: (nct6775) Change labels for nct6799
nct6799d-r and nct6796d-s are very similar and chip_id is only different in the version nibblet.
Since both will be detected by the driver anyway due to the chipid mask, they should be labeled together for dmesg msg.
--- Documentation/hwmon/nct6775.rst | 11 ++++++++++- drivers/hwmon/nct6775-core.c | 3 ++- drivers/hwmon/nct6775-platform.c | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-)
Documentation/hwmon/nct6775.rst +10 -1
@@ -80,7 +80,13 @@ Supported chips: Datasheet: Available from Nuvoton upon request + * Nuvoton NCT6796D-S/NCT6799D-R + Prefix: 'nct6799' + + Addresses scanned: ISA address retrieved from Super I/O registers + + Datasheet: Available from Nuvoton upon request Authors:
@@ -277,4 +283,7 @@ will not reflect a usable value. It often reports unreasonably high temperatures, and in some cases the reported temperature declines if the actual temperature increases (similar to the raw PECI temperature value - see PECI specification for details). CPUTIN should therefore be ignored on ASUS -boards. The CPU temperature on ASUS boards is reported from PECI 0. +boards. The CPU temperature on ASUS boards is reported from PECI 0 or TSI 0. + +NCT6796D-S and NCT6799D-R chips are very similar and their chip_id indicates +they are different versions. This driver treats them the same way.
drivers/hwmon/nct6775-core.c +2 -1
@@ -33,7 +33,8 @@* (0xd451) * nct6798d 14 7 7 2+6 0xd428 0xc1 0x5ca3 * (0xd429) -* nct6799d 14 7 7 2+6 0xd802 0xc1 0x5ca3 +* nct6796d-s 18 7 7 6+2 0xd801 0xc1 0x5ca3 +* nct6799d-r 18 7 7 6+2 0xd802 0xc1 0x5ca3 * * #temp lists the number of monitored temperature sources (first value) plus * the number of directly connectable temperature sensors (second value).
drivers/hwmon/nct6775-platform.c +1 -1
@@ -35,7 +35,7 @@ static const char * const nct6775_sio_names[] __initconst = {"NCT6796D" ,"NCT6797D" ,"NCT6798D" , - "NCT6799D", + "NCT6796D-S/NCT6799D-R", };static unsigned short force_id;
base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
prerequisite-patch-id: 36e3467bd9ea72cb3ad2bef638a8389a9537d111
Signature · 1 line
2.39.2
Quoted 7 lines · Ahmad Khalifa
nct6799d-r and nct6796d-s are very similar and
chip_idis only different in the version nibblet.Since both will be detected by the driver anyway due to the chipid mask, they should be labeled together for dmesg msg.
Signed-off-by Ahmad Khalifa <[email protected]>
Applied. Please add change logs to future versions of your patches.
Thanks,
Guenter
Quoted 64 lines
--- Documentation/hwmon/nct6775.rst | 11 ++++++++++- drivers/hwmon/nct6775-core.c | 3 ++- drivers/hwmon/nct6775-platform.c | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-)base-commit:
06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
prerequisite-patch-id:36e3467bd9ea72cb3ad2bef638a8389a9537d111Documentation/hwmon/nct6775.rst +10
-1@@ -80,7 +80,13 @@ Supported chips: Datasheet: Available from Nuvoton upon request + * Nuvoton NCT6796D-S/NCT6799D-R + Prefix: 'nct6799' + + Addresses scanned: ISA address retrieved from Super I/O registers + + Datasheet: Available from Nuvoton upon request Authors:@@ -277,4 +283,7 @@ will not reflect a usable value. It often reports unreasonably high temperatures, and in some cases the reported temperature declines if the actual temperature increases (similar to the raw PECI temperature value - see PECI specification for details). CPUTIN should therefore be ignored on ASUS -boards. The CPU temperature on ASUS boards is reported from PECI 0. +boards. The CPU temperature on ASUS boards is reported from PECI 0 or TSI 0. + +NCT6796D-S and NCT6799D-R chips are very similar and their chip_id indicates +they are different versions. This driver treats them the same way.drivers/hwmon/nct6775-core.c +2
-1@@ -33,7 +33,8 @@* (0xd451) * nct6798d 14 7 7 2+6 0xd428 0xc1 0x5ca3 * (0xd429) -* nct6799d 14 7 7 2+6 0xd802 0xc1 0x5ca3 +* nct6796d-s 18 7 7 6+2 0xd801 0xc1 0x5ca3 +* nct6799d-r 18 7 7 6+2 0xd802 0xc1 0x5ca3 * * #temp lists the number of monitored temperature sources (first value) plus * the number of directly connectable temperature sensors (second value). drivers/hwmon/nct6775-platform.c +1
-1@@ -35,7 +35,7 @@ static const char * const nct6775_sio_names[] __initconst = {"NCT6796D" ,"NCT6797D" ,"NCT6798D" , - "NCT6799D", + "NCT6796D-S/NCT6799D-R", };static unsigned short force_id;