summaryrefslogtreecommitdiff
path: root/Documentation/hwmon
diff options
context:
space:
mode:
authorRonan Dalton <ronan.dalton@alliedtelesis.co.nz>2026-05-14 12:34:04 +1200
committerGuenter Roeck <linux@roeck-us.net>2026-06-09 08:23:00 -0700
commit1000878867bdf36b768802128f51379a1d8593e6 (patch)
tree76facc84c570c701379a68c1d37c528dba80ccff /Documentation/hwmon
parent4a9e6a9230c88a71916301b9fe6627413ebc2574 (diff)
downloadlinux-next-1000878867bdf36b768802128f51379a1d8593e6.tar.gz
linux-next-1000878867bdf36b768802128f51379a1d8593e6.zip
hwmon: (nct7802) Add time step attributes for tweaking responsiveness
The nct7802 chip exposes two registers that allow setting the time interval between successive duty increases or decreases in Smart Fan mode. The units are intervals of 0.1 second. The default value at power on is 10, so 1 second. Add sysfs attributes for step_up_time and step_down_time to allow controlling the responsiveness of the fan speed. Values are represented as milliseconds to the user. When set, the value is clamped to the valid range of 100 to 25500 (0.1 to 25.5 seconds), and rounded to the nearest multiple of 100. Signed-off-by: Ronan Dalton <ronan.dalton@alliedtelesis.co.nz> Cc: linux-kernel@vger.kernel.org Cc: linux-hwmon@vger.kernel.org Cc: Guenter Roeck <linux@roeck-us.net> Cc: Chris Packham <chris.packham@alliedtelesis.co.nz> Link: https://lore.kernel.org/r/20260514003404.1548747-2-ronan.dalton@alliedtelesis.co.nz Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r--Documentation/hwmon/nct7802.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/hwmon/nct7802.rst b/Documentation/hwmon/nct7802.rst
index 8b7365a7cb32..366050ea595c 100644
--- a/Documentation/hwmon/nct7802.rst
+++ b/Documentation/hwmon/nct7802.rst
@@ -24,6 +24,22 @@ speed sensors.
Smart Fan™ speed control is available via pwmX_auto_point attributes.
+Sysfs Attributes
+----------------
+
+Sysfs attributes unique to this chip are documented below. For common
+attributes, see Documentation/hwmon/sysfs-interface.rst.
+
+step_up_time
+ Time interval between successive duty cycle increases
+ when in Smart Fan mode. Specified in milliseconds and
+ rounded to intervals of 100 in the range 100-25500.
+
+step_down_time
+ Time interval between successive duty cycle decreases
+ when in Smart Fan mode. Specified in milliseconds and
+ rounded to intervals of 100 in the range 100-25500.
+
Tested Boards and BIOS Versions
-------------------------------