diff options
author | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-04-17 05:46:22 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-04-17 12:51:04 -0400 |
commit | cdc39b091b9d756d62edb74d23a62bd6dba0453d (patch) | |
tree | 87adeefcb754f1bfdd48c1a5c1ff98e46ab12213 /Documentation/hwmon | |
parent | 33ffc74ffa3d7ae9946524dfeaea6f4b251909a5 (diff) |
docs: hwmon: dme1737, vt1211: convert to ReST format
Convert dme1737 and vt1211 to ReST format, in order to allow
them to be parsed by Sphinx.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Documentation/hwmon')
-rw-r--r-- | Documentation/hwmon/dme1737 | 88 | ||||
-rw-r--r-- | Documentation/hwmon/vt1211 | 84 |
2 files changed, 114 insertions, 58 deletions
diff --git a/Documentation/hwmon/dme1737 b/Documentation/hwmon/dme1737 index 4d2935145a1c..82fcbc6b2b43 100644 --- a/Documentation/hwmon/dme1737 +++ b/Documentation/hwmon/dme1737 | |||
@@ -2,21 +2,37 @@ Kernel driver dme1737 | |||
2 | ===================== | 2 | ===================== |
3 | 3 | ||
4 | Supported chips: | 4 | Supported chips: |
5 | |||
5 | * SMSC DME1737 and compatibles (like Asus A8000) | 6 | * SMSC DME1737 and compatibles (like Asus A8000) |
7 | |||
6 | Prefix: 'dme1737' | 8 | Prefix: 'dme1737' |
9 | |||
7 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | 10 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e |
11 | |||
8 | Datasheet: Provided by SMSC upon request and under NDA | 12 | Datasheet: Provided by SMSC upon request and under NDA |
13 | |||
9 | * SMSC SCH3112, SCH3114, SCH3116 | 14 | * SMSC SCH3112, SCH3114, SCH3116 |
15 | |||
10 | Prefix: 'sch311x' | 16 | Prefix: 'sch311x' |
17 | |||
11 | Addresses scanned: none, address read from Super-I/O config space | 18 | Addresses scanned: none, address read from Super-I/O config space |
19 | |||
12 | Datasheet: Available on the Internet | 20 | Datasheet: Available on the Internet |
21 | |||
13 | * SMSC SCH5027 | 22 | * SMSC SCH5027 |
23 | |||
14 | Prefix: 'sch5027' | 24 | Prefix: 'sch5027' |
25 | |||
15 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | 26 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e |
27 | |||
16 | Datasheet: Provided by SMSC upon request and under NDA | 28 | Datasheet: Provided by SMSC upon request and under NDA |
29 | |||
17 | * SMSC SCH5127 | 30 | * SMSC SCH5127 |
31 | |||
18 | Prefix: 'sch5127' | 32 | Prefix: 'sch5127' |
33 | |||
19 | Addresses scanned: none, address read from Super-I/O config space | 34 | Addresses scanned: none, address read from Super-I/O config space |
35 | |||
20 | Datasheet: Provided by SMSC upon request and under NDA | 36 | Datasheet: Provided by SMSC upon request and under NDA |
21 | 37 | ||
22 | Authors: | 38 | Authors: |
@@ -26,11 +42,14 @@ Authors: | |||
26 | Module Parameters | 42 | Module Parameters |
27 | ----------------- | 43 | ----------------- |
28 | 44 | ||
29 | * force_start: bool Enables the monitoring of voltage, fan and temp inputs | 45 | * force_start: bool |
46 | Enables the monitoring of voltage, fan and temp inputs | ||
30 | and PWM output control functions. Using this parameter | 47 | and PWM output control functions. Using this parameter |
31 | shouldn't be required since the BIOS usually takes care | 48 | shouldn't be required since the BIOS usually takes care |
32 | of this. | 49 | of this. |
33 | * probe_all_addr: bool Include non-standard LPC addresses 0x162e and 0x164e | 50 | |
51 | * probe_all_addr: bool | ||
52 | Include non-standard LPC addresses 0x162e and 0x164e | ||
34 | when probing for ISA devices. This is required for the | 53 | when probing for ISA devices. This is required for the |
35 | following boards: | 54 | following boards: |
36 | - VIA EPIA SN18000 | 55 | - VIA EPIA SN18000 |
@@ -70,7 +89,8 @@ scaling resistors. The values returned by the driver therefore reflect true | |||
70 | millivolts and don't need scaling. The voltage inputs are mapped as follows | 89 | millivolts and don't need scaling. The voltage inputs are mapped as follows |
71 | (the last column indicates the input ranges): | 90 | (the last column indicates the input ranges): |
72 | 91 | ||
73 | DME1737, A8000: | 92 | DME1737, A8000:: |
93 | |||
74 | in0: +5VTR (+5V standby) 0V - 6.64V | 94 | in0: +5VTR (+5V standby) 0V - 6.64V |
75 | in1: Vccp (processor core) 0V - 3V | 95 | in1: Vccp (processor core) 0V - 3V |
76 | in2: VCC (internal +3.3V) 0V - 4.38V | 96 | in2: VCC (internal +3.3V) 0V - 4.38V |
@@ -79,7 +99,8 @@ DME1737, A8000: | |||
79 | in5: VTR (+3.3V standby) 0V - 4.38V | 99 | in5: VTR (+3.3V standby) 0V - 4.38V |
80 | in6: Vbat (+3.0V) 0V - 4.38V | 100 | in6: Vbat (+3.0V) 0V - 4.38V |
81 | 101 | ||
82 | SCH311x: | 102 | SCH311x:: |
103 | |||
83 | in0: +2.5V 0V - 3.32V | 104 | in0: +2.5V 0V - 3.32V |
84 | in1: Vccp (processor core) 0V - 2V | 105 | in1: Vccp (processor core) 0V - 2V |
85 | in2: VCC (internal +3.3V) 0V - 4.38V | 106 | in2: VCC (internal +3.3V) 0V - 4.38V |
@@ -88,7 +109,8 @@ SCH311x: | |||
88 | in5: VTR (+3.3V standby) 0V - 4.38V | 109 | in5: VTR (+3.3V standby) 0V - 4.38V |
89 | in6: Vbat (+3.0V) 0V - 4.38V | 110 | in6: Vbat (+3.0V) 0V - 4.38V |
90 | 111 | ||
91 | SCH5027: | 112 | SCH5027:: |
113 | |||
92 | in0: +5VTR (+5V standby) 0V - 6.64V | 114 | in0: +5VTR (+5V standby) 0V - 6.64V |
93 | in1: Vccp (processor core) 0V - 3V | 115 | in1: Vccp (processor core) 0V - 3V |
94 | in2: VCC (internal +3.3V) 0V - 4.38V | 116 | in2: VCC (internal +3.3V) 0V - 4.38V |
@@ -97,7 +119,8 @@ SCH5027: | |||
97 | in5: VTR (+3.3V standby) 0V - 4.38V | 119 | in5: VTR (+3.3V standby) 0V - 4.38V |
98 | in6: Vbat (+3.0V) 0V - 4.38V | 120 | in6: Vbat (+3.0V) 0V - 4.38V |
99 | 121 | ||
100 | SCH5127: | 122 | SCH5127:: |
123 | |||
101 | in0: +2.5 0V - 3.32V | 124 | in0: +2.5 0V - 3.32V |
102 | in1: Vccp (processor core) 0V - 3V | 125 | in1: Vccp (processor core) 0V - 3V |
103 | in2: VCC (internal +3.3V) 0V - 4.38V | 126 | in2: VCC (internal +3.3V) 0V - 4.38V |
@@ -119,7 +142,7 @@ Celsius. The chip also features offsets for all 3 temperature inputs which - | |||
119 | when programmed - get added to the input readings. The chip does all the | 142 | when programmed - get added to the input readings. The chip does all the |
120 | scaling by itself and the driver therefore reports true temperatures that don't | 143 | scaling by itself and the driver therefore reports true temperatures that don't |
121 | need any user-space adjustments. The temperature inputs are mapped as follows | 144 | need any user-space adjustments. The temperature inputs are mapped as follows |
122 | (the last column indicates the input ranges): | 145 | (the last column indicates the input ranges):: |
123 | 146 | ||
124 | temp1: Remote diode 1 (3904 type) temperature -127C - +127C | 147 | temp1: Remote diode 1 (3904 type) temperature -127C - +127C |
125 | temp2: DME1737 internal temperature -127C - +127C | 148 | temp2: DME1737 internal temperature -127C - +127C |
@@ -171,6 +194,7 @@ pwm[1-3]_auto_pwm_min, respectively. The thermal thresholds of the zones are | |||
171 | programmed via zone[1-3]_auto_point[1-3]_temp and | 194 | programmed via zone[1-3]_auto_point[1-3]_temp and |
172 | zone[1-3]_auto_point1_temp_hyst: | 195 | zone[1-3]_auto_point1_temp_hyst: |
173 | 196 | ||
197 | =============================== ======================================= | ||
174 | pwm[1-3]_auto_point2_pwm full-speed duty-cycle (255, i.e., 100%) | 198 | pwm[1-3]_auto_point2_pwm full-speed duty-cycle (255, i.e., 100%) |
175 | pwm[1-3]_auto_point1_pwm low-speed duty-cycle | 199 | pwm[1-3]_auto_point1_pwm low-speed duty-cycle |
176 | pwm[1-3]_auto_pwm_min min-speed duty-cycle | 200 | pwm[1-3]_auto_pwm_min min-speed duty-cycle |
@@ -179,6 +203,7 @@ zone[1-3]_auto_point1_temp_hyst: | |||
179 | zone[1-3]_auto_point2_temp full-speed temp | 203 | zone[1-3]_auto_point2_temp full-speed temp |
180 | zone[1-3]_auto_point1_temp low-speed temp | 204 | zone[1-3]_auto_point1_temp low-speed temp |
181 | zone[1-3]_auto_point1_temp_hyst min-speed temp | 205 | zone[1-3]_auto_point1_temp_hyst min-speed temp |
206 | =============================== ======================================= | ||
182 | 207 | ||
183 | The chip adjusts the output duty-cycle linearly in the range of auto_point1_pwm | 208 | The chip adjusts the output duty-cycle linearly in the range of auto_point1_pwm |
184 | to auto_point2_pwm if the temperature of the associated zone is between | 209 | to auto_point2_pwm if the temperature of the associated zone is between |
@@ -192,17 +217,21 @@ all PWM outputs are set to 100% duty-cycle. | |||
192 | Following is another representation of how the chip sets the output duty-cycle | 217 | Following is another representation of how the chip sets the output duty-cycle |
193 | based on the temperature of the associated thermal zone: | 218 | based on the temperature of the associated thermal zone: |
194 | 219 | ||
195 | Duty-Cycle Duty-Cycle | 220 | =============== =============== ================= |
196 | Temperature Rising Temp Falling Temp | 221 | Temperature Duty-Cycle Duty-Cycle |
197 | ----------- ----------- ------------ | 222 | Rising Temp Falling Temp |
223 | =============== =============== ================= | ||
198 | full-speed full-speed full-speed | 224 | full-speed full-speed full-speed |
199 | 225 | ||
200 | < linearly adjusted duty-cycle > | 226 | - < linearly - |
227 | adjusted | ||
228 | duty-cycle > | ||
201 | 229 | ||
202 | low-speed low-speed low-speed | 230 | low-speed low-speed low-speed |
203 | min-speed low-speed | 231 | - min-speed low-speed |
204 | min-speed min-speed min-speed | 232 | min-speed min-speed min-speed |
205 | min-speed min-speed | 233 | - min-speed min-speed |
234 | =============== =============== ================= | ||
206 | 235 | ||
207 | 236 | ||
208 | Sysfs Attributes | 237 | Sysfs Attributes |
@@ -211,8 +240,9 @@ Sysfs Attributes | |||
211 | Following is a list of all sysfs attributes that the driver provides, their | 240 | Following is a list of all sysfs attributes that the driver provides, their |
212 | permissions and a short description: | 241 | permissions and a short description: |
213 | 242 | ||
243 | =============================== ======= ======================================= | ||
214 | Name Perm Description | 244 | Name Perm Description |
215 | ---- ---- ----------- | 245 | =============================== ======= ======================================= |
216 | cpu0_vid RO CPU core reference voltage in | 246 | cpu0_vid RO CPU core reference voltage in |
217 | millivolts. | 247 | millivolts. |
218 | vrm RW Voltage regulator module version | 248 | vrm RW Voltage regulator module version |
@@ -242,9 +272,10 @@ temp[1-3]_fault RO Temp input fault. Returns 1 if the chip | |||
242 | zone[1-3]_auto_channels_temp RO Temperature zone to temperature input | 272 | zone[1-3]_auto_channels_temp RO Temperature zone to temperature input |
243 | mapping. This attribute is a bitfield | 273 | mapping. This attribute is a bitfield |
244 | and supports the following values: | 274 | and supports the following values: |
245 | 1: temp1 | 275 | |
246 | 2: temp2 | 276 | - 1: temp1 |
247 | 4: temp3 | 277 | - 2: temp2 |
278 | - 4: temp3 | ||
248 | zone[1-3]_auto_point1_temp_hyst RW Auto PWM temp point1 hysteresis. The | 279 | zone[1-3]_auto_point1_temp_hyst RW Auto PWM temp point1 hysteresis. The |
249 | output of the corresponding PWM is set | 280 | output of the corresponding PWM is set |
250 | to the pwm_auto_min value if the temp | 281 | to the pwm_auto_min value if the temp |
@@ -275,9 +306,10 @@ pmw[1-3,5-6] RO/RW Duty-cycle of PWM output. Supported | |||
275 | manual mode. | 306 | manual mode. |
276 | pwm[1-3]_enable RW Enable of PWM outputs 1-3. Supported | 307 | pwm[1-3]_enable RW Enable of PWM outputs 1-3. Supported |
277 | values are: | 308 | values are: |
278 | 0: turned off (output @ 100%) | 309 | |
279 | 1: manual mode | 310 | - 0: turned off (output @ 100%) |
280 | 2: automatic mode | 311 | - 1: manual mode |
312 | - 2: automatic mode | ||
281 | pwm[5-6]_enable RO Enable of PWM outputs 5-6. Always | 313 | pwm[5-6]_enable RO Enable of PWM outputs 5-6. Always |
282 | returns 1 since these 2 outputs are | 314 | returns 1 since these 2 outputs are |
283 | hard-wired to manual mode. | 315 | hard-wired to manual mode. |
@@ -294,11 +326,12 @@ pmw[1-3]_ramp_rate RW Ramp rate of PWM output. Determines how | |||
294 | pwm[1-3]_auto_channels_zone RW PWM output to temperature zone mapping. | 326 | pwm[1-3]_auto_channels_zone RW PWM output to temperature zone mapping. |
295 | This attribute is a bitfield and | 327 | This attribute is a bitfield and |
296 | supports the following values: | 328 | supports the following values: |
297 | 1: zone1 | 329 | |
298 | 2: zone2 | 330 | - 1: zone1 |
299 | 4: zone3 | 331 | - 2: zone2 |
300 | 6: highest of zone[2-3] | 332 | - 4: zone3 |
301 | 7: highest of zone[1-3] | 333 | - 6: highest of zone[2-3] |
334 | - 7: highest of zone[1-3] | ||
302 | pwm[1-3]_auto_pwm_min RW Auto PWM min pwm. Minimum PWM duty- | 335 | pwm[1-3]_auto_pwm_min RW Auto PWM min pwm. Minimum PWM duty- |
303 | cycle. Supported values are 0 or | 336 | cycle. Supported values are 0 or |
304 | auto_point1_pwm. | 337 | auto_point1_pwm. |
@@ -307,12 +340,14 @@ pwm[1-3]_auto_point1_pwm RW Auto PWM pwm point. Auto_point1 is the | |||
307 | pwm[1-3]_auto_point2_pwm RO Auto PWM pwm point. Auto_point2 is the | 340 | pwm[1-3]_auto_point2_pwm RO Auto PWM pwm point. Auto_point2 is the |
308 | full-speed duty-cycle which is hard- | 341 | full-speed duty-cycle which is hard- |
309 | wired to 255 (100% duty-cycle). | 342 | wired to 255 (100% duty-cycle). |
343 | =============================== ======= ======================================= | ||
310 | 344 | ||
311 | Chip Differences | 345 | Chip Differences |
312 | ---------------- | 346 | ---------------- |
313 | 347 | ||
348 | ======================= ======= ======= ======= ======= | ||
314 | Feature dme1737 sch311x sch5027 sch5127 | 349 | Feature dme1737 sch311x sch5027 sch5127 |
315 | ------------------------------------------------------- | 350 | ======================= ======= ======= ======= ======= |
316 | temp[1-3]_offset yes yes | 351 | temp[1-3]_offset yes yes |
317 | vid yes | 352 | vid yes |
318 | zone3 yes yes yes | 353 | zone3 yes yes yes |
@@ -326,3 +361,4 @@ pwm5 opt opt | |||
326 | fan6 opt opt | 361 | fan6 opt opt |
327 | pwm6 opt opt | 362 | pwm6 opt opt |
328 | in7 yes | 363 | in7 yes |
364 | ======================= ======= ======= ======= ======= | ||
diff --git a/Documentation/hwmon/vt1211 b/Documentation/hwmon/vt1211 index 77fa633b97a8..ddbcde7dd642 100644 --- a/Documentation/hwmon/vt1211 +++ b/Documentation/hwmon/vt1211 | |||
@@ -2,9 +2,13 @@ Kernel driver vt1211 | |||
2 | ==================== | 2 | ==================== |
3 | 3 | ||
4 | Supported chips: | 4 | Supported chips: |
5 | |||
5 | * VIA VT1211 | 6 | * VIA VT1211 |
7 | |||
6 | Prefix: 'vt1211' | 8 | Prefix: 'vt1211' |
9 | |||
7 | Addresses scanned: none, address read from Super-I/O config space | 10 | Addresses scanned: none, address read from Super-I/O config space |
11 | |||
8 | Datasheet: Provided by VIA upon request and under NDA | 12 | Datasheet: Provided by VIA upon request and under NDA |
9 | 13 | ||
10 | Authors: Juerg Haefliger <juergh@gmail.com> | 14 | Authors: Juerg Haefliger <juergh@gmail.com> |
@@ -19,14 +23,17 @@ technical support. | |||
19 | Module Parameters | 23 | Module Parameters |
20 | ----------------- | 24 | ----------------- |
21 | 25 | ||
22 | * uch_config: int Override the BIOS default universal channel (UCH) | 26 | |
27 | * uch_config: int | ||
28 | Override the BIOS default universal channel (UCH) | ||
23 | configuration for channels 1-5. | 29 | configuration for channels 1-5. |
24 | Legal values are in the range of 0-31. Bit 0 maps to | 30 | Legal values are in the range of 0-31. Bit 0 maps to |
25 | UCH1, bit 1 maps to UCH2 and so on. Setting a bit to 1 | 31 | UCH1, bit 1 maps to UCH2 and so on. Setting a bit to 1 |
26 | enables the thermal input of that particular UCH and | 32 | enables the thermal input of that particular UCH and |
27 | setting a bit to 0 enables the voltage input. | 33 | setting a bit to 0 enables the voltage input. |
28 | 34 | ||
29 | * int_mode: int Override the BIOS default temperature interrupt mode. | 35 | * int_mode: int |
36 | Override the BIOS default temperature interrupt mode. | ||
30 | The only possible value is 0 which forces interrupt | 37 | The only possible value is 0 which forces interrupt |
31 | mode 0. In this mode, any pending interrupt is cleared | 38 | mode 0. In this mode, any pending interrupt is cleared |
32 | when the status register is read but is regenerated as | 39 | when the status register is read but is regenerated as |
@@ -55,8 +62,9 @@ connected to the PWM outputs of the VT1211 :-(). | |||
55 | The following table shows the relationship between the vt1211 inputs and the | 62 | The following table shows the relationship between the vt1211 inputs and the |
56 | sysfs nodes. | 63 | sysfs nodes. |
57 | 64 | ||
65 | =============== ============== =========== ================================ | ||
58 | Sensor Voltage Mode Temp Mode Default Use (from the datasheet) | 66 | Sensor Voltage Mode Temp Mode Default Use (from the datasheet) |
59 | ------ ------------ --------- -------------------------------- | 67 | =============== ============== =========== ================================ |
60 | Reading 1 temp1 Intel thermal diode | 68 | Reading 1 temp1 Intel thermal diode |
61 | Reading 3 temp2 Internal thermal diode | 69 | Reading 3 temp2 Internal thermal diode |
62 | UCH1/Reading2 in0 temp3 NTC type thermistor | 70 | UCH1/Reading2 in0 temp3 NTC type thermistor |
@@ -65,6 +73,7 @@ UCH3 in2 temp5 VccP (processor core) | |||
65 | UCH4 in3 temp6 +5V | 73 | UCH4 in3 temp6 +5V |
66 | UCH5 in4 temp7 +12V | 74 | UCH5 in4 temp7 +12V |
67 | +3.3V in5 Internal VCC (+3.3V) | 75 | +3.3V in5 Internal VCC (+3.3V) |
76 | =============== ============== =========== ================================ | ||
68 | 77 | ||
69 | 78 | ||
70 | Voltage Monitoring | 79 | Voltage Monitoring |
@@ -82,19 +91,22 @@ follows. And this is of course totally dependent on the actual board | |||
82 | implementation :-) You will have to find documentation for your own | 91 | implementation :-) You will have to find documentation for your own |
83 | motherboard and edit sensors.conf accordingly. | 92 | motherboard and edit sensors.conf accordingly. |
84 | 93 | ||
85 | Expected | 94 | ============= ====== ====== ========= ============ |
95 | Expected | ||
86 | Voltage R1 R2 Divider Raw Value | 96 | Voltage R1 R2 Divider Raw Value |
87 | ----------------------------------------------- | 97 | ============= ====== ====== ========= ============ |
88 | +2.5V 2K 10K 1.2 2083 mV | 98 | +2.5V 2K 10K 1.2 2083 mV |
89 | VccP --- --- 1.0 1400 mV (1) | 99 | VccP --- --- 1.0 1400 mV [1]_ |
90 | +5V 14K 10K 2.4 2083 mV | 100 | +5V 14K 10K 2.4 2083 mV |
91 | +12V 47K 10K 5.7 2105 mV | 101 | +12V 47K 10K 5.7 2105 mV |
92 | +3.3V (int) 2K 3.4K 1.588 3300 mV (2) | 102 | +3.3V (int) 2K 3.4K 1.588 3300 mV [2]_ |
93 | +3.3V (ext) 6.8K 10K 1.68 1964 mV | 103 | +3.3V (ext) 6.8K 10K 1.68 1964 mV |
104 | ============= ====== ====== ========= ============ | ||
105 | |||
106 | .. [1] Depending on the CPU (1.4V is for a VIA C3 Nehemiah). | ||
94 | 107 | ||
95 | (1) Depending on the CPU (1.4V is for a VIA C3 Nehemiah). | 108 | .. [2] R1 and R2 for 3.3V (int) are internal to the VT1211 chip and the driver |
96 | (2) R1 and R2 for 3.3V (int) are internal to the VT1211 chip and the driver | 109 | performs the scaling and returns the properly scaled voltage value. |
97 | performs the scaling and returns the properly scaled voltage value. | ||
98 | 110 | ||
99 | Each measured voltage has an associated low and high limit which triggers an | 111 | Each measured voltage has an associated low and high limit which triggers an |
100 | alarm when crossed. | 112 | alarm when crossed. |
@@ -124,35 +136,37 @@ compute temp1 (@-Offset)/Gain, (@*Gain)+Offset | |||
124 | According to the VIA VT1211 BIOS porting guide, the following gain and offset | 136 | According to the VIA VT1211 BIOS porting guide, the following gain and offset |
125 | values should be used: | 137 | values should be used: |
126 | 138 | ||
139 | =============== ======== =========== | ||
127 | Diode Type Offset Gain | 140 | Diode Type Offset Gain |
128 | ---------- ------ ---- | 141 | =============== ======== =========== |
129 | Intel CPU 88.638 0.9528 | 142 | Intel CPU 88.638 0.9528 |
130 | 65.000 0.9686 *) | 143 | 65.000 0.9686 [3]_ |
131 | VIA C3 Ezra 83.869 0.9528 | 144 | VIA C3 Ezra 83.869 0.9528 |
132 | VIA C3 Ezra-T 73.869 0.9528 | 145 | VIA C3 Ezra-T 73.869 0.9528 |
146 | =============== ======== =========== | ||
133 | 147 | ||
134 | *) This is the formula from the lm_sensors 2.10.0 sensors.conf file. I don't | 148 | .. [3] This is the formula from the lm_sensors 2.10.0 sensors.conf file. I don't |
135 | know where it comes from or how it was derived, it's just listed here for | 149 | know where it comes from or how it was derived, it's just listed here for |
136 | completeness. | 150 | completeness. |
137 | 151 | ||
138 | Temp3-temp7 support NTC thermistors. For these channels, the driver returns | 152 | Temp3-temp7 support NTC thermistors. For these channels, the driver returns |
139 | the voltages as seen at the individual pins of UCH1-UCH5. The voltage at the | 153 | the voltages as seen at the individual pins of UCH1-UCH5. The voltage at the |
140 | pin (Vpin) is formed by a voltage divider made of the thermistor (Rth) and a | 154 | pin (Vpin) is formed by a voltage divider made of the thermistor (Rth) and a |
141 | scaling resistor (Rs): | 155 | scaling resistor (Rs):: |
142 | 156 | ||
143 | Vpin = 2200 * Rth / (Rs + Rth) (2200 is the ADC max limit of 2200 mV) | 157 | Vpin = 2200 * Rth / (Rs + Rth) (2200 is the ADC max limit of 2200 mV) |
144 | 158 | ||
145 | The equation for the thermistor is as follows (google it if you want to know | 159 | The equation for the thermistor is as follows (google it if you want to know |
146 | more about it): | 160 | more about it):: |
147 | 161 | ||
148 | Rth = Ro * exp(B * (1 / T - 1 / To)) (To is 298.15K (25C) and Ro is the | 162 | Rth = Ro * exp(B * (1 / T - 1 / To)) (To is 298.15K (25C) and Ro is the |
149 | nominal resistance at 25C) | 163 | nominal resistance at 25C) |
150 | 164 | ||
151 | Mingling the above two equations and assuming Rs = Ro and B = 3435 yields the | 165 | Mingling the above two equations and assuming Rs = Ro and B = 3435 yields the |
152 | following formula for sensors.conf: | 166 | following formula for sensors.conf:: |
153 | 167 | ||
154 | compute tempx 1 / (1 / 298.15 - (` (2200 / @ - 1)) / 3435) - 273.15, | 168 | compute tempx 1 / (1 / 298.15 - (` (2200 / @ - 1)) / 3435) - 273.15, |
155 | 2200 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @)))) | 169 | 2200 / (1 + (^ (3435 / 298.15 - 3435 / (273.15 + @)))) |
156 | 170 | ||
157 | 171 | ||
158 | Fan Speed Control | 172 | Fan Speed Control |
@@ -176,31 +190,37 @@ registers in the VT1211 and programming one set is sufficient (actually only | |||
176 | the first set pwm1_auto_point[1-4]_temp is writable, the second set is | 190 | the first set pwm1_auto_point[1-4]_temp is writable, the second set is |
177 | read-only). | 191 | read-only). |
178 | 192 | ||
193 | ========================== ========================================= | ||
179 | PWM Auto Point PWM Output Duty-Cycle | 194 | PWM Auto Point PWM Output Duty-Cycle |
180 | ------------------------------------------------ | 195 | ========================== ========================================= |
181 | pwm[1-2]_auto_point4_pwm full speed duty-cycle (hard-wired to 255) | 196 | pwm[1-2]_auto_point4_pwm full speed duty-cycle (hard-wired to 255) |
182 | pwm[1-2]_auto_point3_pwm high speed duty-cycle | 197 | pwm[1-2]_auto_point3_pwm high speed duty-cycle |
183 | pwm[1-2]_auto_point2_pwm low speed duty-cycle | 198 | pwm[1-2]_auto_point2_pwm low speed duty-cycle |
184 | pwm[1-2]_auto_point1_pwm off duty-cycle (hard-wired to 0) | 199 | pwm[1-2]_auto_point1_pwm off duty-cycle (hard-wired to 0) |
200 | ========================== ========================================= | ||
185 | 201 | ||
202 | ========================== ================= | ||
186 | Temp Auto Point Thermal Threshold | 203 | Temp Auto Point Thermal Threshold |
187 | --------------------------------------------- | 204 | ========================== ================= |
188 | pwm[1-2]_auto_point4_temp full speed temp | 205 | pwm[1-2]_auto_point4_temp full speed temp |
189 | pwm[1-2]_auto_point3_temp high speed temp | 206 | pwm[1-2]_auto_point3_temp high speed temp |
190 | pwm[1-2]_auto_point2_temp low speed temp | 207 | pwm[1-2]_auto_point2_temp low speed temp |
191 | pwm[1-2]_auto_point1_temp off temp | 208 | pwm[1-2]_auto_point1_temp off temp |
209 | ========================== ================= | ||
192 | 210 | ||
193 | Long story short, the controller implements the following algorithm to set the | 211 | Long story short, the controller implements the following algorithm to set the |
194 | PWM output duty-cycle based on the input temperature: | 212 | PWM output duty-cycle based on the input temperature: |
195 | 213 | ||
196 | Thermal Threshold Output Duty-Cycle | 214 | =================== ======================= ======================== |
197 | (Rising Temp) (Falling Temp) | 215 | Thermal Threshold Output Duty-Cycle Output Duty-Cycle |
198 | ---------------------------------------------------------- | 216 | (Rising Temp) (Falling Temp) |
199 | full speed duty-cycle full speed duty-cycle | 217 | =================== ======================= ======================== |
218 | - full speed duty-cycle full speed duty-cycle | ||
200 | full speed temp | 219 | full speed temp |
201 | high speed duty-cycle full speed duty-cycle | 220 | - high speed duty-cycle full speed duty-cycle |
202 | high speed temp | 221 | high speed temp |
203 | low speed duty-cycle high speed duty-cycle | 222 | - low speed duty-cycle high speed duty-cycle |
204 | low speed temp | 223 | low speed temp |
205 | off duty-cycle low speed duty-cycle | 224 | - off duty-cycle low speed duty-cycle |
206 | off temp | 225 | off temp |
226 | =================== ======================= ======================== | ||