Files
linux/Documentation/hwmon/nct7802.rst
Ronan Dalton 1000878867 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>
2026-06-09 08:23:00 -07:00

55 lines
1.5 KiB
ReStructuredText

Kernel driver nct7802
=====================
Supported chips:
* Nuvoton NCT7802Y
Prefix: 'nct7802'
Addresses scanned: I2C 0x28..0x2f
Datasheet: Available from Nuvoton web site
Authors:
Guenter Roeck <linux@roeck-us.net>
Description
-----------
This driver implements support for the Nuvoton NCT7802Y hardware monitoring
chip. NCT7802Y supports 6 temperature sensors, 5 voltage sensors, and 3 fan
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
-------------------------------
The driver has been reported to work with the following boards and
BIOS versions.
======================= ===============================================
Board BIOS version
======================= ===============================================
Kontron COMe-bSC2 CHR2E934.001.GGO
Kontron COMe-bIP2 CCR2E212
======================= ===============================================