diff options
Diffstat (limited to 'Documentation/hwmon/lm85')
-rw-r--r-- | Documentation/hwmon/lm85 | 72 |
1 files changed, 47 insertions, 25 deletions
diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85 index b98e0e0d1910..7c49feaa79d2 100644 --- a/Documentation/hwmon/lm85 +++ b/Documentation/hwmon/lm85 | |||
@@ -14,6 +14,10 @@ Supported chips: | |||
14 | Prefix: 'adt7463' | 14 | Prefix: 'adt7463' |
15 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | 15 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e |
16 | Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7463 | 16 | Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7463 |
17 | * Analog Devices ADT7468 | ||
18 | Prefix: 'adt7468' | ||
19 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | ||
20 | Datasheet: http://www.onsemi.com/PowerSolutions/product.do?id=ADT7468 | ||
17 | * SMSC EMC6D100, SMSC EMC6D101 | 21 | * SMSC EMC6D100, SMSC EMC6D101 |
18 | Prefix: 'emc6d100' | 22 | Prefix: 'emc6d100' |
19 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | 23 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e |
@@ -22,6 +26,14 @@ Supported chips: | |||
22 | Prefix: 'emc6d102' | 26 | Prefix: 'emc6d102' |
23 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | 27 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e |
24 | Datasheet: http://www.smsc.com/main/catalog/emc6d102.html | 28 | Datasheet: http://www.smsc.com/main/catalog/emc6d102.html |
29 | * SMSC EMC6D103 | ||
30 | Prefix: 'emc6d103' | ||
31 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | ||
32 | Datasheet: http://www.smsc.com/main/catalog/emc6d103.html | ||
33 | * SMSC EMC6D103S | ||
34 | Prefix: 'emc6d103s' | ||
35 | Addresses scanned: I2C 0x2c, 0x2d, 0x2e | ||
36 | Datasheet: http://www.smsc.com/main/catalog/emc6d103s.html | ||
25 | 37 | ||
26 | Authors: | 38 | Authors: |
27 | Philip Pokorny <ppokorny@penguincomputing.com>, | 39 | Philip Pokorny <ppokorny@penguincomputing.com>, |
@@ -34,7 +46,7 @@ Description | |||
34 | ----------- | 46 | ----------- |
35 | 47 | ||
36 | This driver implements support for the National Semiconductor LM85 and | 48 | This driver implements support for the National Semiconductor LM85 and |
37 | compatible chips including the Analog Devices ADM1027, ADT7463 and | 49 | compatible chips including the Analog Devices ADM1027, ADT7463, ADT7468 and |
38 | SMSC EMC6D10x chips family. | 50 | SMSC EMC6D10x chips family. |
39 | 51 | ||
40 | The LM85 uses the 2-wire interface compatible with the SMBUS 2.0 | 52 | The LM85 uses the 2-wire interface compatible with the SMBUS 2.0 |
@@ -87,14 +99,22 @@ To smooth the response of fans to changes in temperature, the LM85 has an | |||
87 | optional filter for smoothing temperatures. The ADM1027 has the same | 99 | optional filter for smoothing temperatures. The ADM1027 has the same |
88 | config option but uses it to rate limit the changes to fan speed instead. | 100 | config option but uses it to rate limit the changes to fan speed instead. |
89 | 101 | ||
90 | The ADM1027 and ADT7463 have a 10-bit ADC and can therefore measure | 102 | The ADM1027, ADT7463 and ADT7468 have a 10-bit ADC and can therefore |
91 | temperatures with 0.25 degC resolution. They also provide an offset to the | 103 | measure temperatures with 0.25 degC resolution. They also provide an offset |
92 | temperature readings that is automatically applied during measurement. | 104 | to the temperature readings that is automatically applied during |
93 | This offset can be used to zero out any errors due to traces and placement. | 105 | measurement. This offset can be used to zero out any errors due to traces |
94 | The documentation says that the offset is in 0.25 degC steps, but in | 106 | and placement. The documentation says that the offset is in 0.25 degC |
95 | initial testing of the ADM1027 it was 1.00 degC steps. Analog Devices has | 107 | steps, but in initial testing of the ADM1027 it was 1.00 degC steps. Analog |
96 | confirmed this "bug". The ADT7463 is reported to work as described in the | 108 | Devices has confirmed this "bug". The ADT7463 is reported to work as |
97 | documentation. The current lm85 driver does not show the offset register. | 109 | described in the documentation. The current lm85 driver does not show the |
110 | offset register. | ||
111 | |||
112 | The ADT7468 has a high-frequency PWM mode, where all PWM outputs are | ||
113 | driven by a 22.5 kHz clock. This is a global mode, not per-PWM output, | ||
114 | which means that setting any PWM frequency above 11.3 kHz will switch | ||
115 | all 3 PWM outputs to a 22.5 kHz frequency. Conversely, setting any PWM | ||
116 | frequency below 11.3 kHz will switch all 3 PWM outputs to a frequency | ||
117 | between 10 and 100 Hz, which can then be tuned separately. | ||
98 | 118 | ||
99 | See the vendor datasheets for more information. There is application note | 119 | See the vendor datasheets for more information. There is application note |
100 | from National (AN-1260) with some additional information about the LM85. | 120 | from National (AN-1260) with some additional information about the LM85. |
@@ -110,9 +130,11 @@ to be register compatible. The EMC6D100 offers all the features of the | |||
110 | EMC6D101 plus additional voltage monitoring and system control features. | 130 | EMC6D101 plus additional voltage monitoring and system control features. |
111 | Unfortunately it is not possible to distinguish between the package | 131 | Unfortunately it is not possible to distinguish between the package |
112 | versions on register level so these additional voltage inputs may read | 132 | versions on register level so these additional voltage inputs may read |
113 | zero. The EMC6D102 features addtional ADC bits thus extending precision | 133 | zero. EMC6D102 and EMC6D103 feature additional ADC bits thus extending precision |
114 | of voltage and temperature channels. | 134 | of voltage and temperature channels. |
115 | 135 | ||
136 | SMSC EMC6D103S is similar to EMC6D103, but does not support pwm#_auto_pwm_minctl | ||
137 | and temp#_auto_temp_off. | ||
116 | 138 | ||
117 | Hardware Configurations | 139 | Hardware Configurations |
118 | ----------------------- | 140 | ----------------------- |
@@ -125,17 +147,17 @@ datasheet for a complete description of the differences. Other than | |||
125 | identifying the chip, the driver behaves no differently with regard to | 147 | identifying the chip, the driver behaves no differently with regard to |
126 | these two chips. The LM85B is recommended for new designs. | 148 | these two chips. The LM85B is recommended for new designs. |
127 | 149 | ||
128 | The ADM1027 and ADT7463 chips have an optional SMBALERT output that can be | 150 | The ADM1027, ADT7463 and ADT7468 chips have an optional SMBALERT output |
129 | used to signal the chipset in case a limit is exceeded or the temperature | 151 | that can be used to signal the chipset in case a limit is exceeded or the |
130 | sensors fail. Individual sensor interrupts can be masked so they won't | 152 | temperature sensors fail. Individual sensor interrupts can be masked so |
131 | trigger SMBALERT. The SMBALERT output if configured replaces one of the other | 153 | they won't trigger SMBALERT. The SMBALERT output if configured replaces one |
132 | functions (PWM2 or IN0). This functionality is not implemented in current | 154 | of the other functions (PWM2 or IN0). This functionality is not implemented |
133 | driver. | 155 | in current driver. |
134 | 156 | ||
135 | The ADT7463 also has an optional THERM output/input which can be connected | 157 | The ADT7463 and ADT7468 also have an optional THERM output/input which can |
136 | to the processor PROC_HOT output. If available, the autofan control | 158 | be connected to the processor PROC_HOT output. If available, the autofan |
137 | dynamic Tmin feature can be enabled to keep the system temperature within | 159 | control dynamic Tmin feature can be enabled to keep the system temperature |
138 | spec (just?!) with the least possible fan noise. | 160 | within spec (just?!) with the least possible fan noise. |
139 | 161 | ||
140 | Configuration Notes | 162 | Configuration Notes |
141 | ------------------- | 163 | ------------------- |
@@ -201,8 +223,8 @@ the temperatures to compensate for systemic errors in the | |||
201 | measurements. These features are not currently supported by the lm85 | 223 | measurements. These features are not currently supported by the lm85 |
202 | driver. | 224 | driver. |
203 | 225 | ||
204 | In addition to the ADM1027 features, the ADT7463 also has Tmin control | 226 | In addition to the ADM1027 features, the ADT7463 and ADT7468 also have |
205 | and THERM asserted counts. Automatic Tmin control acts to adjust the | 227 | Tmin control and THERM asserted counts. Automatic Tmin control acts to |
206 | Tmin value to maintain the measured temperature sensor at a specified | 228 | adjust the Tmin value to maintain the measured temperature sensor at a |
207 | temperature. There isn't much documentation on this feature in the | 229 | specified temperature. There isn't much documentation on this feature in |
208 | ADT7463 data sheet. This is not supported by current driver. | 230 | the ADT7463 data sheet. This is not supported by current driver. |