hwmon: (adt7475) Voltage attenuators can be bypassed
[deliverable/linux.git] / Documentation / hwmon / adt7475
CommitLineData
f890c6a3
JD
1Kernel driver adt7475
2=====================
3
4Supported chips:
5 * Analog Devices ADT7473
6 Prefix: 'adt7473'
7 Addresses scanned: I2C 0x2C, 0x2D, 0x2E
8 Datasheet: Publicly available at the On Semiconductors website
9 * Analog Devices ADT7475
10 Prefix: 'adt7475'
11 Addresses scanned: I2C 0x2E
12 Datasheet: Publicly available at the On Semiconductors website
3d849981
JD
13 * Analog Devices ADT7490
14 Prefix: 'adt7490'
15 Addresses scanned: I2C 0x2C, 0x2D, 0x2E
16 Datasheet: Publicly available at the On Semiconductors website
f890c6a3
JD
17
18Authors:
19 Jordan Crouse
20 Hans de Goede
21 Darrick J. Wong (documentation)
3d849981 22 Jean Delvare
f890c6a3
JD
23
24
25Description
26-----------
27
3d849981
JD
28This driver implements support for the Analog Devices ADT7473, ADT7475 and
29ADT7490 chip family. The ADT7473 and ADT7475 differ only in minor details.
30The ADT7490 has additional features, including extra voltage measurement
31inputs and PECI support. All the supported chips will be collectively
32designed by the name "ADT747x" in the rest of this document.
f890c6a3
JD
33
34The ADT747x uses the 2-wire interface compatible with the SMBus 2.0
35specification. Using an analog to digital converter it measures three (3)
3d849981
JD
36temperatures and two (2) or more voltages. It has four (4) 16-bit counters
37for measuring fan speed. There are three (3) PWM outputs that can be used
f890c6a3
JD
38to control fan speed.
39
40A sophisticated control system for the PWM outputs is designed into the
41ADT747x that allows fan speed to be adjusted automatically based on any of the
42three temperature sensors. Each PWM output is individually adjustable and
43programmable. Once configured, the ADT747x will adjust the PWM outputs in
44response to the measured temperatures without further host intervention.
45This feature can also be disabled for manual control of the PWM's.
46
47Each of the measured inputs (voltage, temperature, fan speed) has
48corresponding high/low limit values. The ADT747x will signal an ALARM if
49any measured value exceeds either limit.
50
51The ADT747x samples all inputs continuously. The driver will not read
52the registers more often than once every other second. Further,
53configuration data is only read once per minute.
54
3d849981
JD
55Chip Differences Summary
56------------------------
57
58ADT7473:
59 * 2 voltage inputs
60 * system acoustics optimizations (not implemented)
61
62ADT7475:
63 * 2 voltage inputs
64
65ADT7490:
66 * 6 voltage inputs
67 * 1 Imon input (not implemented)
68 * PECI support (not implemented)
69 * 2 GPIO pins (not implemented)
70 * system acoustics optimizations (not implemented)
71
f890c6a3
JD
72Special Features
73----------------
74
75The ADT747x has a 10-bit ADC and can therefore measure temperatures
76with a resolution of 0.25 degree Celsius. Temperature readings can be
77configured either for two's complement format or "Offset 64" format,
78wherein 64 is subtracted from the raw value to get the temperature value.
79
80The datasheet is very detailed and describes a procedure for determining
81an optimal configuration for the automatic PWM control.
82
83Fan Speed Control
84-----------------
85
86The driver exposes two trip points per PWM channel.
87
88point1: Set the PWM speed at the lower temperature bound
89point2: Set the PWM speed at the higher temperature bound
90
91The ADT747x will scale the PWM linearly between the lower and higher PWM
92speed when the temperature is between the two temperature boundaries.
93Temperature boundaries are associated to temperature channels rather than
94PWM outputs, and a given PWM output can be controlled by several temperature
95channels. As a result, the ADT747x may compute more than one PWM value
96for a channel at a given time, in which case the maximum value (fastest
97fan speed) is applied. PWM values range from 0 (off) to 255 (full speed).
98
99Fan speed may be set to maximum when the temperature sensor associated with
100the PWM control exceeds temp#_max.
101
102Notes
103-----
104
105The nVidia binary driver presents an ADT7473 chip via an on-card i2c bus.
106Unfortunately, they fail to set the i2c adapter class, so this driver may
107fail to find the chip until the nvidia driver is patched.
This page took 0.027444 seconds and 5 git commands to generate.