hwmon: (nct6775) Add support for pwm, pwm_mode, and pwm_enable
Subsystems (2)
Guenter Roeck
maintainerPATCH v5 8/11 hwmon: (nct6775) Add support for pwm, pwm_mode, and pwm_enable
Signed-off-by Guenter Roeck <[email protected]>
--- Documentation/hwmon/nct6775 | 18 +++ drivers/hwmon/nct6775.c | 329 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 347 insertions(+)
Documentation/hwmon/nct6775 +18 -0
@@ -69,6 +69,24 @@ is driven slower/faster to reach the predefined range again. The mode works for fan1-fan5. +sysfs attributes +---------------- + +pwm[1-5] - this file stores PWM duty cycle or DC value (fan speed) in range: + 0 (lowest speed) to 255 (full) + +pwm[1-5]_enable - this file controls mode of fan/temperature control: + * 0 Fan control disabled (fans set to maximum speed) + * 1 Manual mode, write to pwm[0-5] any value 0-255 + * 2 "Thermal Cruise" mode + * 3 "Fan Speed Cruise" mode + * 4 "Smart Fan III" mode (NCT6775F only) + * 5 "Smart Fan IV" mode + +pwm[1-5]_mode - controls if output is PWM or DC level + * 0 DC output + * 1 PWM output + Usage Notes -----------
drivers/hwmon/nct6775.c +329 -0
487 lines not on this page · raw message
Signature · 7 lines
1.7.9.7 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors