[PATCH 1/2] hwmon: (nct6683) Document manual mode on unload and MSI-only fan curves

From: Tomasz Bojanowski

Date: Sat Nov 28 2026 - 15:55:28 EST


The fan control documentation has not kept up with two recent changes:

- Fan control was enabled on ASRock boards, which have pwmN_enable but
no fan curve attributes. The documentation still says that the curve
of each fan with a pwmN_enable attribute is reported.
- Fans set to manual mode through the driver are now switched back to
automatic mode when the driver is unloaded. The documentation only
says that the curves are kept.

Update both.

Signed-off-by: Tomasz Bojanowski <tomasz@xxxxxxxxxxxxx>
---
I used an AI assistant (Claude Code) during development, including for
the test scripts and for comparing the EC register dumps. I reviewed all
of the changes and take responsibility for them.

Documentation/hwmon/nct6683.rst | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/hwmon/nct6683.rst b/Documentation/hwmon/nct6683.rst
index 1afdf4788d82..d9ee2b02a26e 100644
--- a/Documentation/hwmon/nct6683.rst
+++ b/Documentation/hwmon/nct6683.rst
@@ -67,10 +67,11 @@ pwmN_enable selects the fan control mode:
* 2: automatic mode, using the current fan curve

pwmN can only be written in manual mode. Switching to manual mode keeps the
-current duty cycle.
+current duty cycle. Fans which were set to manual mode through the driver
+are switched back to automatic mode when the driver is unloaded.

-For each fan with a pwmN_enable attribute, the fan curve is reported with
-the following attributes, if the curve sets a duty cycle:
+On the MSI boards, the fan curve of each fan with a pwmN_enable attribute
+is reported with the following attributes, if the curve sets a duty cycle:

* pwmN_auto_point[1-7]_temp: temperature of the curve point, in
millidegrees Celsius
--
2.56.1