diff options
author | Marc Hulsman <m.hulsman@tudelft.nl> | 2008-10-17 11:51:17 -0400 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-10-17 11:51:17 -0400 |
commit | a5a4598cd2e7cae456a7f2a100bf0e5c3c7811c7 (patch) | |
tree | d2a5da96eae842f33bea66101a92abf88612aa9f /Documentation/hwmon | |
parent | b5938f8c4a530b2fad18f2293ffaf79ac9f5a148 (diff) |
hwmon: (w83791d) add support for thermal cruise mode
Add support to set target temperature and tolerance for thermal
cruise mode.
Signed-off-by: Marc Hulsman <m.hulsman@tudelft.nl>
Acked-by: Hans de Goede <j.w.r.degoede@hhs.nl>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/w83791d | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/Documentation/hwmon/w83791d b/Documentation/hwmon/w83791d index b1e4798764e8..5663e491655c 100644 --- a/Documentation/hwmon/w83791d +++ b/Documentation/hwmon/w83791d | |||
@@ -77,6 +77,9 @@ readings can be divided by a programmable divider (1, 2, 4, 8, 16, | |||
77 | 77 | ||
78 | Each fan controlled is controlled by PWM. The PWM duty cycle can be read and | 78 | Each fan controlled is controlled by PWM. The PWM duty cycle can be read and |
79 | set for each fan separately. Valid values range from 0 (stop) to 255 (full). | 79 | set for each fan separately. Valid values range from 0 (stop) to 255 (full). |
80 | PWM 1-3 support Thermal Cruise mode, in which the PWMs are automatically | ||
81 | regulated to keep respectively temp 1-3 at a certain target temperature. | ||
82 | See below for the description of the sysfs-interface. | ||
80 | 83 | ||
81 | The w83791d has a global bit used to enable beeping from the speaker when an | 84 | The w83791d has a global bit used to enable beeping from the speaker when an |
82 | alarm is triggered as well as a bitmask to enable or disable the beep for | 85 | alarm is triggered as well as a bitmask to enable or disable the beep for |
@@ -116,9 +119,19 @@ chip-specific options are documented here. | |||
116 | pwm[1-3]_enable - this file controls mode of fan/temperature control for | 119 | pwm[1-3]_enable - this file controls mode of fan/temperature control for |
117 | fan 1-3. Fan/PWM 4-5 only support manual mode. | 120 | fan 1-3. Fan/PWM 4-5 only support manual mode. |
118 | * 1 Manual mode | 121 | * 1 Manual mode |
119 | * 2 Thermal Cruise mode (no further support) | 122 | * 2 Thermal Cruise mode |
120 | * 3 Fan Speed Cruise mode (no further support) | 123 | * 3 Fan Speed Cruise mode (no further support) |
121 | 124 | ||
125 | temp[1-3]_target - defines the target temperature for Thermal Cruise mode. | ||
126 | Unit: millidegree Celsius | ||
127 | RW | ||
128 | |||
129 | temp[1-3]_tolerance - temperature tolerance for Thermal Cruise mode. | ||
130 | Specifies an interval around the target temperature | ||
131 | in which the fan speed is not changed. | ||
132 | Unit: millidegree Celsius | ||
133 | RW | ||
134 | |||
122 | Alarms bitmap vs. beep_mask bitmask | 135 | Alarms bitmap vs. beep_mask bitmask |
123 | ------------------------------------ | 136 | ------------------------------------ |
124 | For legacy code using the alarms and beep_mask files: | 137 | For legacy code using the alarms and beep_mask files: |
@@ -146,7 +159,3 @@ tart2 : alarms: 0x020000 beep_mask: 0x080000 <== mismatch | |||
146 | tart3 : alarms: 0x040000 beep_mask: 0x100000 <== mismatch | 159 | tart3 : alarms: 0x040000 beep_mask: 0x100000 <== mismatch |
147 | case_open : alarms: 0x001000 beep_mask: 0x001000 | 160 | case_open : alarms: 0x001000 beep_mask: 0x001000 |
148 | global_enable: alarms: -------- beep_mask: 0x800000 (modified via beep_enable) | 161 | global_enable: alarms: -------- beep_mask: 0x800000 (modified via beep_enable) |
149 | |||
150 | W83791D TODO: | ||
151 | --------------- | ||
152 | Provide a patch for Thermal Cruise registers. | ||