diff options
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 9 | ||||
-rw-r--r-- | Documentation/hwmon/f71805f | 56 | ||||
-rw-r--r-- | Documentation/hwmon/it87 | 15 | ||||
-rw-r--r-- | Documentation/hwmon/k8temp | 2 | ||||
-rw-r--r-- | Documentation/hwmon/pc87427 | 38 | ||||
-rw-r--r-- | Documentation/hwmon/sysfs-interface | 4 | ||||
-rw-r--r-- | Documentation/hwmon/w83627ehf | 2 | ||||
-rw-r--r-- | Documentation/hwmon/w83791d | 2 | ||||
-rw-r--r-- | Documentation/hwmon/w83793 | 110 |
9 files changed, 218 insertions, 20 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index 64ce44da5936..040f437c421b 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -151,15 +151,6 @@ Who: Thomas Gleixner <tglx@linutronix.de> | |||
151 | 151 | ||
152 | --------------------------- | 152 | --------------------------- |
153 | 153 | ||
154 | What: I2C interface of the it87 driver | ||
155 | When: January 2007 | ||
156 | Why: The ISA interface is faster and should be always available. The I2C | ||
157 | probing is also known to cause trouble in at least one case (see | ||
158 | bug #5889.) | ||
159 | Who: Jean Delvare <khali@linux-fr.org> | ||
160 | |||
161 | --------------------------- | ||
162 | |||
163 | What: Unused EXPORT_SYMBOL/EXPORT_SYMBOL_GPL exports | 154 | What: Unused EXPORT_SYMBOL/EXPORT_SYMBOL_GPL exports |
164 | (temporary transition config option provided until then) | 155 | (temporary transition config option provided until then) |
165 | The transition config option will also be removed at the same time. | 156 | The transition config option will also be removed at the same time. |
diff --git a/Documentation/hwmon/f71805f b/Documentation/hwmon/f71805f index 2ca69df669c3..bfd0f154959c 100644 --- a/Documentation/hwmon/f71805f +++ b/Documentation/hwmon/f71805f | |||
@@ -6,6 +6,10 @@ Supported chips: | |||
6 | Prefix: 'f71805f' | 6 | Prefix: 'f71805f' |
7 | Addresses scanned: none, address read from Super I/O config space | 7 | Addresses scanned: none, address read from Super I/O config space |
8 | Datasheet: Provided by Fintek on request | 8 | Datasheet: Provided by Fintek on request |
9 | * Fintek F71872F/FG | ||
10 | Prefix: 'f71872f' | ||
11 | Addresses scanned: none, address read from Super I/O config space | ||
12 | Datasheet: Provided by Fintek on request | ||
9 | 13 | ||
10 | Author: Jean Delvare <khali@linux-fr.org> | 14 | Author: Jean Delvare <khali@linux-fr.org> |
11 | 15 | ||
@@ -13,8 +17,8 @@ Thanks to Denis Kieft from Barracuda Networks for the donation of a | |||
13 | test system (custom Jetway K8M8MS motherboard, with CPU and RAM) and | 17 | test system (custom Jetway K8M8MS motherboard, with CPU and RAM) and |
14 | for providing initial documentation. | 18 | for providing initial documentation. |
15 | 19 | ||
16 | Thanks to Kris Chen from Fintek for answering technical questions and | 20 | Thanks to Kris Chen and Aaron Huang from Fintek for answering technical |
17 | providing additional documentation. | 21 | questions and providing additional documentation. |
18 | 22 | ||
19 | Thanks to Chris Lin from Jetway for providing wiring schematics and | 23 | Thanks to Chris Lin from Jetway for providing wiring schematics and |
20 | answering technical questions. | 24 | answering technical questions. |
@@ -28,8 +32,11 @@ capabilities. It can monitor up to 9 voltages (counting its own power | |||
28 | source), 3 fans and 3 temperature sensors. | 32 | source), 3 fans and 3 temperature sensors. |
29 | 33 | ||
30 | This chip also has fan controlling features, using either DC or PWM, in | 34 | This chip also has fan controlling features, using either DC or PWM, in |
31 | three different modes (one manual, two automatic). The driver doesn't | 35 | three different modes (one manual, two automatic). |
32 | support these features yet. | 36 | |
37 | The Fintek F71872F/FG Super I/O chip is almost the same, with two | ||
38 | additional internal voltages monitored (VSB and battery). It also features | ||
39 | 6 VID inputs. The VID inputs are not yet supported by this driver. | ||
33 | 40 | ||
34 | The driver assumes that no more than one chip is present, which seems | 41 | The driver assumes that no more than one chip is present, which seems |
35 | reasonable. | 42 | reasonable. |
@@ -42,7 +49,8 @@ Voltages are sampled by an 8-bit ADC with a LSB of 8 mV. The supported | |||
42 | range is thus from 0 to 2.040 V. Voltage values outside of this range | 49 | range is thus from 0 to 2.040 V. Voltage values outside of this range |
43 | need external resistors. An exception is in0, which is used to monitor | 50 | need external resistors. An exception is in0, which is used to monitor |
44 | the chip's own power source (+3.3V), and is divided internally by a | 51 | the chip's own power source (+3.3V), and is divided internally by a |
45 | factor 2. | 52 | factor 2. For the F71872F/FG, in9 (VSB) and in10 (battery) are also |
53 | divided internally by a factor 2. | ||
46 | 54 | ||
47 | The two LSB of the voltage limit registers are not used (always 0), so | 55 | The two LSB of the voltage limit registers are not used (always 0), so |
48 | you can only set the limits in steps of 32 mV (before scaling). | 56 | you can only set the limits in steps of 32 mV (before scaling). |
@@ -61,9 +69,12 @@ in5 VIN5 +12V 200K 20K 11.00 1.05 V | |||
61 | in6 VIN6 VCC1.5V 10K - 1.00 1.50 V | 69 | in6 VIN6 VCC1.5V 10K - 1.00 1.50 V |
62 | in7 VIN7 VCORE 10K - 1.00 ~1.40 V (1) | 70 | in7 VIN7 VCORE 10K - 1.00 ~1.40 V (1) |
63 | in8 VIN8 VSB5V 200K 47K 1.00 0.95 V | 71 | in8 VIN8 VSB5V 200K 47K 1.00 0.95 V |
72 | in10 VSB VSB3.3V int. int. 2.00 1.65 V (3) | ||
73 | in9 VBAT VBATTERY int. int. 2.00 1.50 V (3) | ||
64 | 74 | ||
65 | (1) Depends on your hardware setup. | 75 | (1) Depends on your hardware setup. |
66 | (2) Obviously not correct, swapping R1 and R2 would make more sense. | 76 | (2) Obviously not correct, swapping R1 and R2 would make more sense. |
77 | (3) F71872F/FG only. | ||
67 | 78 | ||
68 | These values can be used as hints at best, as motherboard manufacturers | 79 | These values can be used as hints at best, as motherboard manufacturers |
69 | are free to use a completely different setup. As a matter of fact, the | 80 | are free to use a completely different setup. As a matter of fact, the |
@@ -103,3 +114,38 @@ sensor. Each channel can be used for connecting either a thermal diode | |||
103 | or a thermistor. The driver reports the currently selected mode, but | 114 | or a thermistor. The driver reports the currently selected mode, but |
104 | doesn't allow changing it. In theory, the BIOS should have configured | 115 | doesn't allow changing it. In theory, the BIOS should have configured |
105 | everything properly. | 116 | everything properly. |
117 | |||
118 | |||
119 | Fan Control | ||
120 | ----------- | ||
121 | |||
122 | Both PWM (pulse-width modulation) and DC fan speed control methods are | ||
123 | supported. The right one to use depends on external circuitry on the | ||
124 | motherboard, so the driver assumes that the BIOS set the method | ||
125 | properly. The driver will report the method, but won't let you change | ||
126 | it. | ||
127 | |||
128 | When the PWM method is used, you can select the operating frequency, | ||
129 | from 187.5 kHz (default) to 31 Hz. The best frequency depends on the | ||
130 | fan model. As a rule of thumb, lower frequencies seem to give better | ||
131 | control, but may generate annoying high-pitch noise. Fintek recommends | ||
132 | not going below 1 kHz, as the fan tachometers get confused by lower | ||
133 | frequencies as well. | ||
134 | |||
135 | When the DC method is used, Fintek recommends not going below 5 V, which | ||
136 | corresponds to a pwm value of 106 for the driver. The driver doesn't | ||
137 | enforce this limit though. | ||
138 | |||
139 | Three different fan control modes are supported: | ||
140 | |||
141 | * Manual mode | ||
142 | You ask for a specific PWM duty cycle or DC voltage. | ||
143 | |||
144 | * Fan speed mode | ||
145 | You ask for a specific fan speed. This mode assumes that pwm1 | ||
146 | corresponds to fan1, pwm2 to fan2 and pwm3 to fan3. | ||
147 | |||
148 | * Temperature mode | ||
149 | You define 3 temperature/fan speed trip points, and the fan speed is | ||
150 | adjusted depending on the measured temperature, using interpolation. | ||
151 | This mode is not yet supported by the driver. | ||
diff --git a/Documentation/hwmon/it87 b/Documentation/hwmon/it87 index e783fd62e308..74a80992d237 100644 --- a/Documentation/hwmon/it87 +++ b/Documentation/hwmon/it87 | |||
@@ -9,8 +9,7 @@ Supported chips: | |||
9 | http://www.ite.com.tw/ | 9 | http://www.ite.com.tw/ |
10 | * IT8712F | 10 | * IT8712F |
11 | Prefix: 'it8712' | 11 | Prefix: 'it8712' |
12 | Addresses scanned: I2C 0x2d | 12 | Addresses scanned: from Super I/O config space (8 I/O ports) |
13 | from Super I/O config space (8 I/O ports) | ||
14 | Datasheet: Publicly available at the ITE website | 13 | Datasheet: Publicly available at the ITE website |
15 | http://www.ite.com.tw/ | 14 | http://www.ite.com.tw/ |
16 | * IT8716F | 15 | * IT8716F |
@@ -53,6 +52,18 @@ Module Parameters | |||
53 | misconfigured by BIOS - PWM values would be inverted. This option tries | 52 | misconfigured by BIOS - PWM values would be inverted. This option tries |
54 | to fix this. Please contact your BIOS manufacturer and ask him for fix. | 53 | to fix this. Please contact your BIOS manufacturer and ask him for fix. |
55 | 54 | ||
55 | |||
56 | Hardware Interfaces | ||
57 | ------------------- | ||
58 | |||
59 | All the chips suported by this driver are LPC Super-I/O chips, accessed | ||
60 | through the LPC bus (ISA-like I/O ports). The IT8712F additionally has an | ||
61 | SMBus interface to the hardware monitoring functions. This driver no | ||
62 | longer supports this interface though, as it is slower and less reliable | ||
63 | than the ISA access, and was only available on a small number of | ||
64 | motherboard models. | ||
65 | |||
66 | |||
56 | Description | 67 | Description |
57 | ----------- | 68 | ----------- |
58 | 69 | ||
diff --git a/Documentation/hwmon/k8temp b/Documentation/hwmon/k8temp index 30d123b8d920..0005c7166146 100644 --- a/Documentation/hwmon/k8temp +++ b/Documentation/hwmon/k8temp | |||
@@ -8,7 +8,7 @@ Supported chips: | |||
8 | Datasheet: http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf | 8 | Datasheet: http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/32559.pdf |
9 | 9 | ||
10 | Author: Rudolf Marek | 10 | Author: Rudolf Marek |
11 | Contact: Rudolf Marek <r.marek@sh.cvut.cz> | 11 | Contact: Rudolf Marek <r.marek@assembler.cz> |
12 | 12 | ||
13 | Description | 13 | Description |
14 | ----------- | 14 | ----------- |
diff --git a/Documentation/hwmon/pc87427 b/Documentation/hwmon/pc87427 new file mode 100644 index 000000000000..9a0708f9f49e --- /dev/null +++ b/Documentation/hwmon/pc87427 | |||
@@ -0,0 +1,38 @@ | |||
1 | Kernel driver pc87427 | ||
2 | ===================== | ||
3 | |||
4 | Supported chips: | ||
5 | * National Semiconductor PC87427 | ||
6 | Prefix: 'pc87427' | ||
7 | Addresses scanned: none, address read from Super I/O config space | ||
8 | Datasheet: http://www.winbond.com.tw/E-WINBONDHTM/partner/apc_007.html | ||
9 | |||
10 | Author: Jean Delvare <khali@linux-fr.org> | ||
11 | |||
12 | Thanks to Amir Habibi at Candelis for setting up a test system, and to | ||
13 | Michael Kress for testing several iterations of this driver. | ||
14 | |||
15 | |||
16 | Description | ||
17 | ----------- | ||
18 | |||
19 | The National Semiconductor Super I/O chip includes complete hardware | ||
20 | monitoring capabilities. It can monitor up to 18 voltages, 8 fans and | ||
21 | 6 temperature sensors. Only the fans are supported at the moment. | ||
22 | |||
23 | This chip also has fan controlling features, which are not yet supported | ||
24 | by this driver either. | ||
25 | |||
26 | The driver assumes that no more than one chip is present, which seems | ||
27 | reasonable. | ||
28 | |||
29 | |||
30 | Fan Monitoring | ||
31 | -------------- | ||
32 | |||
33 | Fan rotation speeds are reported as 14-bit values from a gated clock | ||
34 | signal. Speeds down to 83 RPM can be measured. | ||
35 | |||
36 | An alarm is triggered if the rotation speed drops below a programmable | ||
37 | limit. Another alarm is triggered if the speed is too low to to be measured | ||
38 | (including stalled or missing fan). | ||
diff --git a/Documentation/hwmon/sysfs-interface b/Documentation/hwmon/sysfs-interface index d1d390aaf620..efef3b962cd3 100644 --- a/Documentation/hwmon/sysfs-interface +++ b/Documentation/hwmon/sysfs-interface | |||
@@ -208,12 +208,14 @@ temp[1-*]_auto_point[1-*]_temp_hyst | |||
208 | **************** | 208 | **************** |
209 | 209 | ||
210 | temp[1-*]_type Sensor type selection. | 210 | temp[1-*]_type Sensor type selection. |
211 | Integers 1 to 4 or thermistor Beta value (typically 3435) | 211 | Integers 1 to 6 or thermistor Beta value (typically 3435) |
212 | RW | 212 | RW |
213 | 1: PII/Celeron Diode | 213 | 1: PII/Celeron Diode |
214 | 2: 3904 transistor | 214 | 2: 3904 transistor |
215 | 3: thermal diode | 215 | 3: thermal diode |
216 | 4: thermistor (default/unknown Beta) | 216 | 4: thermistor (default/unknown Beta) |
217 | 5: AMD AMDSI | ||
218 | 6: Intel PECI | ||
217 | Not all types are supported by all chips | 219 | Not all types are supported by all chips |
218 | 220 | ||
219 | temp[1-*]_max Temperature max value. | 221 | temp[1-*]_max Temperature max value. |
diff --git a/Documentation/hwmon/w83627ehf b/Documentation/hwmon/w83627ehf index caa610a297e8..8a15a7408753 100644 --- a/Documentation/hwmon/w83627ehf +++ b/Documentation/hwmon/w83627ehf | |||
@@ -10,7 +10,7 @@ Supported chips: | |||
10 | Authors: | 10 | Authors: |
11 | Jean Delvare <khali@linux-fr.org> | 11 | Jean Delvare <khali@linux-fr.org> |
12 | Yuan Mu (Winbond) | 12 | Yuan Mu (Winbond) |
13 | Rudolf Marek <r.marek@sh.cvut.cz> | 13 | Rudolf Marek <r.marek@assembler.cz> |
14 | 14 | ||
15 | Description | 15 | Description |
16 | ----------- | 16 | ----------- |
diff --git a/Documentation/hwmon/w83791d b/Documentation/hwmon/w83791d index 19b2ed739fa1..db9881df88a5 100644 --- a/Documentation/hwmon/w83791d +++ b/Documentation/hwmon/w83791d | |||
@@ -18,7 +18,7 @@ Credits: | |||
18 | and Mark Studebaker <mdsxyz123@yahoo.com> | 18 | and Mark Studebaker <mdsxyz123@yahoo.com> |
19 | w83792d.c: | 19 | w83792d.c: |
20 | Chunhao Huang <DZShen@Winbond.com.tw>, | 20 | Chunhao Huang <DZShen@Winbond.com.tw>, |
21 | Rudolf Marek <r.marek@sh.cvut.cz> | 21 | Rudolf Marek <r.marek@assembler.cz> |
22 | 22 | ||
23 | Additional contributors: | 23 | Additional contributors: |
24 | Sven Anders <anders@anduras.de> | 24 | Sven Anders <anders@anduras.de> |
diff --git a/Documentation/hwmon/w83793 b/Documentation/hwmon/w83793 new file mode 100644 index 000000000000..45e5408340e0 --- /dev/null +++ b/Documentation/hwmon/w83793 | |||
@@ -0,0 +1,110 @@ | |||
1 | Kernel driver w83793 | ||
2 | ==================== | ||
3 | |||
4 | Supported chips: | ||
5 | * Winbond W83793G/W83793R | ||
6 | Prefix: 'w83793' | ||
7 | Addresses scanned: I2C 0x2c - 0x2f | ||
8 | Datasheet: Still not published | ||
9 | |||
10 | Authors: | ||
11 | Yuan Mu (Winbond Electronics) | ||
12 | Rudolf Marek <r.marek@assembler.cz> | ||
13 | |||
14 | |||
15 | Module parameters | ||
16 | ----------------- | ||
17 | |||
18 | * reset int | ||
19 | (default 0) | ||
20 | This parameter is not recommended, it will lose motherboard specific | ||
21 | settings. Use 'reset=1' to reset the chip when loading this module. | ||
22 | |||
23 | * force_subclients=bus,caddr,saddr1,saddr2 | ||
24 | This is used to force the i2c addresses for subclients of | ||
25 | a certain chip. Typical usage is `force_subclients=0,0x2f,0x4a,0x4b' | ||
26 | to force the subclients of chip 0x2f on bus 0 to i2c addresses | ||
27 | 0x4a and 0x4b. | ||
28 | |||
29 | |||
30 | Description | ||
31 | ----------- | ||
32 | |||
33 | This driver implements support for Winbond W83793G/W83793R chips. | ||
34 | |||
35 | * Exported features | ||
36 | This driver exports 10 voltage sensors, up to 12 fan tachometer inputs, | ||
37 | 6 remote temperatures, up to 8 sets of PWM fan controls, SmartFan | ||
38 | (automatic fan speed control) on all temperature/PWM combinations, 2 | ||
39 | sets of 6-pin CPU VID input. | ||
40 | |||
41 | * Sensor resolutions | ||
42 | If your motherboard maker used the reference design, the resolution of | ||
43 | voltage0-2 is 2mV, resolution of voltage3/4/5 is 16mV, 8mV for voltage6, | ||
44 | 24mV for voltage7/8. Temp1-4 have a 0.25 degree Celsius resolution, | ||
45 | temp5-6 have a 1 degree Celsiis resolution. | ||
46 | |||
47 | * Temperature sensor types | ||
48 | Temp1-4 have 3 possible types. It can be read from (and written to) | ||
49 | temp[1-4]_type. | ||
50 | - If the value of 0, the related temperature channel stops | ||
51 | monitoring. | ||
52 | - If the value is 3, it starts monitoring using a remote termal diode | ||
53 | (default). | ||
54 | - If the value is 5, it starts monitoring using the temperature sensor | ||
55 | in AMD CPU and get result by AMDSI. | ||
56 | - If the value is 6, it starts monitoring using the temperature sensor | ||
57 | in Intel CPU and get result by PECI. | ||
58 | Temp5-6 can be connected to external thermistors (value of | ||
59 | temp[5-6]_type is 4). They can also be disabled (value is 0). | ||
60 | |||
61 | * Alarm mechanism | ||
62 | For voltage sensors, an alarm triggers if the measured value is below | ||
63 | the low voltage limit or over the high voltage limit. | ||
64 | For temperature sensors, an alarm triggers if the measured value goes | ||
65 | above the high temperature limit, and wears off only after the measured | ||
66 | value drops below the hysteresis value. | ||
67 | For fan sensors, an alarm triggers if the measured value is below the | ||
68 | low speed limit. | ||
69 | |||
70 | * SmartFan/PWM control | ||
71 | If you want to set a pwm fan to manual mode, you just need to make sure it | ||
72 | is not controlled by any temp channel, for example, you want to set fan1 | ||
73 | to manual mode, you need to check the value of temp[1-6]_fan_map, make | ||
74 | sure bit 0 is cleared in the 6 values. And then set the pwm1 value to | ||
75 | control the fan. | ||
76 | |||
77 | Each temperature channel can control all the 8 PWM outputs (by setting the | ||
78 | corresponding bit in tempX_fan_map), you can set the temperature channel | ||
79 | mode using temp[1-6]_pwm_enable, 2 is Thermal Cruise mode and 3 | ||
80 | is the SmartFanII mode. Temperature channels will try to speed up or | ||
81 | slow down all controlled fans, this means one fan can receive different | ||
82 | PWM value requests from different temperature channels, but the chip | ||
83 | will always pick the safest (max) PWM value for each fan. | ||
84 | |||
85 | In Thermal Cruise mode, the chip attempts to keep the temperature at a | ||
86 | predefined value, within a tolerance margin. So if tempX_input > | ||
87 | thermal_cruiseX + toleranceX, the chip will increase the PWM value, | ||
88 | if tempX_input < thermal_cruiseX - toleranceX, the chip will decrease | ||
89 | the PWM value. If the temperature is within the tolerance range, the PWM | ||
90 | value is left unchanged. | ||
91 | |||
92 | SmartFanII works differently, you have to define up to 7 PWM, temperature | ||
93 | trip points, defining a PWM/temperature curve which the chip will follow. | ||
94 | While not fundamentally different from the Thermal Cruise mode, the | ||
95 | implementation is quite different, giving you a finer-grained control. | ||
96 | |||
97 | * Chassis | ||
98 | If the case open alarm triggers, it will stay in this state unless cleared | ||
99 | by any write to the sysfs file "chassis". | ||
100 | |||
101 | * VID and VRM | ||
102 | The VRM version is detected automatically, don't modify the it unless you | ||
103 | *do* know the cpu VRM version and it's not properly detected. | ||
104 | |||
105 | |||
106 | Notes | ||
107 | ----- | ||
108 | |||
109 | Only Fan1-5 and PWM1-3 are guaranteed to always exist, other fan inputs and | ||
110 | PWM outputs may or may not exist depending on the chip pin configuration. | ||