Skip to contentSkip to conversation

hwmon: Clarify autopwm trip points

PATCH New Jean Delvare 1 participant 1 message Nov 13, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hwmon: Clarify autopwm trip points

Document the case of hybrid automatic fan speed control implementations, where trip points are associated to both PWM output channels and temperature input channels.

---
While working on the adt7473 and adt7475 drivers, I have noticed that their implementation of automatic fan speed control doesn't match what we documented in the sysfs-interface document. As the implementation makes sense, I believe we shall keep it and update the documentation accordingly.

 Documentation/hwmon/sysfs-interface |   11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
Documentation/hwmon/sysfs-interface +9 -2
@@ -225,8 +225,6 @@ pwm[1-*]_auto_point[1-*]_temp_hyst
 		to PWM output channels.
 		RW
 
-OR
-
 temp[1-*]_auto_point[1-*]_pwm
 temp[1-*]_auto_point[1-*]_temp
 temp[1-*]_auto_point[1-*]_temp_hyst
@@ -235,6 +233,15 @@ temp[1-*]_auto_point[1-*]_temp_hyst
 		to temperature channels.
 		RW
 
+There is a third case where trip points are associated to both PWM output
+channels and temperature channels: the PWM values are associated to PWM
+output channels while the temperature values are associated to temperature
+channels. In that case, the result is determined by the mapping between
+temperature inputs and PWM outputs. When several temperature inputs are
+mapped to a given PWM output, this leads to several candidate PWM values.
+The actual result is up to the chip, but in general the highest candidate
+value (fastest fan speed) wins.
+
 
 ****************
 * Temperatures *
Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors