5 Andigilog aSC7621 and aSC7621a
7 Addresses scanned: I2C 0x2c, 0x2d, 0x2e
8 Datasheet: http://www.fairview5.com/linux/asc7621/asc7621.pdf
13 Description provided by Dave Pivin @ Andigilog:
15 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as
16 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has
17 added PECI and a 4th thermal zone. The Andigilog aSC7611 is the
18 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in
19 volume production, shipping to Intel and their subs.
21 We have enhanced both parts relative to the governing Intel
22 specification. First enhancement is temperature reading resolution. We
23 have used registers below 20h for vendor-specific functions in addition
24 to those in the Intel-specified vendor range.
26 Our conversion process produces a result that is reported as two bytes.
27 The fan speed control uses this finer value to produce a "step-less" fan
28 PWM output. These two bytes are "read-locked" to guarantee that once a
29 high or low byte is read, the other byte is locked-in until after the
30 next read of any register. So to get an atomic reading, read high or low
31 byte, then the very next read should be the opposite byte. Our data
32 sheet says 10-bits of resolution, although you may find the lower bits
33 are active, they are not necessarily reliable or useful externally. We
34 chose not to mask them.
36 We employ significant filtering that is user tunable as described in the
37 data sheet. Our temperature reports and fan PWM outputs are very smooth
38 when compared to the competition, in addition to the higher resolution
39 temperature reports. The smoother PWM output does not require user
42 We offer GPIO features on the former VID pins. These are open-drain
43 outputs or inputs and may be used as general purpose I/O or as alarm
44 outputs that are based on temperature limits. These are in 19h and 1Ah.
46 We offer flexible mapping of temperature readings to thermal zones. Any
47 temperature may be mapped to any zone, which has a default assignment
48 that follows Intel's specs.
50 Since there is a fan to zone assignment that allows for the "hotter" of
51 a set of zones to control the PWM of an individual fan, but there is no
52 indication to the user, we have added an indicator that shows which zone
53 is currently controlling the PWM for a given fan. This is in register
56 Both remote diode temperature readings may be given an offset value such
57 that the reported reading as well as the temperature used to determine
58 PWM may be offset for system calibration purposes.
60 PECI Extended configuration allows for having more than two domains per
61 PECI address and also provides an enabling function for each PECI
62 address. One could use our flexible zone assignment to have a zone
63 assigned to up to 4 PECI addresses. This is not possible in the default
64 Intel configuration. This would be useful in multi-CPU systems with
65 individual fans on each that would benefit from individual fan control.
66 This is in register 0Eh.
68 The tachometer measurement system is flexible and able to adapt to many
69 fan types. We can also support pulse-stretched PWM so that 3-wire fans
70 may be used. These characteristics are in registers 04h to 07h.
72 Finally, we have added a tach disable function that turns off the tach
73 measurement system for individual tachs in order to save power. That is
77 aSC7621 Product Description
79 The aSC7621 has a two wire digital interface compatible with SMBus 2.0.
80 Using a 10-bit ADC, the aSC7621 measures the temperature of two remote diode
81 connected transistors as well as its own die. Support for Platform
82 Environmental Control Interface (PECI) is included.
84 Using temperature information from these four zones, an automatic fan speed
85 control algorithm is employed to minimize acoustic impact while achieving
86 recommended CPU temperature under varying operational loads.
88 To set fan speed, the aSC7621 has three independent pulse width modulation
89 (PWM) outputs that are controlled by one, or a combination of three,
90 temperature zones. Both high- and low-frequency PWM ranges are supported.
92 The aSC7621 also includes a digital filter that can be invoked to smooth
93 temperature readings for better control of fan speed and minimum acoustic
96 The aSC7621 has tachometer inputs to measure fan speed on up to four fans.
97 Limit and status registers for all measured values are included to alert
98 the system host that any measurements are outside of programmed limits
101 System voltages of VCCP, 2.5V, 3.3V, 5.0V, and 12V motherboard power are
102 monitored efficiently with internal scaling resistors.
105 - Supports PECI interface and monitors internal and remote thermal diodes
106 - 2-wire, SMBus 2.0 compliant, serial interface
108 - Monitors VCCP, 2.5V, 3.3V, 5.0V, and 12V motherboard/processor supplies
109 - Programmable autonomous fan control based on temperature readings
110 - Noise filtering of temperature reading for fan speed control
111 - 0.25C digital temperature sensor resolution
112 - 3 PWM fan speed control outputs for 2-, 3- or 4-wire fans and up to 4 fan
114 - Enhanced measured temperature to Temperature Zone assignment.
115 - Provides high and low PWM frequency ranges
116 - 3 GPIO pins for custom use
117 - 24-Lead QSOP package
122 Except where noted below, the sysfs entries created by this driver follow
123 the standards defined in "sysfs-interface".
126 0 (default) peci_legacy = 0, Remote 1 Temperature
127 peci_legacy = 1, PECI Processor Temperature 0
128 1 Remote 1 Temperature
129 2 Remote 2 Temperature
130 3 Internal Temperature
131 4 PECI Processor Temperature 0
132 5 PECI Processor Temperature 1
133 6 PECI Processor Temperature 2
134 7 PECI Processor Temperature 3
137 0 (default) Internal Temperature
138 1 Remote 1 Temperature
139 2 Remote 2 Temperature
140 3 Internal Temperature
141 4 PECI Processor Temperature 0
142 5 PECI Processor Temperature 1
143 6 PECI Processor Temperature 2
144 7 PECI Processor Temperature 3
147 0 (default) Remote 2 Temperature
148 1 Remote 1 Temperature
149 2 Remote 2 Temperature
150 3 Internal Temperature
151 4 PECI Processor Temperature 0
152 5 PECI Processor Temperature 1
153 6 PECI Processor Temperature 2
154 7 PECI Processor Temperature 3
157 0 (default) peci_legacy = 0, PECI Processor Temperature 0
158 peci_legacy = 1, Remote 1 Temperature
159 1 Remote 1 Temperature
160 2 Remote 2 Temperature
161 3 Internal Temperature
162 4 PECI Processor Temperature 0
163 5 PECI Processor Temperature 1
164 6 PECI Processor Temperature 2
165 7 PECI Processor Temperature 3
167 temp[1-4]_smoothing_enable
168 temp[1-4]_smoothing_time
169 Smooths spikes in temp readings caused by noise.
170 Valid values in milliseconds are:
181 When the corresponding zone temperature reaches this value,
182 ALL pwm outputs will got to 100%.
186 The aSC7621 can also read temperatures provided by the processor
187 via the PECI bus. Usually these are "core" temps and are relative
188 to the point where the automatic thermal control circuit starts
189 throttling. This means that these are usually negative numbers.
193 1 Fan on manual control.
194 2 Fan on automatic control and will run at the minimum pwm
195 if the temperature for the zone is below the minimum.
196 3 Fan on automatic control but will be off if the temperature
197 for the zone is below the minimum.
201 pwm[1-3]_auto_channels
202 Bitmap as described in sysctl-interface with the following
204 Only the following combination of zones (and their corresponding masks)
216 16 Fan on manual control.
221 When set, inverts the meaning of pwm[1-3].
222 i.e. when pwm = 0, the fan will be on full and
223 when pwm = 255 the fan will be off.
227 Valid values in Hz are:
246 Setting any other value will be ignored.
249 Enables or disables PECI
252 Input filter average time.
254 0 0 Sec. (no Smoothing) (default)
265 0 Standard Mode (default)
266 Remote Diode 1 reading is associated with
267 Temperature Zone 1, PECI is associated with
271 PECI is associated with Temperature Zone 1,
272 Remote Diode 1 is associated with Zone 4
289 0 1 or 2 Domains for enabled processors (default)
290 1 3 or 4 Domains for enabled processors
295 0 Processor contains a single domain (0) (default)
296 1 Processor contains two domains (0,1)