Skip to contentSkip to conversation

hwmon: (nct6775) Add support for pwm, pwm_mode, and pwm_enable

PATCH Superseded Guenter Roeck 1 participant 1 message Dec 11, 2012

Subsystems (2)

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Guenter Roeck

author maintainer
#0 lore raw

PATCH v5 8/11 hwmon: (nct6775) Add support for pwm, pwm_mode, and pwm_enable

---
 Documentation/hwmon/nct6775 |   18 +++
 drivers/hwmon/nct6775.c     |  329 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 347 insertions(+)
Documentation/hwmon/nct6775 +18 -0
index dcd56a3..7c9f1d3 100644
@@ -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