mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: (nct6775) Documentation fix and NCT5585D support
@ 2026-08-11  9:37 huangjia2hi
  2026-08-11  9:37 ` [PATCH 1/2] Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D huangjia2hi
  2026-08-11  9:37 ` [PATCH 2/2] hwmon: (nct6775) Add NCT5585D to list of supported chips huangjia2hi
  0 siblings, 2 replies; 5+ messages in thread
From: huangjia2hi @ 2026-08-11  9:37 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-hwmon, linux-kernel, Jiazhi Huang

From: Jiazhi Huang <huangjia2hi@163.com>

Patch 1 adds the missing NCT6797D and NCT6798D entries to the
documentation. These chips are already supported by the driver code
but were never documented.

Patch 2 adds NCT5585D, which is fully compatible with NCT6798D
(same chip ID 0xd428). Tested on an ASUS PRIME H610M-D motherboard.

Jiazhi Huang (2):
  Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D
  hwmon: (nct6775) Add NCT5585D to list of supported chips

 Documentation/hwmon/nct6775.rst  | 24 ++++++++++++++++++++++++
 drivers/hwmon/nct6775-core.c     |  1 +
 drivers/hwmon/nct6775-platform.c |  2 +-
 3 files changed, 26 insertions(+), 1 deletion(-)

-- 
2.55.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D
  2026-08-11  9:37 [PATCH 0/2] hwmon: (nct6775) Documentation fix and NCT5585D support huangjia2hi
@ 2026-08-11  9:37 ` huangjia2hi
  2026-08-11 15:59   ` Guenter Roeck
  2026-08-11  9:37 ` [PATCH 2/2] hwmon: (nct6775) Add NCT5585D to list of supported chips huangjia2hi
  1 sibling, 1 reply; 5+ messages in thread
From: huangjia2hi @ 2026-08-11  9:37 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-hwmon, linux-kernel, Jiazhi Huang

From: Jiazhi Huang <huangjia2hi@163.com>

The NCT6797D and NCT6798D chips are already supported by the driver
but were missing from the documentation.

Signed-off-by: Jiazhi Huang <huangjia2hi@163.com>
---
 Documentation/hwmon/nct6775.rst | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Documentation/hwmon/nct6775.rst b/Documentation/hwmon/nct6775.rst
index 9d7a10de61a7..6725f8ff98e0 100644
--- a/Documentation/hwmon/nct6775.rst
+++ b/Documentation/hwmon/nct6775.rst
@@ -80,6 +80,22 @@ Supported chips:
 
     Datasheet: Available from Nuvoton upon request
 
+  * Nuvoton NCT6797D
+
+    Prefix: 'nct6797'
+
+    Addresses scanned: ISA address retrieved from Super I/O registers
+
+    Datasheet: Available from Nuvoton upon request
+
+  * Nuvoton NCT6798D
+
+    Prefix: 'nct6798'
+
+    Addresses scanned: ISA address retrieved from Super I/O registers
+
+    Datasheet: Available from Nuvoton upon request
+
   * Nuvoton NCT6796D-S/NCT6799D-R
 
     Prefix: 'nct6799'
-- 
2.55.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 2/2] hwmon: (nct6775) Add NCT5585D to list of supported chips
  2026-08-11  9:37 [PATCH 0/2] hwmon: (nct6775) Documentation fix and NCT5585D support huangjia2hi
  2026-08-11  9:37 ` [PATCH 1/2] Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D huangjia2hi
@ 2026-08-11  9:37 ` huangjia2hi
  2026-08-11 15:58   ` Guenter Roeck
  1 sibling, 1 reply; 5+ messages in thread
From: huangjia2hi @ 2026-08-11  9:37 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: linux-hwmon, linux-kernel, Jiazhi Huang

From: Jiazhi Huang <huangjia2hi@163.com>

NCT5585D uses the same chip ID (0xd428) as NCT6798D and is fully
compatible with it. Tested on an ASUS PRIME H610M-D motherboard.

Signed-off-by: Jiazhi Huang <huangjia2hi@163.com>
---
 Documentation/hwmon/nct6775.rst  | 8 ++++++++
 drivers/hwmon/nct6775-core.c     | 1 +
 drivers/hwmon/nct6775-platform.c | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/Documentation/hwmon/nct6775.rst b/Documentation/hwmon/nct6775.rst
index 6725f8ff98e0..41b21bed7e27 100644
--- a/Documentation/hwmon/nct6775.rst
+++ b/Documentation/hwmon/nct6775.rst
@@ -96,6 +96,14 @@ Supported chips:
 
     Datasheet: Available from Nuvoton upon request
 
+  * Nuvoton NCT5585D (compatible to NCT6798D)
+
+    Prefix: 'nct6798'
+
+    Addresses scanned: ISA address retrieved from Super I/O registers
+
+    Datasheet: Not available
+
   * Nuvoton NCT6796D-S/NCT6799D-R
 
     Prefix: 'nct6799'
diff --git a/drivers/hwmon/nct6775-core.c b/drivers/hwmon/nct6775-core.c
index 94482c8092cd..759ea3d1286e 100644
--- a/drivers/hwmon/nct6775-core.c
+++ b/drivers/hwmon/nct6775-core.c
@@ -33,6 +33,7 @@
  *                                           (0xd451)
  * nct6798d    14      7       7       2+6    0xd428 0xc1    0x5ca3
  *                                           (0xd429)
+ * nct5585d    14      7       7       2+6    0xd428 0xc1    0x5ca3
  * nct6796d-s  18      7       7       6+2    0xd801 0xc1    0x5ca3
  * nct6799d-r  18      7       7       6+2    0xd802 0xc1    0x5ca3
  *
diff --git a/drivers/hwmon/nct6775-platform.c b/drivers/hwmon/nct6775-platform.c
index 1975399ac440..d394376e4306 100644
--- a/drivers/hwmon/nct6775-platform.c
+++ b/drivers/hwmon/nct6775-platform.c
@@ -34,7 +34,7 @@ static const char * const nct6775_sio_names[] __initconst = {
 	[nct6795] = "NCT6795D",
 	[nct6796] = "NCT6796D",
 	[nct6797] = "NCT6797D",
-	[nct6798] = "NCT6798D",
+	[nct6798] = "NCT6798D/NCT5585D",
 	[nct6799] = "NCT6796D-S/NCT6799D-R",
 };
 
-- 
2.55.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] hwmon: (nct6775) Add NCT5585D to list of supported chips
  2026-08-11  9:37 ` [PATCH 2/2] hwmon: (nct6775) Add NCT5585D to list of supported chips huangjia2hi
@ 2026-08-11 15:58   ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2026-08-11 15:58 UTC (permalink / raw)
  To: huangjia2hi; +Cc: linux-hwmon, linux-kernel

On Tue, Aug 11, 2026 at 05:37:44PM +0800, huangjia2hi@163.com wrote:
> From: Jiazhi Huang <huangjia2hi@163.com>
> 
> NCT5585D uses the same chip ID (0xd428) as NCT6798D and is fully
> compatible with it. Tested on an ASUS PRIME H610M-D motherboard.
> 
> Signed-off-by: Jiazhi Huang <huangjia2hi@163.com>

Applied.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/2] Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D
  2026-08-11  9:37 ` [PATCH 1/2] Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D huangjia2hi
@ 2026-08-11 15:59   ` Guenter Roeck
  0 siblings, 0 replies; 5+ messages in thread
From: Guenter Roeck @ 2026-08-11 15:59 UTC (permalink / raw)
  To: huangjia2hi; +Cc: linux-hwmon, linux-kernel

On Tue, Aug 11, 2026 at 05:37:43PM +0800, huangjia2hi@163.com wrote:
> From: Jiazhi Huang <huangjia2hi@163.com>
> 
> The NCT6797D and NCT6798D chips are already supported by the driver
> but were missing from the documentation.
> 
> Signed-off-by: Jiazhi Huang <huangjia2hi@163.com>

Applied.

Thanks,
Guenter

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-08-11 15:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11  9:37 [PATCH 0/2] hwmon: (nct6775) Documentation fix and NCT5585D support huangjia2hi
2026-08-11  9:37 ` [PATCH 1/2] Documentation: hwmon: (nct6775) Add missing NCT6797D and NCT6798D huangjia2hi
2026-08-11 15:59   ` Guenter Roeck
2026-08-11  9:37 ` [PATCH 2/2] hwmon: (nct6775) Add NCT5585D to list of supported chips huangjia2hi
2026-08-11 15:58   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®