Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (lm85) Document the ADT7468 as supported

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>

authored by

Jean Delvare and committed by
Jean Delvare
c36364db fa7a5797

+31 -25
+29 -24
Documentation/hwmon/lm85
··· 14 14 Prefix: 'adt7463' 15 15 Addresses scanned: I2C 0x2c, 0x2d, 0x2e 16 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 21 * SMSC EMC6D100, SMSC EMC6D101 18 22 Prefix: 'emc6d100' 19 23 Addresses scanned: I2C 0x2c, 0x2d, 0x2e ··· 38 34 ----------- 39 35 40 36 This driver implements support for the National Semiconductor LM85 and 41 - compatible chips including the Analog Devices ADM1027, ADT7463 and 37 + compatible chips including the Analog Devices ADM1027, ADT7463, ADT7468 and 42 38 SMSC EMC6D10x chips family. 43 39 44 40 The LM85 uses the 2-wire interface compatible with the SMBUS 2.0 ··· 91 87 optional filter for smoothing temperatures. The ADM1027 has the same 92 88 config option but uses it to rate limit the changes to fan speed instead. 93 89 94 - The ADM1027 and ADT7463 have a 10-bit ADC and can therefore measure 95 - temperatures with 0.25 degC resolution. They also provide an offset to the 96 - temperature readings that is automatically applied during measurement. 97 - This offset can be used to zero out any errors due to traces and placement. 98 - The documentation says that the offset is in 0.25 degC steps, but in 99 - initial testing of the ADM1027 it was 1.00 degC steps. Analog Devices has 100 - confirmed this "bug". The ADT7463 is reported to work as described in the 101 - documentation. The current lm85 driver does not show the offset register. 90 + The ADM1027, ADT7463 and ADT7468 have a 10-bit ADC and can therefore 91 + measure temperatures with 0.25 degC resolution. They also provide an offset 92 + to the temperature readings that is automatically applied during 93 + measurement. This offset can be used to zero out any errors due to traces 94 + and placement. The documentation says that the offset is in 0.25 degC 95 + steps, but in initial testing of the ADM1027 it was 1.00 degC steps. Analog 96 + Devices has confirmed this "bug". The ADT7463 is reported to work as 97 + described in the documentation. The current lm85 driver does not show the 98 + offset register. 102 99 103 100 See the vendor datasheets for more information. There is application note 104 101 from National (AN-1260) with some additional information about the LM85. ··· 130 125 identifying the chip, the driver behaves no differently with regard to 131 126 these two chips. The LM85B is recommended for new designs. 132 127 133 - The ADM1027 and ADT7463 chips have an optional SMBALERT output that can be 134 - used to signal the chipset in case a limit is exceeded or the temperature 135 - sensors fail. Individual sensor interrupts can be masked so they won't 136 - trigger SMBALERT. The SMBALERT output if configured replaces one of the other 137 - functions (PWM2 or IN0). This functionality is not implemented in current 138 - driver. 128 + The ADM1027, ADT7463 and ADT7468 chips have an optional SMBALERT output 129 + that can be used to signal the chipset in case a limit is exceeded or the 130 + temperature sensors fail. Individual sensor interrupts can be masked so 131 + they won't trigger SMBALERT. The SMBALERT output if configured replaces one 132 + of the other functions (PWM2 or IN0). This functionality is not implemented 133 + in current driver. 139 134 140 - The ADT7463 also has an optional THERM output/input which can be connected 141 - to the processor PROC_HOT output. If available, the autofan control 142 - dynamic Tmin feature can be enabled to keep the system temperature within 143 - spec (just?!) with the least possible fan noise. 135 + The ADT7463 and ADT7468 also have an optional THERM output/input which can 136 + be connected to the processor PROC_HOT output. If available, the autofan 137 + control dynamic Tmin feature can be enabled to keep the system temperature 138 + within spec (just?!) with the least possible fan noise. 144 139 145 140 Configuration Notes 146 141 ------------------- ··· 206 201 measurements. These features are not currently supported by the lm85 207 202 driver. 208 203 209 - In addition to the ADM1027 features, the ADT7463 also has Tmin control 210 - and THERM asserted counts. Automatic Tmin control acts to adjust the 211 - Tmin value to maintain the measured temperature sensor at a specified 212 - temperature. There isn't much documentation on this feature in the 213 - ADT7463 data sheet. This is not supported by current driver. 204 + In addition to the ADM1027 features, the ADT7463 and ADT7468 also have 205 + Tmin control and THERM asserted counts. Automatic Tmin control acts to 206 + adjust the Tmin value to maintain the measured temperature sensor at a 207 + specified temperature. There isn't much documentation on this feature in 208 + the ADT7463 data sheet. This is not supported by current driver.
+2 -1
drivers/hwmon/Kconfig
··· 565 565 select HWMON_VID 566 566 help 567 567 If you say yes here you get support for National Semiconductor LM85 568 - sensor chips and clones: ADT7463, EMC6D100, EMC6D102 and ADM1027. 568 + sensor chips and clones: ADM1027, ADT7463, ADT7468, EMC6D100, 569 + EMC6D101 and EMC6D102. 569 570 570 571 This driver can also be built as a module. If so, the module 571 572 will be called lm85.