mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: (nct6683) Add fan control support for MSI boards with NCT6687D-R
@ 2026-10-04 15:32 Hamza Mahfooz
  2026-10-04 15:32 ` [PATCH 1/2] hwmon: (nct6683) Report the duty cycle of NCT6687D-R system fans Hamza Mahfooz
  2026-10-04 15:32 ` [PATCH 2/2] hwmon: (nct6683) Add fan control support for MSI boards with NCT6687D-R Hamza Mahfooz
  0 siblings, 2 replies; 3+ messages in thread
From: Hamza Mahfooz @ 2026-10-04 15:32 UTC (permalink / raw)
  To: linux-hwmon
  Cc: Guenter Roeck, Jonathan Corbet, Randy Dunlap, linux-doc,
	linux-kernel, Hamza Mahfooz

Recent MSI boards (customer ID 0x20d) use an NCT6687D-R, whose fan
control registers differ from the ones used on Mitac boards, the only
boards for which the driver supports fan control so far. In addition,
the system fans of these boards are connected to channels 10-15, whose
duty cycle the driver does not report.

This series adds fan control support for these boards, based on the
register map reverse engineered by the LibreHardwareMonitor project [1],
which uses it on MSI 800-series boards.

Patch 1 reports the duty cycle of the system fans, and patch 2 adds fan
control support for the CPU, pump and system fan headers. 

Tested on an MSI PRO B850-P WIFI (MS-7E56, BIOS 2.A93, NCT6687D EC
firmware version 0.0 build 04/18/25), on top of kernel v7.3-rc5. Fan
control is available on pwm1, pwm2 and pwm13 to pwm16 on this board.

[1] https://github.com/LibreHardwareMonitor/LibreHardwareMonitor/pull/2294

Hamza Mahfooz (2):
  hwmon: (nct6683) Report the duty cycle of NCT6687D-R system fans
  hwmon: (nct6683) Add fan control support for MSI boards with
    NCT6687D-R

 Documentation/hwmon/nct6683.rst |  17 +++
 drivers/hwmon/nct6683.c         | 233 +++++++++++++++++++++++++++++++-
 2 files changed, 244 insertions(+), 6 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-10-04 15:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-04 15:32 [PATCH 0/2] hwmon: (nct6683) Add fan control support for MSI boards with NCT6687D-R Hamza Mahfooz
2026-10-04 15:32 ` [PATCH 1/2] hwmon: (nct6683) Report the duty cycle of NCT6687D-R system fans Hamza Mahfooz
2026-10-04 15:32 ` [PATCH 2/2] hwmon: (nct6683) Add fan control support for MSI boards with NCT6687D-R Hamza Mahfooz

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®