root/lm-sensors/trunk/lib/chips.h @ 3271

Revision 3271, 86.4 KB (checked in by ruik, 7 years ago)

Add the W83627EHF Voltages and voltage alarms support

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2    chips.h - Part of libsensors, a Linux library for reading sensor data.
3    Copyright (c) 1998, 1999  Frodo Looijaard <frodol@dds.nl>
4
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9
10    This program is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13    GNU General Public License for more details.
14
15    You should have received a copy of the GNU General Public License
16    along with this program; if not, write to the Free Software
17    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18*/
19
20/* This files contains, for each type of chip, the kind of values you can
21   read and write. The actual value of each define is completely arbitrary,
22   as long as, for one specific chip, each defined value is unique. I tried
23   to give similar features similar values, but you can't trust that.
24   Some entries are very alike (for example the LM78, LM78-J and LM79
25   defines). Where documented, you can mix the defines. If chip prefixes
26   are different, they get their own entry. */
27
28/* If you add a chip here, do not forget to add the entry in chips.c too.
29   Other than that (and a recompile, and a bump up of the library number
30   for shared libs) nothing should need to be done to support new chips. */
31
32
33/* LM78 chips */
34
35#ifndef LIB_SENSORS_CHIPS_H
36#define LIB_SENSORS_CHIPS_H
37
38#define SENSORS_LM78_PREFIX "lm78"
39
40#define SENSORS_LM78_IN0 1 /* R */
41#define SENSORS_LM78_IN1 2 /* R */
42#define SENSORS_LM78_IN2 3 /* R */
43#define SENSORS_LM78_IN3 4 /* R */
44#define SENSORS_LM78_IN4 5 /* R */
45#define SENSORS_LM78_IN5 6 /* R */
46#define SENSORS_LM78_IN6 7 /* R */
47#define SENSORS_LM78_IN0_MIN 11 /* RW */
48#define SENSORS_LM78_IN1_MIN 12 /* RW */
49#define SENSORS_LM78_IN2_MIN 13 /* RW */
50#define SENSORS_LM78_IN3_MIN 14 /* RW */
51#define SENSORS_LM78_IN4_MIN 15 /* RW */
52#define SENSORS_LM78_IN5_MIN 16 /* RW */
53#define SENSORS_LM78_IN6_MIN 17 /* RW */
54#define SENSORS_LM78_IN0_MAX 21 /* RW */
55#define SENSORS_LM78_IN1_MAX 22 /* RW */
56#define SENSORS_LM78_IN2_MAX 23 /* RW */
57#define SENSORS_LM78_IN3_MAX 24 /* RW */
58#define SENSORS_LM78_IN4_MAX 25 /* RW */
59#define SENSORS_LM78_IN5_MAX 26 /* RW */
60#define SENSORS_LM78_IN6_MAX 27 /* RW */
61#define SENSORS_LM78_FAN1 31 /* R */
62#define SENSORS_LM78_FAN2 32 /* R */
63#define SENSORS_LM78_FAN3 33 /* R */
64#define SENSORS_LM78_FAN1_MIN 41 /* RW */
65#define SENSORS_LM78_FAN2_MIN 42 /* RW */
66#define SENSORS_LM78_FAN3_MIN 43 /* RW */
67#define SENSORS_LM78_TEMP 51 /* R */
68#define SENSORS_LM78_TEMP_HYST 52 /* RW */
69#define SENSORS_LM78_TEMP_OVER 53 /* RW */
70#define SENSORS_LM78_VID 61 /* R */
71#define SENSORS_LM78_FAN1_DIV 71 /* RW */
72#define SENSORS_LM78_FAN2_DIV 72 /* RW */
73#define SENSORS_LM78_FAN3_DIV 73 /* R (yes, really! */
74#define SENSORS_LM78_ALARMS 81 /* R */
75
76
77/* LM78-J chips. It is actually safe to use the LM78 defines instead, but it
78   is better practice to use these. */
79
80#define SENSORS_LM78J_PREFIX "lm78-j"
81
82#define SENSORS_LM78J_IN0 1 /* R */
83#define SENSORS_LM78J_IN1 2 /* R */
84#define SENSORS_LM78J_IN2 3 /* R */
85#define SENSORS_LM78J_IN3 4 /* R */
86#define SENSORS_LM78J_IN4 5 /* R */
87#define SENSORS_LM78J_IN5 6 /* R */
88#define SENSORS_LM78J_IN6 7 /* R */
89#define SENSORS_LM78J_IN0_MIN 11 /* RW */
90#define SENSORS_LM78J_IN1_MIN 12 /* RW */
91#define SENSORS_LM78J_IN2_MIN 13 /* RW */
92#define SENSORS_LM78J_IN3_MIN 14 /* RW */
93#define SENSORS_LM78J_IN4_MIN 15 /* RW */
94#define SENSORS_LM78J_IN5_MIN 16 /* RW */
95#define SENSORS_LM78J_IN6_MIN 17 /* RW */
96#define SENSORS_LM78J_IN0_MAX 21 /* RW */
97#define SENSORS_LM78J_IN1_MAX 22 /* RW */
98#define SENSORS_LM78J_IN2_MAX 23 /* RW */
99#define SENSORS_LM78J_IN3_MAX 24 /* RW */
100#define SENSORS_LM78J_IN4_MAX 25 /* RW */
101#define SENSORS_LM78J_IN5_MAX 26 /* RW */
102#define SENSORS_LM78J_IN6_MAX 27 /* RW */
103#define SENSORS_LM78J_FAN1 31 /* R */
104#define SENSORS_LM78J_FAN2 32 /* R */
105#define SENSORS_LM78J_FAN3 33  /* R */
106#define SENSORS_LM78J_FAN1_MIN 41 /* RW */
107#define SENSORS_LM78J_FAN2_MIN 42 /* RW */
108#define SENSORS_LM78J_FAN3_MIN 43 /* RW */
109#define SENSORS_LM78J_TEMP 51 /* R */
110#define SENSORS_LM78J_TEMP_HYST 52 /* RW */
111#define SENSORS_LM78J_TEMP_OVER 53 /* RW */
112#define SENSORS_LM78J_VID 61 /* R */
113#define SENSORS_LM78J_FAN1_DIV 71 /* RW */
114#define SENSORS_LM78J_FAN2_DIV 72 /* RW */
115#define SENSORS_LM78J_FAN3_DIV 73 /* R (yes, really!) */
116#define SENSORS_LM78J_ALARMS 81 /* R */
117
118
119/* LM79 chips. It is actually safe to use the LM78 defines instead, but it
120   is better practice to use these. */
121
122#define SENSORS_LM79_PREFIX "lm79"
123
124#define SENSORS_LM79_IN0 1 /* R */
125#define SENSORS_LM79_IN1 2 /* R */
126#define SENSORS_LM79_IN2 3 /* R */
127#define SENSORS_LM79_IN3 4 /* R */
128#define SENSORS_LM79_IN4 5 /* R */
129#define SENSORS_LM79_IN5 6 /* R */
130#define SENSORS_LM79_IN6 7 /* R */
131#define SENSORS_LM79_IN0_MIN 11 /* RW */
132#define SENSORS_LM79_IN1_MIN 12 /* RW */
133#define SENSORS_LM79_IN2_MIN 13 /* RW */
134#define SENSORS_LM79_IN3_MIN 14 /* RW */
135#define SENSORS_LM79_IN4_MIN 15 /* RW */
136#define SENSORS_LM79_IN5_MIN 16 /* RW */
137#define SENSORS_LM79_IN6_MIN 17 /* RW */
138#define SENSORS_LM79_IN0_MAX 21 /* RW */
139#define SENSORS_LM79_IN1_MAX 22 /* RW */
140#define SENSORS_LM79_IN2_MAX 23 /* RW */
141#define SENSORS_LM79_IN3_MAX 24 /* RW */
142#define SENSORS_LM79_IN4_MAX 25 /* R */
143#define SENSORS_LM79_IN5_MAX 26 /* R */
144#define SENSORS_LM79_IN6_MAX 27 /* R */
145#define SENSORS_LM79_FAN1 31 /* R */
146#define SENSORS_LM79_FAN2 32 /* R */
147#define SENSORS_LM79_FAN3 33 /* R */
148#define SENSORS_LM79_FAN1_MIN 41 /* RW */
149#define SENSORS_LM79_FAN2_MIN 42 /* RW */
150#define SENSORS_LM79_FAN3_MIN 43 /* RW */
151#define SENSORS_LM79_TEMP 51 /* R */
152#define SENSORS_LM79_TEMP_HYST 52 /* RW */
153#define SENSORS_LM79_TEMP_OVER 53 /* RW */
154#define SENSORS_LM79_VID 61 /* R */
155#define SENSORS_LM79_FAN1_DIV 71 /* RW */
156#define SENSORS_LM79_FAN2_DIV 72 /* RW */
157#define SENSORS_LM79_FAN3_DIV 73 /* R (yes, really! */
158#define SENSORS_LM79_ALARMS 81 /* R */
159
160
161/* LM75 chips. */
162
163#define SENSORS_LM75_PREFIX "lm75"
164
165#define SENSORS_LM75_TEMP 51 /* R */
166#define SENSORS_LM75_TEMP_HYST 52 /* RW */
167#define SENSORS_LM75_TEMP_OVER 53 /* RW */
168
169/* ADM1021 chips. */
170
171#define SENSORS_ADM1021_PREFIX "adm1021"
172/* Cheat on LM84,GL523,THMC10,1023 for now - no separate #defines */
173#define SENSORS_ADM1023_PREFIX "adm1023"
174#define SENSORS_LM84_PREFIX "lm84"
175#define SENSORS_GL523_PREFIX "gl523"
176#define SENSORS_THMC10_PREFIX "thmc10"
177
178#define SENSORS_ADM1021_TEMP 51 /* R */
179#define SENSORS_ADM1021_TEMP_HYST 52 /* RW */
180#define SENSORS_ADM1021_TEMP_OVER 53 /* RW */
181#define SENSORS_ADM1021_REMOTE_TEMP 54 /* R */
182#define SENSORS_ADM1021_REMOTE_TEMP_HYST 55 /* RW */
183#define SENSORS_ADM1021_REMOTE_TEMP_OVER 56 /* RW */
184#define SENSORS_ADM1021_ALARMS 81 /* R */
185#define SENSORS_ADM1021_DIE_CODE 90 /* R */
186
187
188/* ADM1030 and ADM1031 chips */
189
190#define SENSORS_ADM1030_PREFIX "adm1030"
191#define SENSORS_ADM1031_PREFIX "adm1031"
192
193#define SENSORS_ADM1031_TEMP1      51 /* R */
194#define SENSORS_ADM1031_TEMP1_MIN  52 /* RW */
195#define SENSORS_ADM1031_TEMP1_MAX  53 /* RW */
196#define SENSORS_ADM1031_TEMP1_CRIT 54 /* RW */
197
198#define SENSORS_ADM1031_TEMP2      61 /* R */
199#define SENSORS_ADM1031_TEMP2_MIN  62 /* RW */
200#define SENSORS_ADM1031_TEMP2_MAX  63 /* RW */
201#define SENSORS_ADM1031_TEMP2_CRIT 64 /* RW */
202
203#define SENSORS_ADM1031_TEMP3      71 /* R */
204#define SENSORS_ADM1031_TEMP3_MIN  72 /* RW */
205#define SENSORS_ADM1031_TEMP3_MAX  73 /* RW */
206#define SENSORS_ADM1031_TEMP3_CRIT 74 /* RW */
207
208
209#define SENSORS_ADM1031_FAN1       80 /* R */
210#define SENSORS_ADM1031_FAN1_MIN   81 /* RW */
211#define SENSORS_ADM1031_FAN1_DIV   82 /* RW */
212#define SENSORS_ADM1031_FAN2       90 /* R */
213#define SENSORS_ADM1031_FAN2_MIN   91 /* RW */
214#define SENSORS_ADM1031_FAN2_DIV   92 /* RW */
215
216#define SENSORS_ADM1031_ALARMS    100 /* R */
217
218
219/* MAX1617 chips. */
220
221#define SENSORS_MAX1617_PREFIX "max1617"
222#define SENSORS_MC1066_PREFIX "mc1066"
223
224#define SENSORS_MAX1617_TEMP 51 /* R */
225#define SENSORS_MAX1617_TEMP_HYST 52 /* RW */
226#define SENSORS_MAX1617_TEMP_OVER 53 /* RW */
227#define SENSORS_MAX1617_REMOTE_TEMP 54 /* R */
228#define SENSORS_MAX1617_REMOTE_TEMP_HYST 55 /* RW */
229#define SENSORS_MAX1617_REMOTE_TEMP_OVER 56 /* RW */
230#define SENSORS_MAX1617_ALARMS 81 /* R */
231
232/* MAX1617A chips. */
233
234#define SENSORS_MAX1617A_PREFIX "max1617a"
235
236#define SENSORS_MAX1617A_TEMP 51 /* R */
237#define SENSORS_MAX1617A_TEMP_HYST 52 /* RW */
238#define SENSORS_MAX1617A_TEMP_OVER 53 /* RW */
239#define SENSORS_MAX1617A_REMOTE_TEMP 54 /* R */
240#define SENSORS_MAX1617A_REMOTE_TEMP_HYST 55 /* RW */
241#define SENSORS_MAX1617A_REMOTE_TEMP_OVER 56 /* RW */
242#define SENSORS_MAX1617A_ALARMS 81 /* R */
243
244/* GL518SM chips */
245
246#define SENSORS_GL518_PREFIX "gl518sm"
247
248#define SENSORS_GL518_VDD 1 /* R */
249#define SENSORS_GL518_VIN1 2 /* R */
250#define SENSORS_GL518_VIN2 3 /* R */
251#define SENSORS_GL518_VIN3 4 /* R */
252#define SENSORS_GL518_VDD_MIN 11 /* RW */
253#define SENSORS_GL518_VIN1_MIN 12 /* RW */
254#define SENSORS_GL518_VIN2_MIN 13 /* RW */
255#define SENSORS_GL518_VIN3_MIN 14 /* RW */
256#define SENSORS_GL518_VDD_MAX 21 /* RW */
257#define SENSORS_GL518_VIN1_MAX 22 /* RW */
258#define SENSORS_GL518_VIN2_MAX 23 /* RW */
259#define SENSORS_GL518_VIN3_MAX 24 /* RW */
260#define SENSORS_GL518_FAN1 31 /* R */
261#define SENSORS_GL518_FAN2 32 /* R */
262#define SENSORS_GL518_FAN1_MIN 41 /* RW */
263#define SENSORS_GL518_FAN2_MIN 42 /* RW */
264#define SENSORS_GL518_TEMP 51 /* R */
265#define SENSORS_GL518_TEMP_HYST 52 /* RW */
266#define SENSORS_GL518_TEMP_OVER 53 /* RW */
267#define SENSORS_GL518_FAN1_DIV 71 /* RW */
268#define SENSORS_GL518_FAN2_DIV 72 /* RW */
269#define SENSORS_GL518_ALARMS 81 /* R */
270#define SENSORS_GL518_BEEP_ENABLE 82 /* RW */
271#define SENSORS_GL518_BEEPS 83 /* RW */
272#define SENSORS_GL518_ITERATE 84 /* RW */
273#define SENSORS_GL518_FAN1OFF 85 /* RW */
274#define SENSORS_GL518_FAN1PIN 86 /* RW */
275
276/* GL520SM chips */
277
278#define SENSORS_GL520_PREFIX "gl520sm"
279
280#define SENSORS_GL520_VDD 1 /* R */
281#define SENSORS_GL520_VIN1 2 /* R */
282#define SENSORS_GL520_VIN2 3 /* R */
283#define SENSORS_GL520_VIN3 4 /* R */
284#define SENSORS_GL520_VIN4 5 /* R */
285#define SENSORS_GL520_VDD_MIN 11 /* RW */
286#define SENSORS_GL520_VIN1_MIN 12 /* RW */
287#define SENSORS_GL520_VIN2_MIN 13 /* RW */
288#define SENSORS_GL520_VIN3_MIN 14 /* RW */
289#define SENSORS_GL520_VIN4_MIN 15 /* RW */
290#define SENSORS_GL520_VDD_MAX 21 /* RW */
291#define SENSORS_GL520_VIN1_MAX 22 /* RW */
292#define SENSORS_GL520_VIN2_MAX 23 /* RW */
293#define SENSORS_GL520_VIN3_MAX 24 /* RW */
294#define SENSORS_GL520_VIN4_MAX 25 /* RW */
295#define SENSORS_GL520_FAN1 31 /* R */
296#define SENSORS_GL520_FAN2 32 /* R */
297#define SENSORS_GL520_FAN1_MIN 41 /* RW */
298#define SENSORS_GL520_FAN2_MIN 42 /* RW */
299#define SENSORS_GL520_TEMP1 51 /* R */
300#define SENSORS_GL520_TEMP1_HYST 52 /* RW */
301#define SENSORS_GL520_TEMP1_OVER 53 /* RW */
302#define SENSORS_GL520_TEMP2 54 /* R */
303#define SENSORS_GL520_TEMP2_HYST 55 /* RW */
304#define SENSORS_GL520_TEMP2_OVER 56 /* RW */
305#define SENSORS_GL520_VID 61 /* R */
306#define SENSORS_GL520_FAN1_DIV 71 /* RW */
307#define SENSORS_GL520_FAN2_DIV 72 /* RW */
308#define SENSORS_GL520_ALARMS 81 /* R */
309#define SENSORS_GL520_BEEP_ENABLE 82 /* RW */
310#define SENSORS_GL520_BEEPS 83 /* RW */
311#define SENSORS_GL520_TWOTEMPS 84 /* RW */
312#define SENSORS_GL520_FAN1OFF 85 /* RW */
313
314/* LM80 chips */
315
316#define SENSORS_LM80_PREFIX "lm80"
317
318#define SENSORS_LM80_IN0 1 /* R */
319#define SENSORS_LM80_IN1 2 /* R */
320#define SENSORS_LM80_IN2 3 /* R */
321#define SENSORS_LM80_IN3 4 /* R */
322#define SENSORS_LM80_IN4 5 /* R */
323#define SENSORS_LM80_IN5 6 /* R */
324#define SENSORS_LM80_IN6 7 /* R */
325#define SENSORS_LM80_IN0_MIN 11 /* RW */
326#define SENSORS_LM80_IN1_MIN 12 /* RW */
327#define SENSORS_LM80_IN2_MIN 13 /* RW */
328#define SENSORS_LM80_IN3_MIN 14 /* RW */
329#define SENSORS_LM80_IN4_MIN 15 /* RW */
330#define SENSORS_LM80_IN5_MIN 16 /* RW */
331#define SENSORS_LM80_IN6_MIN 17 /* RW */
332#define SENSORS_LM80_IN0_MAX 21 /* RW */
333#define SENSORS_LM80_IN1_MAX 22 /* RW */
334#define SENSORS_LM80_IN2_MAX 23 /* RW */
335#define SENSORS_LM80_IN3_MAX 24 /* RW */
336#define SENSORS_LM80_IN4_MAX 25 /* R */
337#define SENSORS_LM80_IN5_MAX 26 /* R */
338#define SENSORS_LM80_IN6_MAX 27 /* R */
339#define SENSORS_LM80_FAN1 31 /* R */
340#define SENSORS_LM80_FAN2 32 /* R */
341#define SENSORS_LM80_FAN1_MIN 41 /* RW */
342#define SENSORS_LM80_FAN2_MIN 42 /* RW */
343#define SENSORS_LM80_TEMP 51 /* R */
344#define SENSORS_LM80_TEMP_HOT_HYST 52 /* RW */
345#define SENSORS_LM80_TEMP_HOT_MAX 53 /* RW */
346#define SENSORS_LM80_TEMP_OS_HYST 54 /* RW */
347#define SENSORS_LM80_TEMP_OS_MAX 55 /* RW */
348#define SENSORS_LM80_FAN1_DIV 71 /* RW */
349#define SENSORS_LM80_FAN2_DIV 72 /* RW */
350#define SENSORS_LM80_ALARMS 81 /* R */
351
352/* LM83 chips */
353
354#define SENSORS_LM83_PREFIX "lm83"
355
356#define SENSORS_LM83_LOCAL_TEMP 51 /* R */
357#define SENSORS_LM83_LOCAL_HIGH 52 /* RW */
358#define SENSORS_LM83_REMOTE1_TEMP 54 /* R */
359#define SENSORS_LM83_REMOTE1_HIGH 55 /* RW */
360#define SENSORS_LM83_REMOTE2_TEMP 57 /* R */
361#define SENSORS_LM83_REMOTE2_HIGH 58 /* RW */
362#define SENSORS_LM83_REMOTE3_TEMP 60 /* R */
363#define SENSORS_LM83_REMOTE3_HIGH 61 /* RW */
364#define SENSORS_LM83_TCRIT 80 /* RW */
365#define SENSORS_LM83_ALARMS 81 /* R */
366
367/* LM85 chips */
368
369#define SENSORS_LM85_PREFIX "lm85"
370#define SENSORS_LM85B_PREFIX "lm85b"
371#define SENSORS_LM85C_PREFIX "lm85c"
372#define SENSORS_ADM1027_PREFIX "adm1027"
373#define SENSORS_ADT7463_PREFIX "adt7463"
374#define SENSORS_EMC6D100_PREFIX "emc6d100"
375#define SENSORS_EMC6D102_PREFIX "emc6d102"
376
377#define SENSORS_ADM1027_ALARM_MASK           1  /* RW -- alarm_mask  */
378#define SENSORS_ADM1027_FAN1_PPR             2  /* RW -- fan1_ppr  */
379#define SENSORS_ADM1027_FAN1_TACH_MODE       3  /* RW -- fan1_tach_mode  */
380#define SENSORS_ADM1027_FAN2_PPR             4  /* RW -- fan2_ppr  */
381#define SENSORS_ADM1027_FAN2_TACH_MODE       5  /* RW -- fan2_tach_mode  */
382#define SENSORS_ADM1027_FAN3_PPR             6  /* RW -- fan3_ppr  */
383#define SENSORS_ADM1027_FAN3_TACH_MODE       7  /* RW -- fan3_tach_mode  */
384#define SENSORS_ADM1027_FAN4_PPR             8  /* RW -- fan4_ppr  */
385#define SENSORS_ADM1027_FAN4_TACH_MODE       9  /* RW -- fan4_tach_mode  */
386#define SENSORS_ADM1027_PWM1_SMOOTH         10  /* RW -- pwm1_smooth  */
387#define SENSORS_ADM1027_PWM2_SMOOTH         11  /* RW -- pwm2_smooth  */
388#define SENSORS_ADM1027_PWM3_SMOOTH         12  /* RW -- pwm3_smooth  */
389#define SENSORS_ADM1027_TEMP1_OFFSET        13  /* RW -- temp1_offset  */
390#define SENSORS_ADM1027_TEMP2_OFFSET        14  /* RW -- temp2_offset  */
391#define SENSORS_ADM1027_TEMP3_OFFSET        15  /* RW -- temp3_offset  */
392#define SENSORS_LM85_ALARMS                 16  /* R  -- alarms  */
393#define SENSORS_LM85_VID                    17  /* R  -- vid  */
394#define SENSORS_LM85_VRM                    18  /* RW -- vrm  */
395#define SENSORS_LM85_FAN1                   19  /* R  -- fan1  */
396#define SENSORS_LM85_FAN1_MIN               20  /* RW -- fan1_min  */
397#define SENSORS_LM85_FAN1_TACH_MODE         21  /* RW -- fan1_tach_mode  */
398#define SENSORS_LM85_FAN2                   22  /* R  -- fan2  */
399#define SENSORS_LM85_FAN2_MIN               23  /* RW -- fan2_min  */
400#define SENSORS_LM85_FAN2_TACH_MODE         24  /* RW -- fan2_tach_mode  */
401#define SENSORS_LM85_FAN3                   25  /* R  -- fan3  */
402#define SENSORS_LM85_FAN3_MIN               26  /* RW -- fan3_min  */
403#define SENSORS_LM85_FAN3_TACH_MODE         27  /* RW -- fan3_tach_mode  */
404#define SENSORS_LM85_FAN4                   28  /* R  -- fan4  */
405#define SENSORS_LM85_FAN4_MIN               29  /* RW -- fan4_min  */
406#define SENSORS_LM85_IN0                    30  /* R  -- in0  */
407#define SENSORS_LM85_IN0_MAX                31  /* RW -- in0_max  */
408#define SENSORS_LM85_IN0_MIN                32  /* RW -- in0_min  */
409#define SENSORS_LM85_IN1                    33  /* R  -- in1  */
410#define SENSORS_LM85_IN1_MAX                34  /* RW -- in1_max  */
411#define SENSORS_LM85_IN1_MIN                35  /* RW -- in1_min  */
412#define SENSORS_LM85_IN2                    36  /* R  -- in2  */
413#define SENSORS_LM85_IN2_MAX                37  /* RW -- in2_max  */
414#define SENSORS_LM85_IN2_MIN                38  /* RW -- in2_min  */
415#define SENSORS_LM85_IN3                    39  /* R  -- in3  */
416#define SENSORS_LM85_IN3_MAX                40  /* RW -- in3_max  */
417#define SENSORS_LM85_IN3_MIN                41  /* RW -- in3_min  */
418#define SENSORS_LM85_IN4                    42  /* R  -- in4  */
419#define SENSORS_LM85_IN4_MAX                43  /* RW -- in4_max  */
420#define SENSORS_LM85_IN4_MIN                44  /* RW -- in4_min  */
421#define SENSORS_LM85_IN5                    45  /* R  -- in5  */
422#define SENSORS_LM85_IN5_MAX                46  /* RW -- in5_max  */
423#define SENSORS_LM85_IN5_MIN                47  /* RW -- in5_min  */
424#define SENSORS_LM85_IN6                    48  /* R  -- in6  */
425#define SENSORS_LM85_IN6_MAX                49  /* RW -- in6_max  */
426#define SENSORS_LM85_IN6_MIN                50  /* RW -- in6_min  */
427#define SENSORS_LM85_IN7                    51  /* R  -- in7  */
428#define SENSORS_LM85_IN7_MAX                52  /* RW -- in7_max  */
429#define SENSORS_LM85_IN7_MIN                53  /* RW -- in7_min  */
430#define SENSORS_LM85_PWM1                   54  /* RW -- pwm1  */
431#define SENSORS_LM85_PWM1_FREQ              55  /* RW -- pwm1_freq  */
432#define SENSORS_LM85_PWM1_INVERT            56  /* RW -- pwm1_invert  */
433#define SENSORS_LM85_PWM1_MIN               57  /* RW -- pwm1_min  */
434#define SENSORS_LM85_PWM1_MIN_CTL           58  /* RW -- pwm1_min_ctl  */
435#define SENSORS_LM85_PWM1_SPINUP            59  /* RW -- pwm1_spinup  */
436#define SENSORS_LM85_PWM1_SPINUP_CTL        60  /* RW -- pwm1_spinup_ctl  */
437#define SENSORS_LM85_PWM1_ZONE              61  /* RW -- pwm1_zone  */
438#define SENSORS_LM85_PWM2                   62  /* RW -- pwm2  */
439#define SENSORS_LM85_PWM2_FREQ              63  /* RW -- pwm2_freq  */
440#define SENSORS_LM85_PWM2_INVERT            64  /* RW -- pwm2_invert  */
441#define SENSORS_LM85_PWM2_MIN               65  /* RW -- pwm2_min  */
442#define SENSORS_LM85_PWM2_MIN_CTL           66  /* RW -- pwm2_min_ctl  */
443#define SENSORS_LM85_PWM2_SPINUP            67  /* RW -- pwm2_spinup  */
444#define SENSORS_LM85_PWM2_SPINUP_CTL        68  /* RW -- pwm2_spinup_ctl  */
445#define SENSORS_LM85_PWM2_ZONE              69  /* RW -- pwm2_zone  */
446#define SENSORS_LM85_PWM3                   70  /* RW -- pwm3  */
447#define SENSORS_LM85_PWM3_FREQ              71  /* RW -- pwm3_freq  */
448#define SENSORS_LM85_PWM3_INVERT            72  /* RW -- pwm3_invert  */
449#define SENSORS_LM85_PWM3_MIN               73  /* RW -- pwm3_min  */
450#define SENSORS_LM85_PWM3_MIN_CTL           74  /* RW -- pwm3_min_ctl  */
451#define SENSORS_LM85_PWM3_SPINUP            75  /* RW -- pwm3_spinup  */
452#define SENSORS_LM85_PWM3_SPINUP_CTL        76  /* RW -- pwm3_spinup_ctl  */
453#define SENSORS_LM85_PWM3_ZONE              77  /* RW -- pwm3_zone  */
454#define SENSORS_LM85_TEMP1                  78  /* R  -- temp1  */
455#define SENSORS_LM85_TEMP1_MAX              79  /* RW -- temp1_max  */
456#define SENSORS_LM85_TEMP1_MIN              80  /* RW -- temp1_min  */
457#define SENSORS_LM85_TEMP2                  81  /* R  -- temp2  */
458#define SENSORS_LM85_TEMP2_MAX              82  /* RW -- temp2_max  */
459#define SENSORS_LM85_TEMP2_MIN              83  /* RW -- temp2_min  */
460#define SENSORS_LM85_TEMP3                  84  /* R  -- temp3  */
461#define SENSORS_LM85_TEMP3_MAX              85  /* RW -- temp3_max  */
462#define SENSORS_LM85_TEMP3_MIN              86  /* RW -- temp3_min  */
463#define SENSORS_LM85_ZONE1_CRITICAL         87  /* RW -- zone1_critical  */
464#define SENSORS_LM85_ZONE1_HYST             88  /* RW -- zone1_hyst  */
465#define SENSORS_LM85_ZONE1_LIMIT            89  /* RW -- zone1_limit  */
466#define SENSORS_LM85_ZONE1_RANGE            90  /* RW -- zone1_range  */
467#define SENSORS_LM85_ZONE1_SMOOTH           91  /* RW -- zone1_smooth  */
468#define SENSORS_LM85_ZONE2_CRITICAL         92  /* RW -- zone2_critical  */
469#define SENSORS_LM85_ZONE2_HYST             93  /* RW -- zone2_hyst  */
470#define SENSORS_LM85_ZONE2_LIMIT            94  /* RW -- zone2_limit  */
471#define SENSORS_LM85_ZONE2_RANGE            95  /* RW -- zone2_range  */
472#define SENSORS_LM85_ZONE2_SMOOTH           96  /* RW -- zone2_smooth  */
473#define SENSORS_LM85_ZONE3_CRITICAL         97  /* RW -- zone3_critical  */
474#define SENSORS_LM85_ZONE3_HYST             98  /* RW -- zone3_hyst  */
475#define SENSORS_LM85_ZONE3_LIMIT            99  /* RW -- zone3_limit  */
476#define SENSORS_LM85_ZONE3_RANGE           100  /* RW -- zone3_range  */
477#define SENSORS_LM85_ZONE3_SMOOTH          101  /* RW -- zone3_smooth  */
478
479/* LM86/LM89/LM90/LM99/ADM1032/MAX6657/ADT7461 chips */
480
481#define SENSORS_LM90_PREFIX "lm90"
482#define SENSORS_ADM1032_PREFIX "adm1032"
483#define SENSORS_LM99_PREFIX "lm99"
484#define SENSORS_LM86_PREFIX "lm86"
485#define SENSORS_MAX6657_PREFIX "max6657"
486#define SENSORS_ADT7461_PREFIX "adt7461"
487
488#define SENSORS_LM90_LOCAL_TEMP 51 /* R */
489#define SENSORS_LM90_LOCAL_HIGH 52 /* RW */
490#define SENSORS_LM90_LOCAL_LOW 53 /* RW */
491#define SENSORS_LM90_LOCAL_TCRIT 54 /* RW */
492#define SENSORS_LM90_REMOTE_TEMP 57 /* R */
493#define SENSORS_LM90_REMOTE_HIGH 58 /* RW */
494#define SENSORS_LM90_REMOTE_LOW 59 /* RW */
495#define SENSORS_LM90_REMOTE_TCRIT 60 /* RW */
496#define SENSORS_LM90_LOCAL_TCRIT_HYST 79 /* RW */
497#define SENSORS_LM90_REMOTE_TCRIT_HYST 80 /* R, see driver source */
498#define SENSORS_LM90_ALARMS 81 /* R */
499
500/* LM63 chips */
501
502#define SENSORS_LM63_PREFIX "lm63"
503
504#define SENSORS_LM63_LOCAL_TEMP                 51 /* R  */
505#define SENSORS_LM63_LOCAL_HIGH                 52 /* RW */
506#define SENSORS_LM63_REMOTE_TEMP                57 /* R  */
507#define SENSORS_LM63_REMOTE_HIGH                58 /* RW */
508#define SENSORS_LM63_REMOTE_LOW                 59 /* RW */
509#define SENSORS_LM63_REMOTE_TCRIT               60 /* R  */
510#define SENSORS_LM63_REMOTE_TCRIT_HYST          80 /* RW */
511#define SENSORS_LM63_ALARMS                     81 /* R  */
512#define SENSORS_LM63_FAN                        84 /* R  */
513#define SENSORS_LM63_FAN_LOW                    85 /* RW */
514#define SENSORS_LM63_PWM                        87 /* RW */
515#define SENSORS_LM63_PWM_ENABLE                 88 /* RW */
516
517/* Winbond W83781D chips */
518
519#define SENSORS_W83781D_PREFIX "w83781d"
520
521#define SENSORS_W83781D_IN0 1 /* R */
522#define SENSORS_W83781D_IN1 2 /* R */
523#define SENSORS_W83781D_IN2 3 /* R */
524#define SENSORS_W83781D_IN3 4 /* R */
525#define SENSORS_W83781D_IN4 5 /* R */
526#define SENSORS_W83781D_IN5 6 /* R */
527#define SENSORS_W83781D_IN6 7 /* R */
528#define SENSORS_W83781D_IN0_MIN 11 /* RW */
529#define SENSORS_W83781D_IN1_MIN 12 /* RW */
530#define SENSORS_W83781D_IN2_MIN 13 /* RW */
531#define SENSORS_W83781D_IN3_MIN 14 /* RW */
532#define SENSORS_W83781D_IN4_MIN 15 /* RW */
533#define SENSORS_W83781D_IN5_MIN 16 /* RW */
534#define SENSORS_W83781D_IN6_MIN 17 /* RW */
535#define SENSORS_W83781D_IN0_MAX 21 /* RW */
536#define SENSORS_W83781D_IN1_MAX 22 /* RW */
537#define SENSORS_W83781D_IN2_MAX 23 /* RW */
538#define SENSORS_W83781D_IN3_MAX 24 /* RW */
539#define SENSORS_W83781D_IN4_MAX 25 /* RW */
540#define SENSORS_W83781D_IN5_MAX 26 /* RW */
541#define SENSORS_W83781D_IN6_MAX 27 /* RW */
542#define SENSORS_W83781D_FAN1 31 /* R */
543#define SENSORS_W83781D_FAN2 32 /* R */
544#define SENSORS_W83781D_FAN3 33 /* R */
545#define SENSORS_W83781D_FAN1_MIN 41 /* RW */
546#define SENSORS_W83781D_FAN2_MIN 42 /* RW */
547#define SENSORS_W83781D_FAN3_MIN 43 /* RW */
548#define SENSORS_W83781D_TEMP1 51 /* R */
549#define SENSORS_W83781D_TEMP1_HYST 52 /* RW */
550#define SENSORS_W83781D_TEMP1_OVER 53 /* RW */
551#define SENSORS_W83781D_TEMP2 54 /* R */
552#define SENSORS_W83781D_TEMP2_HYST 55 /* RW */
553#define SENSORS_W83781D_TEMP2_OVER 56 /* RW */
554#define SENSORS_W83781D_TEMP3 57 /* R */
555#define SENSORS_W83781D_TEMP3_HYST 58 /* RW */
556#define SENSORS_W83781D_TEMP3_OVER 59 /* RW */
557#define SENSORS_W83781D_VID 61 /* R */
558#define SENSORS_W83781D_VRM 62 /* RW */
559#define SENSORS_W83781D_FAN1_DIV 71 /* RW */
560#define SENSORS_W83781D_FAN2_DIV 72 /* RW */
561#define SENSORS_W83781D_FAN3_DIV 73 /* R (yes, really! */
562#define SENSORS_W83781D_ALARMS 81 /* R */
563#define SENSORS_W83781D_BEEP_ENABLE 82 /* RW */
564#define SENSORS_W83781D_BEEPS 83 /* RW */
565#define SENSORS_W83781D_SENS1 91 /* RW */
566#define SENSORS_W83781D_SENS2 92 /* RW */
567#define SENSORS_W83781D_SENS3 93 /* RW */
568
569
570/* Winbond W83782D chips */
571/* Cheat on 627HF for now - no separate #defines */
572/* Cheat on 127F for now - no separate #defines */
573
574#define SENSORS_W83782D_PREFIX "w83782d"
575#define SENSORS_W83627HF_PREFIX "w83627hf"
576#define SENSORS_W83627THF_PREFIX "w83627thf"
577#define SENSORS_W83637HF_PREFIX "w83637hf"
578#define SENSORS_W83687THF_PREFIX "w83687thf"
579
580#define SENSORS_W83791D_PREFIX "w83791d"
581
582
583#define SENSORS_W83791D_IN0 1 /* R */
584#define SENSORS_W83791D_IN1 2 /* R */
585#define SENSORS_W83791D_IN2 3 /* R */
586#define SENSORS_W83791D_IN3 4 /* R */
587#define SENSORS_W83791D_IN4 5 /* R */
588#define SENSORS_W83791D_IN5 6 /* R */
589#define SENSORS_W83791D_IN6 7 /* R */
590#define SENSORS_W83791D_IN7 8 /* R */
591#define SENSORS_W83791D_IN8 9 /* R */
592#define SENSORS_W83791D_IN9 10 /* R */
593
594#define SENSORS_W83791D_IN0_MIN 11 /* RW */
595#define SENSORS_W83791D_IN1_MIN 12 /* RW */
596#define SENSORS_W83791D_IN2_MIN 13 /* RW */
597#define SENSORS_W83791D_IN3_MIN 14 /* RW */
598#define SENSORS_W83791D_IN4_MIN 15 /* RW */
599#define SENSORS_W83791D_IN5_MIN 16 /* RW */
600#define SENSORS_W83791D_IN6_MIN 17 /* RW */
601#define SENSORS_W83791D_IN7_MIN 18 /* RW */
602#define SENSORS_W83791D_IN8_MIN 19 /* RW */
603#define SENSORS_W83791D_IN9_MIN 20 /* RW */
604
605#define SENSORS_W83791D_IN0_MAX 21 /* RW */
606#define SENSORS_W83791D_IN1_MAX 22 /* RW */
607#define SENSORS_W83791D_IN2_MAX 23 /* RW */
608#define SENSORS_W83791D_IN3_MAX 24 /* RW */
609#define SENSORS_W83791D_IN4_MAX 25 /* RW */
610#define SENSORS_W83791D_IN5_MAX 26 /* RW */
611#define SENSORS_W83791D_IN6_MAX 27 /* RW */
612#define SENSORS_W83791D_IN7_MAX 28 /* RW */
613#define SENSORS_W83791D_IN8_MAX 29 /* RW */
614#define SENSORS_W83791D_IN9_MAX 30 /* RW */
615
616#define SENSORS_W83791D_FAN1 31 /* R */
617#define SENSORS_W83791D_FAN2 32 /* R */
618#define SENSORS_W83791D_FAN3 33 /* R */
619#define SENSORS_W83791D_FAN4 34 /* R */
620#define SENSORS_W83791D_FAN5 35 /* R */
621
622#define SENSORS_W83791D_FAN1_MIN 41 /* RW */
623#define SENSORS_W83791D_FAN2_MIN 42 /* RW */
624#define SENSORS_W83791D_FAN3_MIN 43 /* RW */
625#define SENSORS_W83791D_FAN4_MIN 44 /* RW */
626#define SENSORS_W83791D_FAN5_MIN 45 /* RW */
627
628#define SENSORS_W83791D_TEMP1 51 /* R */
629#define SENSORS_W83791D_TEMP1_HYST 52 /* RW */
630#define SENSORS_W83791D_TEMP1_OVER 53 /* RW */
631#define SENSORS_W83791D_TEMP2 54 /* R */
632#define SENSORS_W83791D_TEMP2_HYST 55 /* RW */
633#define SENSORS_W83791D_TEMP2_OVER 56 /* RW */
634#define SENSORS_W83791D_TEMP3 57 /* R */
635#define SENSORS_W83791D_TEMP3_HYST 58 /* RW */
636#define SENSORS_W83791D_TEMP3_OVER 59 /* RW */
637#define SENSORS_W83791D_VID 61 /* R */
638#define SENSORS_W83791D_VRM 62 /* RW */
639
640#define SENSORS_W83791D_FAN1_DIV 71 /* RW */
641#define SENSORS_W83791D_FAN2_DIV 72 /* RW */
642#define SENSORS_W83791D_FAN3_DIV 73 /* R (yes, really! */
643#define SENSORS_W83791D_FAN4_DIV 74 /* R (yes, really! */
644#define SENSORS_W83791D_FAN5_DIV 75 /* R (yes, really! */
645
646#define SENSORS_W83791D_ALARMS 81 /* R */
647#define SENSORS_W83791D_BEEP_ENABLE 82 /* RW */
648#define SENSORS_W83791D_BEEPS 83 /* RW */
649#define SENSORS_W83791D_SENS1 91 /* RW */
650#define SENSORS_W83791D_SENS2 92 /* RW */
651#define SENSORS_W83791D_SENS3 93 /* RW */
652
653
654
655/* Winbond W83792AD/D chip */
656#define SENSORS_W83792D_PREFIX "w83792d"
657
658
659#define SENSORS_W83792D_IN0 1 /* R */
660#define SENSORS_W83792D_IN1 2 /* R */
661#define SENSORS_W83792D_IN2 3 /* R */
662#define SENSORS_W83792D_IN3 4 /* R */
663#define SENSORS_W83792D_IN4 5 /* R */
664#define SENSORS_W83792D_IN5 6 /* R */
665#define SENSORS_W83792D_IN6 7 /* R */
666#define SENSORS_W83792D_IN7 8 /* R */
667#define SENSORS_W83792D_IN8 9 /* R */
668#define SENSORS_W83792D_IN9 10 /* R */
669
670#define SENSORS_W83792D_IN0_MIN 11 /* RW */
671#define SENSORS_W83792D_IN1_MIN 12 /* RW */
672#define SENSORS_W83792D_IN2_MIN 13 /* RW */
673#define SENSORS_W83792D_IN3_MIN 14 /* RW */
674#define SENSORS_W83792D_IN4_MIN 15 /* RW */
675#define SENSORS_W83792D_IN5_MIN 16 /* RW */
676#define SENSORS_W83792D_IN6_MIN 17 /* RW */
677#define SENSORS_W83792D_IN7_MIN 18 /* RW */
678#define SENSORS_W83792D_IN8_MIN 19 /* RW */
679#define SENSORS_W83792D_IN9_MIN 20 /* RW */
680
681#define SENSORS_W83792D_IN0_MAX 21 /* RW */
682#define SENSORS_W83792D_IN1_MAX 22 /* RW */
683#define SENSORS_W83792D_IN2_MAX 23 /* RW */
684#define SENSORS_W83792D_IN3_MAX 24 /* RW */
685#define SENSORS_W83792D_IN4_MAX 25 /* RW */
686#define SENSORS_W83792D_IN5_MAX 26 /* RW */
687#define SENSORS_W83792D_IN6_MAX 27 /* RW */
688#define SENSORS_W83792D_IN7_MAX 28 /* RW */
689#define SENSORS_W83792D_IN8_MAX 29 /* RW */
690#define SENSORS_W83792D_IN9_MAX 30 /* RW */
691
692#define SENSORS_W83792D_FAN1 31 /* R */
693#define SENSORS_W83792D_FAN2 32 /* R */
694#define SENSORS_W83792D_FAN3 33 /* R */
695#define SENSORS_W83792D_FAN4 34 /* R */
696#define SENSORS_W83792D_FAN5 35 /* R */
697#define SENSORS_W83792D_FAN6 36 /* R */
698#define SENSORS_W83792D_FAN7 37 /* R */
699
700#define SENSORS_W83792D_FAN1_MIN 41 /* RW */
701#define SENSORS_W83792D_FAN2_MIN 42 /* RW */
702#define SENSORS_W83792D_FAN3_MIN 43 /* RW */
703#define SENSORS_W83792D_FAN4_MIN 44 /* RW */
704#define SENSORS_W83792D_FAN5_MIN 45 /* RW */
705#define SENSORS_W83792D_FAN6_MIN 46 /* RW */
706#define SENSORS_W83792D_FAN7_MIN 47 /* RW */
707
708#define SENSORS_W83792D_TEMP1 51      /* R */
709#define SENSORS_W83792D_TEMP1_HYST 52 /* RW */
710#define SENSORS_W83792D_TEMP1_OVER 53 /* RW */
711#define SENSORS_W83792D_TEMP2 54      /* R */
712#define SENSORS_W83792D_TEMP2_HYST 55 /* RW */
713#define SENSORS_W83792D_TEMP2_OVER 56 /* RW */
714#define SENSORS_W83792D_TEMP3 57      /* R */
715#define SENSORS_W83792D_TEMP3_HYST 58 /* RW */
716#define SENSORS_W83792D_TEMP3_OVER 59 /* RW */
717/*#define SENSORS_W83792D_VID 61 */   /* R */
718/*#define SENSORS_W83792D_VRM 62 */   /* RW */
719#define SENSORS_W83792D_CHASSIS 63    /* R */
720#define SENSORS_W83792D_ALARMS 64     /* R */
721
722#define SENSORS_W83792D_FAN1_DIV 71 /* RW */
723#define SENSORS_W83792D_FAN2_DIV 72 /* RW */
724#define SENSORS_W83792D_FAN3_DIV 73 /* RW */
725#define SENSORS_W83792D_FAN4_DIV 74 /* RW */
726#define SENSORS_W83792D_FAN5_DIV 75 /* RW */
727#define SENSORS_W83792D_FAN6_DIV 76 /* RW */
728#define SENSORS_W83792D_FAN7_DIV 77 /* RW */
729
730
731
732#define SENSORS_AS99127F_PREFIX "as99127f"
733
734#define SENSORS_W83782D_IN0 1 /* R */
735#define SENSORS_W83782D_IN1 2 /* R */
736#define SENSORS_W83782D_IN2 3 /* R */
737#define SENSORS_W83782D_IN3 4 /* R */
738#define SENSORS_W83782D_IN4 5 /* R */
739#define SENSORS_W83782D_IN5 6 /* R */
740#define SENSORS_W83782D_IN6 7 /* R */
741#define SENSORS_W83782D_IN7 8 /* R */
742#define SENSORS_W83782D_IN8 9 /* R */
743#define SENSORS_W83782D_IN0_MIN 11 /* RW */
744#define SENSORS_W83782D_IN1_MIN 12 /* RW */
745#define SENSORS_W83782D_IN2_MIN 13 /* RW */
746#define SENSORS_W83782D_IN3_MIN 14 /* RW */
747#define SENSORS_W83782D_IN4_MIN 15 /* RW */
748#define SENSORS_W83782D_IN5_MIN 16 /* RW */
749#define SENSORS_W83782D_IN6_MIN 17 /* RW */
750#define SENSORS_W83782D_IN7_MIN 18 /* RW */
751#define SENSORS_W83782D_IN8_MIN 19 /* RW */
752#define SENSORS_W83782D_IN0_MAX 21 /* RW */
753#define SENSORS_W83782D_IN1_MAX 22 /* RW */
754#define SENSORS_W83782D_IN2_MAX 23 /* RW */
755#define SENSORS_W83782D_IN3_MAX 24 /* RW */
756#define SENSORS_W83782D_IN4_MAX 25 /* RW */
757#define SENSORS_W83782D_IN5_MAX 26 /* RW */
758#define SENSORS_W83782D_IN6_MAX 27 /* RW */
759#define SENSORS_W83782D_IN7_MAX 28 /* RW */
760#define SENSORS_W83782D_IN8_MAX 29 /* RW */
761#define SENSORS_W83782D_FAN1 31 /* R */
762#define SENSORS_W83782D_FAN2 32 /* R */
763#define SENSORS_W83782D_FAN3 33 /* R */
764#define SENSORS_W83782D_FAN1_MIN 41 /* RW */
765#define SENSORS_W83782D_FAN2_MIN 42 /* RW */
766#define SENSORS_W83782D_FAN3_MIN 43 /* RW */
767#define SENSORS_W83782D_TEMP1 51 /* R */
768#define SENSORS_W83782D_TEMP1_HYST 52 /* RW */
769#define SENSORS_W83782D_TEMP1_OVER 53 /* RW */
770#define SENSORS_W83782D_TEMP2 54 /* R */
771#define SENSORS_W83782D_TEMP2_HYST 55 /* RW */
772#define SENSORS_W83782D_TEMP2_OVER 56 /* RW */
773#define SENSORS_W83782D_TEMP3 57 /* R */
774#define SENSORS_W83782D_TEMP3_HYST 58 /* RW */
775#define SENSORS_W83782D_TEMP3_OVER 59 /* RW */
776#define SENSORS_W83782D_VID 61 /* R */
777#define SENSORS_W83782D_VRM 62 /* RW */
778#define SENSORS_W83782D_FAN1_DIV 71 /* RW */
779#define SENSORS_W83782D_FAN2_DIV 72 /* RW */
780#define SENSORS_W83782D_FAN3_DIV 73 /* R (yes, really! */
781#define SENSORS_W83782D_ALARMS 81 /* R */
782#define SENSORS_W83782D_BEEP_ENABLE 82 /* RW */
783#define SENSORS_W83782D_BEEPS 83 /* RW */
784#define SENSORS_W83782D_SENS1 91 /* RW */
785#define SENSORS_W83782D_SENS2 92 /* RW */
786#define SENSORS_W83782D_SENS3 93 /* RW */
787
788
789/* Winbond W83783S chips */
790/* Cheat on 697HF for now - no separate #defines */
791
792#define SENSORS_W83783S_PREFIX "w83783s"
793#define SENSORS_W83697HF_PREFIX "w83697hf"
794
795#define SENSORS_W83783S_IN0 1 /* R */
796#define SENSORS_W83783S_IN1 2 /* R */
797#define SENSORS_W83783S_IN2 3 /* R */
798#define SENSORS_W83783S_IN3 4 /* R */
799#define SENSORS_W83783S_IN4 5 /* R */
800#define SENSORS_W83783S_IN5 6 /* R */
801#define SENSORS_W83783S_IN6 7 /* R */
802#define SENSORS_W83783S_IN0_MIN 11 /* RW */
803#define SENSORS_W83783S_IN1_MIN 12 /* RW */
804#define SENSORS_W83783S_IN2_MIN 13 /* RW */
805#define SENSORS_W83783S_IN3_MIN 14 /* RW */
806#define SENSORS_W83783S_IN4_MIN 15 /* RW */
807#define SENSORS_W83783S_IN5_MIN 16 /* RW */
808#define SENSORS_W83783S_IN6_MIN 17 /* RW */
809#define SENSORS_W83783S_IN0_MAX 21 /* RW */
810#define SENSORS_W83783S_IN1_MAX 22 /* RW */
811#define SENSORS_W83783S_IN2_MAX 23 /* RW */
812#define SENSORS_W83783S_IN3_MAX 24 /* RW */
813#define SENSORS_W83783S_IN4_MAX 25 /* RW */
814#define SENSORS_W83783S_IN5_MAX 26 /* RW */
815#define SENSORS_W83783S_IN6_MAX 27 /* RW */
816#define SENSORS_W83783S_FAN1 31 /* R */
817#define SENSORS_W83783S_FAN2 32 /* R */
818#define SENSORS_W83783S_FAN3 33 /* R */
819#define SENSORS_W83783S_FAN1_MIN 41 /* RW */
820#define SENSORS_W83783S_FAN2_MIN 42 /* RW */
821#define SENSORS_W83783S_FAN3_MIN 43 /* RW */
822#define SENSORS_W83783S_TEMP1 51 /* R */
823#define SENSORS_W83783S_TEMP1_HYST 52 /* RW */
824#define SENSORS_W83783S_TEMP1_OVER 53 /* RW */
825#define SENSORS_W83783S_TEMP2 54 /* R */
826#define SENSORS_W83783S_TEMP2_HYST 55 /* RW */
827#define SENSORS_W83783S_TEMP2_OVER 56 /* RW */
828#define SENSORS_W83783S_VID 61 /* R */
829#define SENSORS_W83783S_VRM 62 /* RW */
830#define SENSORS_W83783S_FAN1_DIV 71 /* RW */
831#define SENSORS_W83783S_FAN2_DIV 72 /* RW */
832#define SENSORS_W83783S_FAN3_DIV 73 /* R (yes, really! */
833#define SENSORS_W83783S_ALARMS 81 /* R */
834#define SENSORS_W83783S_BEEP_ENABLE 82 /* RW */
835#define SENSORS_W83783S_BEEPS 83 /* RW */
836#define SENSORS_W83783S_SENS1 91 /* RW */
837#define SENSORS_W83783S_SENS2 92 /* RW */
838
839
840/* W83L785TS-S chips */
841
842#define SENSORS_W83L785TS_PREFIX "w83l785ts"
843
844#define SENSORS_W83L785TS_TEMP          51 /* R */
845#define SENSORS_W83L785TS_TEMP_OVER     52 /* R for now */
846
847
848/* Winbond W83627EHF Super-I/O chips */
849
850#define SENSORS_W83627EHF_PREFIX        "w83627ehf"
851
852#define SENSORS_W83627EHF_IN0           1 /* R */
853#define SENSORS_W83627EHF_IN1           2 /* R */
854#define SENSORS_W83627EHF_IN2           3 /* R */
855#define SENSORS_W83627EHF_IN3           4 /* R */
856#define SENSORS_W83627EHF_IN4           5 /* R */
857#define SENSORS_W83627EHF_IN5           6 /* R */
858#define SENSORS_W83627EHF_IN6           7 /* R */
859#define SENSORS_W83627EHF_IN7           8 /* R */
860#define SENSORS_W83627EHF_IN8           9 /* R */
861#define SENSORS_W83627EHF_IN9           10 /* R */
862#define SENSORS_W83627EHF_IN0_ALARM     111 /* R */
863#define SENSORS_W83627EHF_IN1_ALARM     112 /* R */
864#define SENSORS_W83627EHF_IN2_ALARM     113 /* R */
865#define SENSORS_W83627EHF_IN3_ALARM     114 /* R */
866#define SENSORS_W83627EHF_IN4_ALARM     115 /* R */
867#define SENSORS_W83627EHF_IN5_ALARM     116 /* R */
868#define SENSORS_W83627EHF_IN6_ALARM     117 /* R */
869#define SENSORS_W83627EHF_IN7_ALARM     118 /* R */
870#define SENSORS_W83627EHF_IN8_ALARM     119 /* R */
871#define SENSORS_W83627EHF_IN9_ALARM     120 /* R */
872#define SENSORS_W83627EHF_IN0_MIN       11 /* RW */
873#define SENSORS_W83627EHF_IN1_MIN       12 /* RW */
874#define SENSORS_W83627EHF_IN2_MIN       13 /* RW */
875#define SENSORS_W83627EHF_IN3_MIN       14 /* RW */
876#define SENSORS_W83627EHF_IN4_MIN       15 /* RW */
877#define SENSORS_W83627EHF_IN5_MIN       16 /* RW */
878#define SENSORS_W83627EHF_IN6_MIN       17 /* RW */
879#define SENSORS_W83627EHF_IN7_MIN       18 /* RW */
880#define SENSORS_W83627EHF_IN8_MIN       19 /* RW */
881#define SENSORS_W83627EHF_IN9_MIN       20 /* RW */
882#define SENSORS_W83627EHF_IN0_MAX       21 /* RW */
883#define SENSORS_W83627EHF_IN1_MAX       22 /* RW */
884#define SENSORS_W83627EHF_IN2_MAX       23 /* RW */
885#define SENSORS_W83627EHF_IN3_MAX       24 /* RW */
886#define SENSORS_W83627EHF_IN4_MAX       25 /* RW */
887#define SENSORS_W83627EHF_IN5_MAX       26 /* RW */
888#define SENSORS_W83627EHF_IN6_MAX       27 /* RW */
889#define SENSORS_W83627EHF_IN7_MAX       28 /* RW */
890#define SENSORS_W83627EHF_IN8_MAX       29 /* RW */
891#define SENSORS_W83627EHF_IN9_MAX       30 /* RW */
892#define SENSORS_W83627EHF_FAN1          31 /* R  */
893#define SENSORS_W83627EHF_FAN2          32 /* R  */
894#define SENSORS_W83627EHF_FAN3          33 /* R  */
895#define SENSORS_W83627EHF_FAN4          34 /* R  */
896#define SENSORS_W83627EHF_FAN5          35 /* R  */
897#define SENSORS_W83627EHF_FAN1_MIN      41 /* RW */
898#define SENSORS_W83627EHF_FAN2_MIN      42 /* RW */
899#define SENSORS_W83627EHF_FAN3_MIN      43 /* RW */
900#define SENSORS_W83627EHF_FAN4_MIN      44 /* RW */
901#define SENSORS_W83627EHF_FAN5_MIN      45 /* RW */
902#define SENSORS_W83627EHF_FAN1_DIV      51 /* RW */
903#define SENSORS_W83627EHF_FAN2_DIV      52 /* RW */
904#define SENSORS_W83627EHF_FAN3_DIV      53 /* RW */
905#define SENSORS_W83627EHF_FAN4_DIV      54 /* RW */
906#define SENSORS_W83627EHF_FAN5_DIV      55 /* RW */
907#define SENSORS_W83627EHF_TEMP1         61 /* R  */
908#define SENSORS_W83627EHF_TEMP2         62 /* R  */
909#define SENSORS_W83627EHF_TEMP3         63 /* R  */
910#define SENSORS_W83627EHF_TEMP1_OVER    71 /* RW */
911#define SENSORS_W83627EHF_TEMP2_OVER    72 /* RW */
912#define SENSORS_W83627EHF_TEMP3_OVER    73 /* RW */
913#define SENSORS_W83627EHF_TEMP1_HYST    81 /* RW */
914#define SENSORS_W83627EHF_TEMP2_HYST    82 /* RW */
915#define SENSORS_W83627EHF_TEMP3_HYST    83 /* RW */
916
917
918/* Analog Devices ADM9240 chips */
919
920#define SENSORS_ADM9240_PREFIX "adm9240"
921#define SENSORS_LM81_PREFIX "lm81"
922#define SENSORS_DS1780_PREFIX "ds1780"
923
924/* All three chips have the same features */
925#define SENSORS_ADM9240_IN0 1 /* R */
926#define SENSORS_ADM9240_IN1 2 /* R */
927#define SENSORS_ADM9240_IN2 3 /* R */
928#define SENSORS_ADM9240_IN3 4 /* R */
929#define SENSORS_ADM9240_IN4 5 /* R */
930#define SENSORS_ADM9240_IN5 6 /* R */
931#define SENSORS_ADM9240_IN0_MIN 11 /* RW */
932#define SENSORS_ADM9240_IN1_MIN 12 /* RW */
933#define SENSORS_ADM9240_IN2_MIN 13 /* RW */
934#define SENSORS_ADM9240_IN3_MIN 14 /* RW */
935#define SENSORS_ADM9240_IN4_MIN 15 /* RW */
936#define SENSORS_ADM9240_IN5_MIN 16 /* RW */
937#define SENSORS_ADM9240_IN0_MAX 21 /* RW */
938#define SENSORS_ADM9240_IN1_MAX 22 /* RW */
939#define SENSORS_ADM9240_IN2_MAX 23 /* RW */
940#define SENSORS_ADM9240_IN3_MAX 24 /* RW */
941#define SENSORS_ADM9240_IN4_MAX 25 /* RW */
942#define SENSORS_ADM9240_IN5_MAX 26 /* RW */
943#define SENSORS_ADM9240_FAN1 31 /* R */
944#define SENSORS_ADM9240_FAN2 32 /* R */
945#define SENSORS_ADM9240_FAN1_MIN 41 /* RW */
946#define SENSORS_ADM9240_FAN2_MIN 42 /* RW */
947#define SENSORS_ADM9240_TEMP 51 /* R */
948#define SENSORS_ADM9240_TEMP_HYST 52 /* RW */
949#define SENSORS_ADM9240_TEMP_OVER 53 /* RW */
950#define SENSORS_ADM9240_VID 61 /* R */
951#define SENSORS_ADM9240_FAN1_DIV 71 /* RW */
952#define SENSORS_ADM9240_FAN2_DIV 72 /* RW */
953#define SENSORS_ADM9240_ALARMS 81 /* R */
954#define SENSORS_ADM9240_ANALOG_OUT 82 /* RW */
955
956
957/* SiS southbridge with integrated lm78 */
958
959#define SENSORS_SIS5595_PREFIX "sis5595"
960
961#define SENSORS_SIS5595_IN0 1 /* R */
962#define SENSORS_SIS5595_IN1 2 /* R */
963#define SENSORS_SIS5595_IN2 3 /* R */
964#define SENSORS_SIS5595_IN3 4 /* R */
965#define SENSORS_SIS5595_IN4 5 /* R */
966#define SENSORS_SIS5595_IN0_MIN 11 /* RW */
967#define SENSORS_SIS5595_IN1_MIN 12 /* RW */
968#define SENSORS_SIS5595_IN2_MIN 13 /* RW */
969#define SENSORS_SIS5595_IN3_MIN 14 /* RW */
970#define SENSORS_SIS5595_IN4_MIN 15 /* RW */
971#define SENSORS_SIS5595_IN0_MAX 21 /* RW */
972#define SENSORS_SIS5595_IN1_MAX 22 /* RW */
973#define SENSORS_SIS5595_IN2_MAX 23 /* RW */
974#define SENSORS_SIS5595_IN3_MAX 24 /* RW */
975#define SENSORS_SIS5595_IN4_MAX 25 /* RW */
976#define SENSORS_SIS5595_FAN1 31 /* R */
977#define SENSORS_SIS5595_FAN2 32 /* R */
978#define SENSORS_SIS5595_FAN1_MIN 41 /* RW */
979#define SENSORS_SIS5595_FAN2_MIN 42 /* RW */
980#define SENSORS_SIS5595_TEMP 51 /* R */
981#define SENSORS_SIS5595_TEMP_HYST 52 /* RW */
982#define SENSORS_SIS5595_TEMP_OVER 53 /* RW */
983#define SENSORS_SIS5595_FAN1_DIV 71 /* RW */
984#define SENSORS_SIS5595_FAN2_DIV 72 /* RW */
985#define SENSORS_SIS5595_ALARMS 81 /* R */
986
987
988/* HP MaxiLife chips */
989
990#define SENSORS_MAXI_CG_PREFIX "maxilife-cg"
991#define SENSORS_MAXI_CO_PREFIX "maxilife-co"
992#define SENSORS_MAXI_AS_PREFIX "maxilife-as"
993#define SENSORS_MAXI_NBA_PREFIX "maxilife-nba"
994
995#define SENSORS_MAXI_CG_FAN1 1 /* R */
996#define SENSORS_MAXI_CG_FAN2 2 /* R */
997#define SENSORS_MAXI_CG_FAN3 3 /* R */
998#define SENSORS_MAXI_CG_FAN1_MIN 11 /* RW */
999#define SENSORS_MAXI_CG_FAN2_MIN 12 /* RW */
1000#define SENSORS_MAXI_CG_FAN3_MIN 13 /* RW */
1001#define SENSORS_MAXI_CG_FAN1_DIV 14 /* R */
1002#define SENSORS_MAXI_CG_FAN2_DIV 15 /* R */
1003#define SENSORS_MAXI_CG_FAN3_DIV 16 /* R */
1004#define SENSORS_MAXI_CG_TEMP1 21 /* R */
1005#define SENSORS_MAXI_CG_TEMP2 22 /* R */
1006#define SENSORS_MAXI_CG_TEMP3 23 /* R */
1007#define SENSORS_MAXI_CG_TEMP4 24 /* R */
1008#define SENSORS_MAXI_CG_TEMP5 25 /* R */
1009#define SENSORS_MAXI_CG_TEMP1_MAX 31 /* R */
1010#define SENSORS_MAXI_CG_TEMP2_MAX 32 /* R */
1011#define SENSORS_MAXI_CG_TEMP3_MAX 33 /* R */
1012#define SENSORS_MAXI_CG_TEMP4_MAX 34 /* R */
1013#define SENSORS_MAXI_CG_TEMP5_MAX 35 /* R */
1014#define SENSORS_MAXI_CG_TEMP1_HYST 41 /* R */
1015#define SENSORS_MAXI_CG_TEMP2_HYST 42 /* R */
1016#define SENSORS_MAXI_CG_TEMP3_HYST 43 /* R */
1017#define SENSORS_MAXI_CG_TEMP4_HYST 44 /* R */
1018#define SENSORS_MAXI_CG_TEMP5_HYST 45 /* R */
1019#define SENSORS_MAXI_CG_PLL 51 /* R */
1020#define SENSORS_MAXI_CG_PLL_MIN 52 /* RW */
1021#define SENSORS_MAXI_CG_PLL_MAX 53 /* RW */
1022#define SENSORS_MAXI_CG_VID1 61 /* R */
1023#define SENSORS_MAXI_CG_VID2 62 /* R */
1024#define SENSORS_MAXI_CG_VID3 63 /* R */
1025#define SENSORS_MAXI_CG_VID4 64 /* R */
1026#define SENSORS_MAXI_CG_VID1_MIN 71 /* RW */
1027#define SENSORS_MAXI_CG_VID2_MIN 72 /* RW */
1028#define SENSORS_MAXI_CG_VID3_MIN 73 /* RW */
1029#define SENSORS_MAXI_CG_VID4_MIN 74 /* RW */
1030#define SENSORS_MAXI_CG_VID1_MAX 81 /* RW */
1031#define SENSORS_MAXI_CG_VID2_MAX 82 /* RW */
1032#define SENSORS_MAXI_CG_VID3_MAX 83 /* RW */
1033#define SENSORS_MAXI_CG_VID4_MAX 84 /* RW */
1034#define SENSORS_MAXI_CG_ALARMS 91 /* R */
1035
1036#define SENSORS_MAXI_CO_FAN1 1 /* R */
1037#define SENSORS_MAXI_CO_FAN2 2 /* R */
1038#define SENSORS_MAXI_CO_FAN3 3 /* R */
1039#define SENSORS_MAXI_CO_FAN1_MIN 11 /* RW */
1040#define SENSORS_MAXI_CO_FAN2_MIN 12 /* RW */
1041#define SENSORS_MAXI_CO_FAN3_MIN 13 /* RW */
1042#define SENSORS_MAXI_CO_FAN1_DIV 14 /* R */
1043#define SENSORS_MAXI_CO_FAN2_DIV 15 /* R */
1044#define SENSORS_MAXI_CO_FAN3_DIV 16 /* R */
1045#define SENSORS_MAXI_CO_TEMP1 21 /* R */
1046#define SENSORS_MAXI_CO_TEMP2 22 /* R */
1047#define SENSORS_MAXI_CO_TEMP3 23 /* R */
1048#define SENSORS_MAXI_CO_TEMP4 24 /* R */
1049#define SENSORS_MAXI_CO_TEMP5 25 /* R */
1050#define SENSORS_MAXI_CO_TEMP1_MAX 31 /* R */
1051#define SENSORS_MAXI_CO_TEMP2_MAX 32 /* R */
1052#define SENSORS_MAXI_CO_TEMP3_MAX 33 /* R */
1053#define SENSORS_MAXI_CO_TEMP4_MAX 34 /* R */
1054#define SENSORS_MAXI_CO_TEMP5_MAX 35 /* R */
1055#define SENSORS_MAXI_CO_TEMP1_HYST 41 /* R */
1056#define SENSORS_MAXI_CO_TEMP2_HYST 42 /* R */
1057#define SENSORS_MAXI_CO_TEMP3_HYST 43 /* R */
1058#define SENSORS_MAXI_CO_TEMP4_HYST 44 /* R */
1059#define SENSORS_MAXI_CO_TEMP5_HYST 45 /* R */
1060#define SENSORS_MAXI_CO_PLL 51 /* R */
1061#define SENSORS_MAXI_CO_PLL_MIN 52 /* RW */
1062#define SENSORS_MAXI_CO_PLL_MAX 53 /* RW */
1063#define SENSORS_MAXI_CO_VID1 61 /* R */
1064#define SENSORS_MAXI_CO_VID2 62 /* R */
1065#define SENSORS_MAXI_CO_VID3 63 /* R */
1066#define SENSORS_MAXI_CO_VID4 64 /* R */
1067#define SENSORS_MAXI_CO_VID1_MIN 71 /* RW */
1068#define SENSORS_MAXI_CO_VID2_MIN 72 /* RW */
1069#define SENSORS_MAXI_CO_VID3_MIN 73 /* RW */
1070#define SENSORS_MAXI_CO_VID4_MIN 74 /* RW */
1071#define SENSORS_MAXI_CO_VID1_MAX 81 /* RW */
1072#define SENSORS_MAXI_CO_VID2_MAX 82 /* RW */
1073#define SENSORS_MAXI_CO_VID3_MAX 83 /* RW */
1074#define SENSORS_MAXI_CO_VID4_MAX 84 /* RW */
1075#define SENSORS_MAXI_CO_ALARMS 91 /* R */
1076
1077#define SENSORS_MAXI_AS_FAN1 1 /* R */
1078#define SENSORS_MAXI_AS_FAN2 2 /* R */
1079#define SENSORS_MAXI_AS_FAN3 3 /* R */
1080#define SENSORS_MAXI_AS_FAN1_MIN 11 /* RW */
1081#define SENSORS_MAXI_AS_FAN2_MIN 12 /* RW */
1082#define SENSORS_MAXI_AS_FAN3_MIN 13 /* RW */
1083#define SENSORS_MAXI_AS_FAN1_DIV 14 /* R */
1084#define SENSORS_MAXI_AS_FAN2_DIV 15 /* R */
1085#define SENSORS_MAXI_AS_FAN3_DIV 16 /* R */
1086#define SENSORS_MAXI_AS_TEMP1 21 /* R */
1087#define SENSORS_MAXI_AS_TEMP2 22 /* R */
1088#define SENSORS_MAXI_AS_TEMP3 23 /* R */
1089#define SENSORS_MAXI_AS_TEMP4 24 /* R */
1090#define SENSORS_MAXI_AS_TEMP5 25 /* R */
1091#define SENSORS_MAXI_AS_TEMP1_MAX 31 /* R */
1092#define SENSORS_MAXI_AS_TEMP2_MAX 32 /* R */
1093#define SENSORS_MAXI_AS_TEMP3_MAX 33 /* R */
1094#define SENSORS_MAXI_AS_TEMP4_MAX 34 /* R */
1095#define SENSORS_MAXI_AS_TEMP5_MAX 35 /* R */
1096#define SENSORS_MAXI_AS_TEMP1_HYST 41 /* R */
1097#define SENSORS_MAXI_AS_TEMP2_HYST 42 /* R */
1098#define SENSORS_MAXI_AS_TEMP3_HYST 43 /* R */
1099#define SENSORS_MAXI_AS_TEMP4_HYST 44 /* R */
1100#define SENSORS_MAXI_AS_TEMP5_HYST 45 /* R */
1101#define SENSORS_MAXI_AS_PLL 51 /* R */
1102#define SENSORS_MAXI_AS_PLL_MIN 52 /* RW */
1103#define SENSORS_MAXI_AS_PLL_MAX 53 /* RW */
1104#define SENSORS_MAXI_AS_VID1 61 /* R */
1105#define SENSORS_MAXI_AS_VID2 62 /* R */
1106#define SENSORS_MAXI_AS_VID3 63 /* R */
1107#define SENSORS_MAXI_AS_VID4 64 /* R */
1108#define SENSORS_MAXI_AS_VID1_MIN 71 /* RW */
1109#define SENSORS_MAXI_AS_VID2_MIN 72 /* RW */
1110#define SENSORS_MAXI_AS_VID3_MIN 73 /* RW */
1111#define SENSORS_MAXI_AS_VID4_MIN 74 /* RW */
1112#define SENSORS_MAXI_AS_VID1_MAX 81 /* RW */
1113#define SENSORS_MAXI_AS_VID2_MAX 82 /* RW */
1114#define SENSORS_MAXI_AS_VID3_MAX 83 /* RW */
1115#define SENSORS_MAXI_AS_VID4_MAX 84 /* RW */
1116#define SENSORS_MAXI_AS_ALARMS 91 /* R */
1117
1118/* THMC50/ADM1022 chips */
1119
1120#define SENSORS_THMC50_PREFIX "thmc50"
1121/* Cheat on LM84,GL523,THMC10 for now - no separate #defines */
1122#define SENSORS_ADM1022_PREFIX "adm1022"
1123
1124#define SENSORS_THMC50_TEMP 51 /* R */
1125#define SENSORS_THMC50_TEMP_HYST 52 /* RW */
1126#define SENSORS_THMC50_TEMP_OVER 53 /* RW */
1127#define SENSORS_THMC50_REMOTE_TEMP 54 /* R */
1128#define SENSORS_THMC50_REMOTE_TEMP_HYST 55 /* RW */
1129#define SENSORS_THMC50_REMOTE_TEMP_OVER 56 /* RW */
1130#define SENSORS_THMC50_ANALOG_OUT 71 /* RW */
1131#define SENSORS_THMC50_INTER 81 /* R */
1132#define SENSORS_THMC50_INTER_MASK 82 /* RW */
1133#define SENSORS_THMC50_DIE_CODE 90 /* R */
1134
1135/* ADM1025 chip */
1136
1137#define SENSORS_ADM1025_PREFIX "adm1025"
1138#define SENSORS_NE1619_PREFIX "ne1619"
1139
1140#define SENSORS_ADM1025_IN0 1 /* R */
1141#define SENSORS_ADM1025_IN1 2 /* R */
1142#define SENSORS_ADM1025_IN2 3 /* R */
1143#define SENSORS_ADM1025_IN3 4 /* R */
1144#define SENSORS_ADM1025_IN4 5 /* R */
1145#define SENSORS_ADM1025_IN5 6 /* R */
1146#define SENSORS_ADM1025_IN0_MIN 11 /* RW */
1147#define SENSORS_ADM1025_IN1_MIN 12 /* RW */
1148#define SENSORS_ADM1025_IN2_MIN 13 /* RW */
1149#define SENSORS_ADM1025_IN3_MIN 14 /* RW */
1150#define SENSORS_ADM1025_IN4_MIN 15 /* RW */
1151#define SENSORS_ADM1025_IN5_MIN 16 /* RW */
1152#define SENSORS_ADM1025_IN0_MAX 21 /* RW */
1153#define SENSORS_ADM1025_IN1_MAX 22 /* RW */
1154#define SENSORS_ADM1025_IN2_MAX 23 /* RW */
1155#define SENSORS_ADM1025_IN3_MAX 24 /* RW */
1156#define SENSORS_ADM1025_IN4_MAX 25 /* RW */
1157#define SENSORS_ADM1025_IN5_MAX 26 /* RW */
1158#define SENSORS_ADM1025_TEMP1 51 /* R */
1159#define SENSORS_ADM1025_TEMP1_LOW 52 /* RW */
1160#define SENSORS_ADM1025_TEMP1_HIGH 53 /* RW */
1161#define SENSORS_ADM1025_TEMP2 54 /* R */
1162#define SENSORS_ADM1025_TEMP2_LOW 55 /* RW */
1163#define SENSORS_ADM1025_TEMP2_HIGH 56 /* RW */
1164#define SENSORS_ADM1025_VID 61 /* R */
1165#define SENSORS_ADM1025_VRM 62 /* R */
1166#define SENSORS_ADM1025_ALARMS 81 /* R */
1167
1168
1169#define SENSORS_ADM1026_PREFIX "adm1026"
1170/* NOTE: print_adm1026 (sensors) depends on the ordering
1171 *    of these entries in each group.  For example
1172 *         fan#, fan#_div, fan#_min
1173 *         temp#, temp#_max, temp#_min, temp#_offset
1174 *    and the ordering of the groups
1175 *         in0, in1, ... in9, in10, in11
1176 */
1177#define SENSORS_ADM1026_AFC_DAC            1  /* RW -- afc_analog_out  */
1178#define SENSORS_ADM1026_AFC_PWM            2  /* RW -- afc_pwm  */
1179#define SENSORS_ADM1026_ALARMS             3  /* R  -- alarms  */
1180#define SENSORS_ADM1026_ALARM_MASK         4  /* R  -- alarm_mask  */
1181#define SENSORS_ADM1026_DAC                5  /* RW -- analog_out  */
1182#define SENSORS_ADM1026_GPIO               6  /* R  -- gpio  */
1183#define SENSORS_ADM1026_GPIO_MASK          7  /* R  -- gpio_mask  */
1184#define SENSORS_ADM1026_PWM                8  /* RW -- pwm  */
1185#define SENSORS_ADM1026_VID                9  /* RW -- vid  */
1186#define SENSORS_ADM1026_VRM               10  /* RW -- vrm  */
1187#define SENSORS_ADM1026_FAN0              11  /* R  -- fan0  */
1188#define SENSORS_ADM1026_FAN0_DIV          12  /* RW -- fan0_div  */
1189#define SENSORS_ADM1026_FAN0_MIN          13  /* RW -- fan0_min  */
1190#define SENSORS_ADM1026_FAN1              14  /* R  -- fan1  */
1191#define SENSORS_ADM1026_FAN1_DIV          15  /* RW -- fan1_div  */
1192#define SENSORS_ADM1026_FAN1_MIN          16  /* RW -- fan1_min  */
1193#define SENSORS_ADM1026_FAN2              17  /* R  -- fan2  */
1194#define SENSORS_ADM1026_FAN2_DIV          18  /* RW -- fan2_div  */
1195#define SENSORS_ADM1026_FAN2_MIN          19  /* RW -- fan2_min  */
1196#define SENSORS_ADM1026_FAN3              20  /* R  -- fan3  */
1197#define SENSORS_ADM1026_FAN3_DIV          21  /* RW -- fan3_div  */
1198#define SENSORS_ADM1026_FAN3_MIN          22  /* RW -- fan3_min  */
1199#define SENSORS_ADM1026_FAN4              23  /* R  -- fan4  */
1200#define SENSORS_ADM1026_FAN4_DIV          24  /* RW -- fan4_div  */
1201#define SENSORS_ADM1026_FAN4_MIN          25  /* RW -- fan4_min  */
1202#define SENSORS_ADM1026_FAN5              26  /* R  -- fan5  */
1203#define SENSORS_ADM1026_FAN5_DIV          27  /* RW -- fan5_div  */
1204#define SENSORS_ADM1026_FAN5_MIN          28  /* RW -- fan5_min  */
1205#define SENSORS_ADM1026_FAN6              29  /* R  -- fan6  */
1206#define SENSORS_ADM1026_FAN6_DIV          30  /* RW -- fan6_div  */
1207#define SENSORS_ADM1026_FAN6_MIN          31  /* RW -- fan6_min  */
1208#define SENSORS_ADM1026_FAN7              32  /* R  -- fan7  */
1209#define SENSORS_ADM1026_FAN7_DIV          33  /* RW -- fan7_div  */
1210#define SENSORS_ADM1026_FAN7_MIN          34  /* RW -- fan7_min  */
1211#define SENSORS_ADM1026_IN0               35  /* R  -- in0  */
1212#define SENSORS_ADM1026_IN0_MAX           36  /* RW -- in0_max  */
1213#define SENSORS_ADM1026_IN0_MIN           37  /* RW -- in0_min  */
1214#define SENSORS_ADM1026_IN1               38  /* R  -- in1  */
1215#define SENSORS_ADM1026_IN1_MAX           39  /* RW -- in1_max  */
1216#define SENSORS_ADM1026_IN1_MIN           40  /* RW -- in1_min  */
1217#define SENSORS_ADM1026_IN2               41  /* R  -- in2  */
1218#define SENSORS_ADM1026_IN2_MAX           42  /* RW -- in2_max  */
1219#define SENSORS_ADM1026_IN2_MIN           43  /* RW -- in2_min  */
1220#define SENSORS_ADM1026_IN3               44  /* R  -- in3  */
1221#define SENSORS_ADM1026_IN3_MAX           45  /* RW -- in3_max  */
1222#define SENSORS_ADM1026_IN3_MIN           46  /* RW -- in3_min  */
1223#define SENSORS_ADM1026_IN4               47  /* R  -- in4  */
1224#define SENSORS_ADM1026_IN4_MAX           48  /* RW -- in4_max  */
1225#define SENSORS_ADM1026_IN4_MIN           49  /* RW -- in4_min  */
1226#define SENSORS_ADM1026_IN5               50  /* R  -- in5  */
1227#define SENSORS_ADM1026_IN5_MAX           51  /* RW -- in5_max  */
1228#define SENSORS_ADM1026_IN5_MIN           52  /* RW -- in5_min  */
1229#define SENSORS_ADM1026_IN6               53  /* R  -- in6  */
1230#define SENSORS_ADM1026_IN6_MAX           54  /* RW -- in6_max  */
1231#define SENSORS_ADM1026_IN6_MIN           55  /* RW -- in6_min  */
1232#define SENSORS_ADM1026_IN7               56  /* R  -- in7  */
1233#define SENSORS_ADM1026_IN7_MAX           57  /* RW -- in7_max  */
1234#define SENSORS_ADM1026_IN7_MIN           58  /* RW -- in7_min  */
1235#define SENSORS_ADM1026_IN8               59  /* R  -- in8  */
1236#define SENSORS_ADM1026_IN8_MAX           60  /* RW -- in8_max  */
1237#define SENSORS_ADM1026_IN8_MIN           61  /* RW -- in8_min  */
1238#define SENSORS_ADM1026_IN9               62  /* R  -- in9  */
1239#define SENSORS_ADM1026_IN9_MAX           63  /* RW -- in9_max  */
1240#define SENSORS_ADM1026_IN9_MIN           64  /* RW -- in9_min  */
1241#define SENSORS_ADM1026_IN10              65  /* R  -- in10  */
1242#define SENSORS_ADM1026_IN10_MAX          66  /* RW -- in10_max  */
1243#define SENSORS_ADM1026_IN10_MIN          67  /* RW -- in10_min  */
1244#define SENSORS_ADM1026_IN11              68  /* R  -- in11  */
1245#define SENSORS_ADM1026_IN11_MAX          69  /* RW -- in11_max  */
1246#define SENSORS_ADM1026_IN11_MIN          70  /* RW -- in11_min  */
1247#define SENSORS_ADM1026_IN12              71  /* R  -- in12  */
1248#define SENSORS_ADM1026_IN12_MAX          72  /* RW -- in12_max  */
1249#define SENSORS_ADM1026_IN12_MIN          73  /* RW -- in12_min  */
1250#define SENSORS_ADM1026_IN13              74  /* R  -- in13  */
1251#define SENSORS_ADM1026_IN13_MAX          75  /* RW -- in13_max  */
1252#define SENSORS_ADM1026_IN13_MIN          76  /* RW -- in13_min  */
1253#define SENSORS_ADM1026_IN14              77  /* R  -- in14  */
1254#define SENSORS_ADM1026_IN14_MAX          78  /* RW -- in14_max  */
1255#define SENSORS_ADM1026_IN14_MIN          79  /* RW -- in14_min  */
1256#define SENSORS_ADM1026_IN15              80  /* R  -- in15  */
1257#define SENSORS_ADM1026_IN15_MAX          81  /* RW -- in15_max  */
1258#define SENSORS_ADM1026_IN15_MIN          82  /* RW -- in15_min  */
1259#define SENSORS_ADM1026_IN16              83  /* R  -- in16  */
1260#define SENSORS_ADM1026_IN16_MAX          84  /* RW -- in16_max  */
1261#define SENSORS_ADM1026_IN16_MIN          85  /* RW -- in16_min  */
1262#define SENSORS_ADM1026_TEMP1             86  /* R  -- temp1  */
1263#define SENSORS_ADM1026_TEMP1_MAX         87  /* RW -- temp1_max  */
1264#define SENSORS_ADM1026_TEMP1_MIN         88  /* RW -- temp1_min  */
1265#define SENSORS_ADM1026_TEMP1_OFFSET      89  /* RW -- temp1_offset  */
1266#define SENSORS_ADM1026_TEMP1_THERM       90  /* RW -- temp1_therm  */
1267#define SENSORS_ADM1026_TEMP1_TMIN        91  /* RW -- temp1_tmin  */
1268#define SENSORS_ADM1026_TEMP2             92  /* R  -- temp2  */
1269#define SENSORS_ADM1026_TEMP2_MAX         93  /* RW -- temp2_max  */
1270#define SENSORS_ADM1026_TEMP2_MIN         94  /* RW -- temp2_min  */
1271#define SENSORS_ADM1026_TEMP2_OFFSET      95  /* RW -- temp2_offset  */
1272#define SENSORS_ADM1026_TEMP2_THERM       96  /* RW -- temp2_therm  */
1273#define SENSORS_ADM1026_TEMP2_TMIN        97  /* RW -- temp2_tmin  */
1274#define SENSORS_ADM1026_TEMP3             98  /* R  -- temp3  */
1275#define SENSORS_ADM1026_TEMP3_MAX         99  /* RW -- temp3_max  */
1276#define SENSORS_ADM1026_TEMP3_MIN        100  /* RW -- temp3_min  */
1277#define SENSORS_ADM1026_TEMP3_OFFSET     101  /* RW -- temp3_offset  */
1278#define SENSORS_ADM1026_TEMP3_THERM      102  /* RW -- temp3_therm  */
1279#define SENSORS_ADM1026_TEMP3_TMIN       103  /* RW -- temp3_tmin  */
1280
1281
1282#define SENSORS_VIA686A_PREFIX "via686a"
1283
1284#define SENSORS_VIA686A_IN0 1 /* R */
1285#define SENSORS_VIA686A_IN1 2 /* R */
1286#define SENSORS_VIA686A_IN2 3 /* R */
1287#define SENSORS_VIA686A_IN3 4 /* R */
1288#define SENSORS_VIA686A_IN4 5 /* R */
1289#define SENSORS_VIA686A_IN0_MIN 11 /* RW */
1290#define SENSORS_VIA686A_IN1_MIN 12 /* RW */
1291#define SENSORS_VIA686A_IN2_MIN 13 /* RW */
1292#define SENSORS_VIA686A_IN3_MIN 14 /* RW */
1293#define SENSORS_VIA686A_IN4_MIN 15 /* RW */
1294#define SENSORS_VIA686A_IN0_MAX 21 /* RW */
1295#define SENSORS_VIA686A_IN1_MAX 22 /* RW */
1296#define SENSORS_VIA686A_IN2_MAX 23 /* RW */
1297#define SENSORS_VIA686A_IN3_MAX 24 /* RW */
1298#define SENSORS_VIA686A_IN4_MAX 25 /* RW */
1299#define SENSORS_VIA686A_FAN1 31 /* R */
1300#define SENSORS_VIA686A_FAN2 32 /* R */
1301#define SENSORS_VIA686A_FAN1_MIN 41 /* RW */
1302#define SENSORS_VIA686A_FAN2_MIN 42 /* RW */
1303#define SENSORS_VIA686A_TEMP 51 /* R */
1304#define SENSORS_VIA686A_TEMP_HYST 52 /* RW */
1305#define SENSORS_VIA686A_TEMP_OVER 53 /* RW */
1306#define SENSORS_VIA686A_TEMP2 54 /* R */
1307#define SENSORS_VIA686A_TEMP2_HYST 55 /* RW */
1308#define SENSORS_VIA686A_TEMP2_OVER 56 /* RW */
1309#define SENSORS_VIA686A_TEMP3 57 /* R */
1310#define SENSORS_VIA686A_TEMP3_HYST 58 /* RW */
1311#define SENSORS_VIA686A_TEMP3_OVER 59 /* RW */
1312#define SENSORS_VIA686A_FAN1_DIV 71 /* RW */
1313#define SENSORS_VIA686A_FAN2_DIV 72 /* RW */
1314#define SENSORS_VIA686A_ALARMS 81 /* R */
1315
1316
1317/* DDC Monitor */
1318
1319#define SENSORS_DDCMON_PREFIX "ddcmon"
1320
1321#define SENSORS_DDCMON_MAN_ID 10
1322#define SENSORS_DDCMON_PROD_ID 11
1323#define SENSORS_DDCMON_YEAR 13
1324#define SENSORS_DDCMON_WEEK 14
1325#define SENSORS_DDCMON_EDID_VER 15
1326#define SENSORS_DDCMON_EDID_REV 16
1327#define SENSORS_DDCMON_HORSIZE 21
1328#define SENSORS_DDCMON_VERSIZE 22
1329#define SENSORS_DDCMON_GAMMA 23
1330#define SENSORS_DDCMON_DPMS 24
1331#define SENSORS_DDCMON_HORSYNCMIN 31
1332#define SENSORS_DDCMON_HORSYNCMAX 32
1333#define SENSORS_DDCMON_VERSYNCMIN 33
1334#define SENSORS_DDCMON_VERSYNCMAX 34
1335#define SENSORS_DDCMON_MAXCLOCK 35
1336#define SENSORS_DDCMON_SERIAL 40
1337#define SENSORS_DDCMON_TIMINGS 50
1338#define SENSORS_DDCMON_TIMING1_HOR 51
1339#define SENSORS_DDCMON_TIMING1_VER 52
1340#define SENSORS_DDCMON_TIMING1_REF 53
1341#define SENSORS_DDCMON_TIMING2_HOR 54
1342#define SENSORS_DDCMON_TIMING2_VER 55
1343#define SENSORS_DDCMON_TIMING2_REF 56
1344#define SENSORS_DDCMON_TIMING3_HOR 57
1345#define SENSORS_DDCMON_TIMING3_VER 58
1346#define SENSORS_DDCMON_TIMING3_REF 59
1347#define SENSORS_DDCMON_TIMING4_HOR 60
1348#define SENSORS_DDCMON_TIMING4_VER 61
1349#define SENSORS_DDCMON_TIMING4_REF 62
1350#define SENSORS_DDCMON_TIMING5_HOR 63
1351#define SENSORS_DDCMON_TIMING5_VER 64
1352#define SENSORS_DDCMON_TIMING5_REF 65
1353#define SENSORS_DDCMON_TIMING6_HOR 66
1354#define SENSORS_DDCMON_TIMING6_VER 67
1355#define SENSORS_DDCMON_TIMING6_REF 68
1356#define SENSORS_DDCMON_TIMING7_HOR 69
1357#define SENSORS_DDCMON_TIMING7_VER 70
1358#define SENSORS_DDCMON_TIMING7_REF 71
1359#define SENSORS_DDCMON_TIMING8_HOR 72
1360#define SENSORS_DDCMON_TIMING8_VER 73
1361#define SENSORS_DDCMON_TIMING8_REF 74
1362
1363/* EEPROM (SDRAM DIMM) */
1364
1365#define SENSORS_EEPROM_PREFIX "eeprom"
1366
1367#define SENSORS_EEPROM_TYPE 10
1368#define SENSORS_EEPROM_ROWADDR 12
1369#define SENSORS_EEPROM_COLADDR 13
1370#define SENSORS_EEPROM_NUMROWS 14
1371#define SENSORS_EEPROM_BANKS 15
1372
1373#define SENSORS_EEPROM_VAIO_NAME 128
1374/* 129 to 159: reserved, do not use! */
1375#define SENSORS_EEPROM_VAIO_SERIAL 160
1376/* 161 to 191: reserved, do not use! */
1377
1378#define SENSORS_EEPROM_EDID_HEADER 32
1379/* 33 to 39: reserved, do not use! */
1380
1381#define SENSORS_EEPROM_SHUTTLE 40
1382/* 41 to 45: reserved, do not use! */
1383
1384/* Analog Devices LM87 chips */
1385
1386#define SENSORS_LM87_PREFIX "lm87"
1387
1388#define SENSORS_LM87_IN0              1 /* R */
1389#define SENSORS_LM87_IN1              2 /* R */
1390#define SENSORS_LM87_IN2              3 /* R */
1391#define SENSORS_LM87_IN3              4 /* R */
1392#define SENSORS_LM87_IN4              5 /* R */
1393#define SENSORS_LM87_IN5              6 /* R */
1394#define SENSORS_LM87_AIN1             7 /* R */
1395#define SENSORS_LM87_AIN2             8 /* R */
1396#define SENSORS_LM87_IN0_MIN         11 /* RW */
1397#define SENSORS_LM87_IN1_MIN         12 /* RW */
1398#define SENSORS_LM87_IN2_MIN         13 /* RW */
1399#define SENSORS_LM87_IN3_MIN         14 /* RW */
1400#define SENSORS_LM87_IN4_MIN         15 /* RW */
1401#define SENSORS_LM87_IN5_MIN         16 /* RW */
1402#define SENSORS_LM87_AIN1_MIN        17 /* RW */
1403#define SENSORS_LM87_AIN2_MIN        18 /* RW */
1404#define SENSORS_LM87_IN0_MAX         21 /* RW */
1405#define SENSORS_LM87_IN1_MAX         22 /* RW */
1406#define SENSORS_LM87_IN2_MAX         23 /* RW */
1407#define SENSORS_LM87_IN3_MAX         24 /* RW */
1408#define SENSORS_LM87_IN4_MAX         25 /* RW */
1409#define SENSORS_LM87_IN5_MAX         26 /* RW */
1410#define SENSORS_LM87_AIN1_MAX        27 /* RW */
1411#define SENSORS_LM87_AIN2_MAX        28 /* RW */
1412#define SENSORS_LM87_FAN1            31 /* R */
1413#define SENSORS_LM87_FAN2            32 /* R */
1414#define SENSORS_LM87_FAN1_MIN        41 /* RW */
1415#define SENSORS_LM87_FAN2_MIN        42 /* RW */
1416#define SENSORS_LM87_TEMP1           51 /* R */
1417#define SENSORS_LM87_TEMP2           52 /* R */
1418#define SENSORS_LM87_TEMP3           53 /* R */
1419#define SENSORS_LM87_TEMP1_HYST      54 /* RW */
1420#define SENSORS_LM87_TEMP1_OVER      55 /* RW */
1421#define SENSORS_LM87_TEMP2_HYST      56 /* RW */
1422#define SENSORS_LM87_TEMP2_OVER      57 /* RW */
1423#define SENSORS_LM87_TEMP3_HYST      58 /* RW */
1424#define SENSORS_LM87_TEMP3_OVER      59 /* RW */
1425#define SENSORS_LM87_VID             61 /* R */
1426#define SENSORS_LM87_VRM             62 /* RW */
1427#define SENSORS_LM87_FAN1_DIV        71 /* RW */
1428#define SENSORS_LM87_FAN2_DIV        72 /* RW */
1429#define SENSORS_LM87_ALARMS          81 /* R */
1430#define SENSORS_LM87_ANALOG_OUT      82 /* RW */
1431
1432/* Myson MTP008 chips */
1433
1434#define SENSORS_MTP008_PREFIX           "mtp008"
1435
1436#define SENSORS_MTP008_IN0              1 /* R */
1437#define SENSORS_MTP008_IN1              2 /* R */
1438#define SENSORS_MTP008_IN2              3 /* R */
1439#define SENSORS_MTP008_IN3              4 /* R */
1440#define SENSORS_MTP008_IN4              5 /* R */
1441#define SENSORS_MTP008_IN5              6 /* R */
1442#define SENSORS_MTP008_IN6              7 /* R */
1443#define SENSORS_MTP008_IN0_MIN         11 /* RW */
1444#define SENSORS_MTP008_IN1_MIN         12 /* RW */
1445#define SENSORS_MTP008_IN2_MIN         13 /* RW */
1446#define SENSORS_MTP008_IN3_MIN         14 /* RW */
1447#define SENSORS_MTP008_IN4_MIN         15 /* RW */
1448#define SENSORS_MTP008_IN5_MIN         16 /* RW */
1449#define SENSORS_MTP008_IN6_MIN         17 /* RW */
1450#define SENSORS_MTP008_IN0_MAX         21 /* RW */
1451#define SENSORS_MTP008_IN1_MAX         22 /* RW */
1452#define SENSORS_MTP008_IN2_MAX         23 /* RW */
1453#define SENSORS_MTP008_IN3_MAX         24 /* RW */
1454#define SENSORS_MTP008_IN4_MAX         25 /* RW */
1455#define SENSORS_MTP008_IN5_MAX         26 /* RW */
1456#define SENSORS_MTP008_IN6_MAX         27 /* RW */
1457#define SENSORS_MTP008_FAN1            31 /* R */
1458#define SENSORS_MTP008_FAN2            32 /* R */
1459#define SENSORS_MTP008_FAN3            33 /* R */
1460#define SENSORS_MTP008_FAN1_MIN        41 /* RW */
1461#define SENSORS_MTP008_FAN2_MIN        42 /* RW */
1462#define SENSORS_MTP008_FAN3_MIN        43 /* RW */
1463#define SENSORS_MTP008_TEMP1           51 /* R */
1464#define SENSORS_MTP008_TEMP2           52 /* R */
1465#define SENSORS_MTP008_TEMP3           53 /* R */
1466#define SENSORS_MTP008_TEMP1_OVER      54 /* RW */
1467#define SENSORS_MTP008_TEMP1_HYST      55 /* RW */
1468#define SENSORS_MTP008_TEMP2_OVER      56 /* RW */
1469#define SENSORS_MTP008_TEMP2_HYST      57 /* RW */
1470#define SENSORS_MTP008_TEMP3_OVER      58 /* RW */
1471#define SENSORS_MTP008_TEMP3_HYST      59 /* RW */
1472#define SENSORS_MTP008_VID             61 /* R */
1473#define SENSORS_MTP008_FAN1_DIV        71 /* RW */
1474#define SENSORS_MTP008_FAN2_DIV        72 /* RW */
1475#define SENSORS_MTP008_FAN3_DIV        73 /* RW */
1476#define SENSORS_MTP008_ALARMS          81 /* R */
1477#define SENSORS_MTP008_BEEP            82 /* RW */
1478
1479/* DS1621 chips. */
1480
1481#define SENSORS_DS1621_PREFIX "ds1621"
1482
1483#define SENSORS_DS1621_TEMP 51 /* R */
1484#define SENSORS_DS1621_TEMP_HYST 52 /* RW */
1485#define SENSORS_DS1621_TEMP_OVER 53 /* RW */
1486#define SENSORS_DS1621_ALARMS 81 /* R */
1487#define SENSORS_DS1621_ENABLE 82 /* RW */
1488#define SENSORS_DS1621_CONTINUOUS 83 /* RW */
1489#define SENSORS_DS1621_POLARITY 84 /* RW */
1490
1491/* ADM1024 chip */
1492
1493#define SENSORS_ADM1024_PREFIX "adm1024"
1494
1495#define SENSORS_ADM1024_IN0 1 /* R */
1496#define SENSORS_ADM1024_IN1 2 /* R */
1497#define SENSORS_ADM1024_IN2 3 /* R */
1498#define SENSORS_ADM1024_IN3 4 /* R */
1499#define SENSORS_ADM1024_IN4 5 /* R */
1500#define SENSORS_ADM1024_IN5 6 /* R */
1501#define SENSORS_ADM1024_IN0_MIN 11 /* RW */
1502#define SENSORS_ADM1024_IN1_MIN 12 /* RW */
1503#define SENSORS_ADM1024_IN2_MIN 13 /* RW */
1504#define SENSORS_ADM1024_IN3_MIN 14 /* RW */
1505#define SENSORS_ADM1024_IN4_MIN 15 /* RW */
1506#define SENSORS_ADM1024_IN5_MIN 16 /* RW */
1507#define SENSORS_ADM1024_IN0_MAX 21 /* RW */
1508#define SENSORS_ADM1024_IN1_MAX 22 /* RW */
1509#define SENSORS_ADM1024_IN2_MAX 23 /* RW */
1510#define SENSORS_ADM1024_IN3_MAX 24 /* RW */
1511#define SENSORS_ADM1024_IN4_MAX 25 /* RW */
1512#define SENSORS_ADM1024_IN5_MAX 26 /* RW */
1513#define SENSORS_ADM1024_FAN1 31 /* R */
1514#define SENSORS_ADM1024_FAN2 32 /* R */
1515#define SENSORS_ADM1024_FAN1_MIN 41 /* RW */
1516#define SENSORS_ADM1024_FAN2_MIN 42 /* RW */
1517#define SENSORS_ADM1024_TEMP 51 /* R */
1518#define SENSORS_ADM1024_TEMP1 52 /* R */
1519#define SENSORS_ADM1024_TEMP2 53 /* R */
1520#define SENSORS_ADM1024_TEMP_HYST 61 /* RW */
1521#define SENSORS_ADM1024_TEMP_OVER 62 /* RW */
1522#define SENSORS_ADM1024_TEMP1_HYST 63 /* RW */
1523#define SENSORS_ADM1024_TEMP1_OVER 64 /* RW */
1524#define SENSORS_ADM1024_TEMP2_HYST 65 /* RW */
1525#define SENSORS_ADM1024_TEMP2_OVER 66 /* RW */
1526#define SENSORS_ADM1024_VID 71 /* R */
1527#define SENSORS_ADM1024_FAN1_DIV 81 /* RW */
1528#define SENSORS_ADM1024_FAN2_DIV 82 /* RW */
1529#define SENSORS_ADM1024_ALARMS 91 /* R */
1530#define SENSORS_ADM1024_ANALOG_OUT 92 /* RW */
1531
1532/* IT87xx chips */
1533
1534#define SENSORS_IT87_PREFIX "it87"
1535#define SENSORS_IT8712_PREFIX "it8712"
1536
1537#define SENSORS_IT87_IN0 1 /* R */
1538#define SENSORS_IT87_IN1 2 /* R */
1539#define SENSORS_IT87_IN2 3 /* R */
1540#define SENSORS_IT87_IN3 4 /* R */
1541#define SENSORS_IT87_IN4 5 /* R */
1542#define SENSORS_IT87_IN5 6 /* R */
1543#define SENSORS_IT87_IN6 7 /* R */
1544#define SENSORS_IT87_IN7 8 /* R */
1545#define SENSORS_IT87_IN8 9 /* R */
1546#define SENSORS_IT87_IN0_MIN 11 /* RW */
1547#define SENSORS_IT87_IN1_MIN 12 /* RW */
1548#define SENSORS_IT87_IN2_MIN 13 /* RW */
1549#define SENSORS_IT87_IN3_MIN 14 /* RW */
1550#define SENSORS_IT87_IN4_MIN 15 /* RW */
1551#define SENSORS_IT87_IN5_MIN 16 /* RW */
1552#define SENSORS_IT87_IN6_MIN 17 /* RW */
1553#define SENSORS_IT87_IN7_MIN 18 /* RW */
1554#define SENSORS_IT87_IN0_MAX 21 /* RW */
1555#define SENSORS_IT87_IN1_MAX 22 /* RW */
1556#define SENSORS_IT87_IN2_MAX 23 /* RW */
1557#define SENSORS_IT87_IN3_MAX 24 /* RW */
1558#define SENSORS_IT87_IN4_MAX 25 /* RW */
1559#define SENSORS_IT87_IN5_MAX 26 /* RW */
1560#define SENSORS_IT87_IN6_MAX 27 /* RW */
1561#define SENSORS_IT87_IN7_MAX 28 /* RW */
1562#define SENSORS_IT87_FAN1 31 /* R */
1563#define SENSORS_IT87_FAN2 32 /* R */
1564#define SENSORS_IT87_FAN3 33 /* R */
1565#define SENSORS_IT87_FAN1_MIN 41 /* RW */
1566#define SENSORS_IT87_FAN2_MIN 42 /* RW */
1567#define SENSORS_IT87_FAN3_MIN 43 /* RW */
1568#define SENSORS_IT87_TEMP1 51 /* R */
1569#define SENSORS_IT87_TEMP2 52 /* R */
1570#define SENSORS_IT87_TEMP3 53 /* R */
1571#define SENSORS_IT87_TEMP1_LOW 54 /* RW */
1572#define SENSORS_IT87_TEMP2_LOW 55 /* RW */
1573#define SENSORS_IT87_TEMP3_LOW 56 /* RW */
1574#define SENSORS_IT87_TEMP1_HIGH 57 /* RW */
1575#define SENSORS_IT87_TEMP2_HIGH 58 /* RW */
1576#define SENSORS_IT87_TEMP3_HIGH 59 /* RW */
1577#define SENSORS_IT87_VID 61 /* R */
1578#define SENSORS_IT87_FAN1_DIV 71 /* RW */
1579#define SENSORS_IT87_FAN2_DIV 72 /* RW */
1580#define SENSORS_IT87_FAN3_DIV 73 /* R (fan3 different) */
1581#define SENSORS_IT87_ALARMS_FAN 81 /* R */
1582#define SENSORS_IT87_ALARMS_VIN 82 /* R */
1583#define SENSORS_IT87_ALARMS_TEMP 83 /* R */
1584#define SENSORS_IT87_ALARMS 84 /* R */
1585#define SENSORS_IT87_SENS1 91 /* RW */
1586#define SENSORS_IT87_SENS2 92 /* RW */
1587#define SENSORS_IT87_SENS3 93 /* RW */
1588
1589
1590/* fsc poseidon chip */
1591
1592#define SENSORS_FSCPOS_PREFIX "fscpos"
1593
1594#define SENSORS_FSCPOS_REV 1 /* R */
1595#define SENSORS_FSCPOS_EVENT 2 /* R */
1596#define SENSORS_FSCPOS_CONTROL 3 /* RW */
1597#define SENSORS_FSCPOS_FAN1 4 /* R */
1598#define SENSORS_FSCPOS_FAN2 5 /* R */
1599#define SENSORS_FSCPOS_FAN3 6 /* R */
1600#define SENSORS_FSCPOS_FAN1_MIN 7 /* RW */
1601#define SENSORS_FSCPOS_FAN2_MIN 8 /* RW */
1602#define SENSORS_FSCPOS_FAN3_MIN 9 /* RW */
1603#define SENSORS_FSCPOS_FAN1_STATE 10 /* RW */
1604#define SENSORS_FSCPOS_FAN2_STATE 11 /* RW */
1605#define SENSORS_FSCPOS_FAN3_STATE 12 /* RW */
1606#define SENSORS_FSCPOS_FAN1_RIPPLE 13 /* RW */
1607#define SENSORS_FSCPOS_FAN2_RIPPLE 14 /* RW */
1608#define SENSORS_FSCPOS_FAN3_RIPPLE 15 /* RW */
1609#define SENSORS_FSCPOS_TEMP1 16 /* R */
1610#define SENSORS_FSCPOS_TEMP2 17 /* R */
1611#define SENSORS_FSCPOS_TEMP3 18 /* R */
1612#define SENSORS_FSCPOS_TEMP1_STATE 19 /* RW */
1613#define SENSORS_FSCPOS_TEMP2_STATE 20 /* RW */
1614#define SENSORS_FSCPOS_TEMP3_STATE 21 /* RW */
1615#define SENSORS_FSCPOS_VOLTAGE1 22 /* R */
1616#define SENSORS_FSCPOS_VOLTAGE2 23 /* R */
1617#define SENSORS_FSCPOS_VOLTAGE3 24 /* R */
1618#define SENSORS_FSCPOS_WDOG_PRESET 25/* RW */
1619#define SENSORS_FSCPOS_WDOG_STATE 26/* RW */
1620#define SENSORS_FSCPOS_WDOG_CONTROL 27/* RW */
1621
1622/* fsc scylla chip */
1623
1624#define SENSORS_FSCSCY_PREFIX "fscscy"
1625
1626#define SENSORS_FSCSCY_REV 1 /* R */
1627#define SENSORS_FSCSCY_EVENT 2 /* R */
1628#define SENSORS_FSCSCY_CONTROL 3 /* RW */
1629#define SENSORS_FSCSCY_FAN1 4 /* R */
1630#define SENSORS_FSCSCY_FAN2 5 /* R */
1631#define SENSORS_FSCSCY_FAN3 6 /* R */
1632#define SENSORS_FSCSCY_FAN4 7 /* R */
1633#define SENSORS_FSCSCY_FAN5 8 /* R */
1634#define SENSORS_FSCSCY_FAN6 9 /* R */
1635#define SENSORS_FSCSCY_FAN1_MIN 10 /* RW */
1636#define SENSORS_FSCSCY_FAN2_MIN 11 /* RW */
1637#define SENSORS_FSCSCY_FAN3_MIN 12 /* RW */
1638#define SENSORS_FSCSCY_FAN4_MIN 13 /* RW */
1639#define SENSORS_FSCSCY_FAN5_MIN 14 /* RW */
1640#define SENSORS_FSCSCY_FAN6_MIN 15 /* RW */
1641#define SENSORS_FSCSCY_FAN1_STATE 16 /* RW */
1642#define SENSORS_FSCSCY_FAN2_STATE 17 /* RW */
1643#define SENSORS_FSCSCY_FAN3_STATE 18 /* RW */
1644#define SENSORS_FSCSCY_FAN4_STATE 19 /* RW */
1645#define SENSORS_FSCSCY_FAN5_STATE 20 /* RW */
1646#define SENSORS_FSCSCY_FAN6_STATE 21 /* RW */
1647#define SENSORS_FSCSCY_FAN1_RIPPLE 22 /* RW */
1648#define SENSORS_FSCSCY_FAN2_RIPPLE 23 /* RW */
1649#define SENSORS_FSCSCY_FAN3_RIPPLE 24 /* RW */
1650#define SENSORS_FSCSCY_FAN4_RIPPLE 25 /* RW */
1651#define SENSORS_FSCSCY_FAN5_RIPPLE 26 /* RW */
1652#define SENSORS_FSCSCY_FAN6_RIPPLE 27 /* RW */
1653#define SENSORS_FSCSCY_TEMP1 28 /* R */
1654#define SENSORS_FSCSCY_TEMP2 29 /* R */
1655#define SENSORS_FSCSCY_TEMP3 30 /* R */
1656#define SENSORS_FSCSCY_TEMP4 31 /* R */
1657#define SENSORS_FSCSCY_TEMP1_STATE 32 /* RW */
1658#define SENSORS_FSCSCY_TEMP2_STATE 33 /* RW */
1659#define SENSORS_FSCSCY_TEMP3_STATE 34 /* RW */
1660#define SENSORS_FSCSCY_TEMP4_STATE 35 /* RW */
1661#define SENSORS_FSCSCY_TEMP1_LIM 36 /* R */
1662#define SENSORS_FSCSCY_TEMP2_LIM 37 /* R */
1663#define SENSORS_FSCSCY_TEMP3_LIM 38 /* R */
1664#define SENSORS_FSCSCY_TEMP4_LIM 39 /* R */
1665#define SENSORS_FSCSCY_TEMP1_MIN 40 /* R */
1666#define SENSORS_FSCSCY_TEMP2_MIN 41 /* R */
1667#define SENSORS_FSCSCY_TEMP3_MIN 42 /* R */
1668#define SENSORS_FSCSCY_TEMP4_MIN 43 /* R */
1669#define SENSORS_FSCSCY_TEMP1_MAX 44 /* R */
1670#define SENSORS_FSCSCY_TEMP2_MAX 45 /* R */
1671#define SENSORS_FSCSCY_TEMP3_MAX 46 /* R */
1672#define SENSORS_FSCSCY_TEMP4_MAX 47 /* R */
1673#define SENSORS_FSCSCY_VOLTAGE1  48/* R */
1674#define SENSORS_FSCSCY_VOLTAGE2  49/* R */
1675#define SENSORS_FSCSCY_VOLTAGE3  50/* R */
1676#define SENSORS_FSCSCY_WDOG_PRESET  51 /* RW */
1677#define SENSORS_FSCSCY_WDOG_STATE   52 /* RW */
1678#define SENSORS_FSCSCY_WDOG_CONTROL 52 /* RW */
1679
1680/* fsc hermes chip */
1681
1682#define SENSORS_FSCHER_PREFIX "fscher"
1683
1684#define SENSORS_FSCHER_REV 1 /* R */
1685#define SENSORS_FSCHER_EVENT 2 /* R */
1686#define SENSORS_FSCHER_CONTROL 3 /* RW */
1687#define SENSORS_FSCHER_FAN1 4 /* R */
1688#define SENSORS_FSCHER_FAN2 5 /* R */
1689#define SENSORS_FSCHER_FAN3 6 /* R */
1690#define SENSORS_FSCHER_PWM1 7 /* RW */
1691#define SENSORS_FSCHER_PWM2 8 /* RW */
1692#define SENSORS_FSCHER_PWM3 9 /* RW */
1693#define SENSORS_FSCHER_FAN1_STATE 10 /* RW */
1694#define SENSORS_FSCHER_FAN2_STATE 11 /* RW */
1695#define SENSORS_FSCHER_FAN3_STATE 12 /* RW */
1696#define SENSORS_FSCHER_FAN1_RIPPLE 13 /* RW */
1697#define SENSORS_FSCHER_FAN2_RIPPLE 14 /* RW */
1698#define SENSORS_FSCHER_FAN3_RIPPLE 15 /* RW */
1699#define SENSORS_FSCHER_TEMP1 16 /* R */
1700#define SENSORS_FSCHER_TEMP2 17 /* R */
1701#define SENSORS_FSCHER_TEMP3 18 /* R */
1702#define SENSORS_FSCHER_TEMP1_STATE 19 /* RW */
1703#define SENSORS_FSCHER_TEMP2_STATE 20 /* RW */
1704#define SENSORS_FSCHER_TEMP3_STATE 21 /* RW */
1705#define SENSORS_FSCHER_VOLTAGE1 22 /* R */
1706#define SENSORS_FSCHER_VOLTAGE2 23 /* R */
1707#define SENSORS_FSCHER_VOLTAGE3 24 /* R */
1708#define SENSORS_FSCHER_WDOG_PRESET 25/* RW */
1709#define SENSORS_FSCHER_WDOG_STATE 26/* RW */
1710#define SENSORS_FSCHER_WDOG_CONTROL 27/* RW */
1711
1712/* PCF8591 chip. */
1713
1714#define SENSORS_PCF8591_PREFIX "pcf8591"
1715
1716#define SENSORS_PCF8591_AIN_CONF 1 /* RW */
1717#define SENSORS_PCF8591_CH0 2 /* R */
1718#define SENSORS_PCF8591_CH1 3 /* R */
1719#define SENSORS_PCF8591_CH2 4 /* R */
1720#define SENSORS_PCF8591_CH3 5 /* R */
1721#define SENSORS_PCF8591_AOUT_ENABLE 6 /* RW */
1722#define SENSORS_PCF8591_AOUT 7 /* RW */
1723
1724
1725#define SENSORS_VT1211_PREFIX "vt1211"
1726
1727#define SENSORS_VT1211_IN0 1 /* R */
1728#define SENSORS_VT1211_IN1 2 /* R */
1729#define SENSORS_VT1211_IN2 3 /* R */
1730#define SENSORS_VT1211_IN3 4 /* R */
1731#define SENSORS_VT1211_IN4 5 /* R */
1732#define SENSORS_VT1211_IN5 6 /* R */
1733#define SENSORS_VT1211_IN6 7 /* R */
1734#define SENSORS_VT1211_IN0_MIN 11 /* RW */
1735#define SENSORS_VT1211_IN1_MIN 12 /* RW */
1736#define SENSORS_VT1211_IN2_MIN 13 /* RW */
1737#define SENSORS_VT1211_IN3_MIN 14 /* RW */
1738#define SENSORS_VT1211_IN4_MIN 15 /* RW */
1739#define SENSORS_VT1211_IN5_MIN 16 /* RW */
1740#define SENSORS_VT1211_IN6_MIN 17 /* RW */
1741#define SENSORS_VT1211_IN0_MAX 21 /* RW */
1742#define SENSORS_VT1211_IN1_MAX 22 /* RW */
1743#define SENSORS_VT1211_IN2_MAX 23 /* RW */
1744#define SENSORS_VT1211_IN3_MAX 24 /* RW */
1745#define SENSORS_VT1211_IN4_MAX 25 /* RW */
1746#define SENSORS_VT1211_IN5_MAX 26 /* RW */
1747#define SENSORS_VT1211_IN6_MAX 27 /* RW */
1748#define SENSORS_VT1211_FAN1 31 /* R */
1749#define SENSORS_VT1211_FAN2 32 /* R */
1750#define SENSORS_VT1211_FAN1_MIN 41 /* RW */
1751#define SENSORS_VT1211_FAN2_MIN 42 /* RW */
1752#define SENSORS_VT1211_TEMP1 51 /* R */
1753#define SENSORS_VT1211_TEMP1_HYST 52 /* RW */
1754#define SENSORS_VT1211_TEMP1_OVER 53 /* RW */
1755#define SENSORS_VT1211_TEMP2 54 /* R */
1756#define SENSORS_VT1211_TEMP2_HYST 55 /* RW */
1757#define SENSORS_VT1211_TEMP2_OVER 56 /* RW */
1758#define SENSORS_VT1211_TEMP3 57 /* R */
1759#define SENSORS_VT1211_TEMP3_HYST 58 /* RW */
1760#define SENSORS_VT1211_TEMP3_OVER 59 /* RW */
1761#define SENSORS_VT1211_TEMP4 60 /* R */
1762#define SENSORS_VT1211_TEMP4_HYST 61 /* RW */
1763#define SENSORS_VT1211_TEMP4_OVER 62 /* RW */
1764#define SENSORS_VT1211_TEMP5 63 /* R */
1765#define SENSORS_VT1211_TEMP5_HYST 64 /* RW */
1766#define SENSORS_VT1211_TEMP5_OVER 65 /* RW */
1767#define SENSORS_VT1211_TEMP6 66 /* R */
1768#define SENSORS_VT1211_TEMP6_HYST 67 /* RW */
1769#define SENSORS_VT1211_TEMP6_OVER 68 /* RW */
1770#define SENSORS_VT1211_TEMP7 69 /* R */
1771#define SENSORS_VT1211_TEMP7_HYST 70 /* RW */
1772#define SENSORS_VT1211_TEMP7_OVER 71 /* RW */
1773#define SENSORS_VT1211_FAN1_DIV 75 /* RW */
1774#define SENSORS_VT1211_FAN2_DIV 76 /* RW */
1775#define SENSORS_VT1211_ALARMS 81 /* R */
1776#define SENSORS_VT1211_VID 82 /* R */
1777#define SENSORS_VT1211_VRM 83 /* RW */
1778#define SENSORS_VT1211_UCH 84 /* RW */
1779
1780#define SENSORS_SMSC47M1_PREFIX "smsc47m1"
1781
1782#define SENSORS_SMSC47M1_FAN1 31 /* R */
1783#define SENSORS_SMSC47M1_FAN2 32 /* R */
1784#define SENSORS_SMSC47M1_FAN1_MIN 41 /* RW */
1785#define SENSORS_SMSC47M1_FAN2_MIN 42 /* RW */
1786#define SENSORS_SMSC47M1_FAN1_DIV 75 /* RW */
1787#define SENSORS_SMSC47M1_FAN2_DIV 76 /* RW */
1788#define SENSORS_SMSC47M1_ALARMS 81 /* R */
1789
1790#define SENSORS_PC87360_PREFIX "pc87360"
1791#define SENSORS_PC87363_PREFIX "pc87363"
1792#define SENSORS_PC87364_PREFIX "pc87364"
1793#define SENSORS_PC87365_PREFIX "pc87365"
1794#define SENSORS_PC87366_PREFIX "pc87366"
1795
1796#define SENSORS_PC87360_ALARMS_IN       10      /* R */
1797#define SENSORS_PC87360_ALARMS_TEMP     11      /* R */
1798
1799#define SENSORS_PC87360_FAN1            31      /* R */
1800#define SENSORS_PC87360_FAN2            32      /* R */
1801#define SENSORS_PC87360_FAN3            33      /* R */
1802#define SENSORS_PC87360_FAN1_MIN        41      /* RW */
1803#define SENSORS_PC87360_FAN2_MIN        42      /* RW */
1804#define SENSORS_PC87360_FAN3_MIN        43      /* RW */
1805#define SENSORS_PC87360_FAN1_DIV        71      /* R */
1806#define SENSORS_PC87360_FAN2_DIV        72      /* R */
1807#define SENSORS_PC87360_FAN3_DIV        73      /* R */
1808#define SENSORS_PC87360_FAN1_STATUS     81      /* R */
1809#define SENSORS_PC87360_FAN2_STATUS     82      /* R */
1810#define SENSORS_PC87360_FAN3_STATUS     83      /* R */
1811
1812#define SENSORS_PC87360_IN0             90      /* R */
1813#define SENSORS_PC87360_IN1             91      /* R */
1814#define SENSORS_PC87360_IN2             92      /* R */
1815#define SENSORS_PC87360_IN3             93      /* R */
1816#define SENSORS_PC87360_IN4             94      /* R */
1817#define SENSORS_PC87360_IN5             95      /* R */
1818#define SENSORS_PC87360_IN6             96      /* R */
1819#define SENSORS_PC87360_IN7             97      /* R */
1820#define SENSORS_PC87360_IN8             98      /* R */
1821#define SENSORS_PC87360_IN9             99      /* R */
1822#define SENSORS_PC87360_IN10            100     /* R */
1823#define SENSORS_PC87360_IN0_MIN         110     /* RW */
1824#define SENSORS_PC87360_IN1_MIN         111     /* RW */
1825#define SENSORS_PC87360_IN2_MIN         112     /* RW */
1826#define SENSORS_PC87360_IN3_MIN         113     /* RW */
1827#define SENSORS_PC87360_IN4_MIN         114     /* RW */
1828#define SENSORS_PC87360_IN5_MIN         115     /* RW */
1829#define SENSORS_PC87360_IN6_MIN         116     /* RW */
1830#define SENSORS_PC87360_IN7_MIN         117     /* RW */
1831#define SENSORS_PC87360_IN8_MIN         118     /* RW */
1832#define SENSORS_PC87360_IN9_MIN         119     /* RW */
1833#define SENSORS_PC87360_IN10_MIN        120     /* RW */
1834#define SENSORS_PC87360_IN0_MAX         130     /* RW */
1835#define SENSORS_PC87360_IN1_MAX         131     /* RW */
1836#define SENSORS_PC87360_IN2_MAX         132     /* RW */
1837#define SENSORS_PC87360_IN3_MAX         133     /* RW */
1838#define SENSORS_PC87360_IN4_MAX         134     /* RW */
1839#define SENSORS_PC87360_IN5_MAX         135     /* RW */
1840#define SENSORS_PC87360_IN6_MAX         136     /* RW */
1841#define SENSORS_PC87360_IN7_MAX         137     /* RW */
1842#define SENSORS_PC87360_IN8_MAX         138     /* RW */
1843#define SENSORS_PC87360_IN9_MAX         139     /* RW */
1844#define SENSORS_PC87360_IN10_MAX        140     /* RW */
1845#define SENSORS_PC87360_IN0_STATUS      150     /* R */
1846#define SENSORS_PC87360_IN1_STATUS      151     /* R */
1847#define SENSORS_PC87360_IN2_STATUS      152     /* R */
1848#define SENSORS_PC87360_IN3_STATUS      153     /* R */
1849#define SENSORS_PC87360_IN4_STATUS      154     /* R */
1850#define SENSORS_PC87360_IN5_STATUS      155     /* R */
1851#define SENSORS_PC87360_IN6_STATUS      156     /* R */
1852#define SENSORS_PC87360_IN7_STATUS      157     /* R */
1853#define SENSORS_PC87360_IN8_STATUS      158     /* R */
1854#define SENSORS_PC87360_IN9_STATUS      159     /* R */
1855#define SENSORS_PC87360_IN10_STATUS     160     /* R */
1856
1857#define SENSORS_PC87360_TEMP1           171     /* R */
1858#define SENSORS_PC87360_TEMP2           172     /* R */
1859#define SENSORS_PC87360_TEMP3           173     /* R */
1860#define SENSORS_PC87360_TEMP4           174     /* R */
1861#define SENSORS_PC87360_TEMP5           175     /* R */
1862#define SENSORS_PC87360_TEMP6           176     /* R */
1863#define SENSORS_PC87360_TEMP1_MIN       181     /* RW */
1864#define SENSORS_PC87360_TEMP2_MIN       182     /* RW */
1865#define SENSORS_PC87360_TEMP3_MIN       183     /* RW */
1866#define SENSORS_PC87360_TEMP4_MIN       184     /* RW */
1867#define SENSORS_PC87360_TEMP5_MIN       185     /* RW */
1868#define SENSORS_PC87360_TEMP6_MIN       186     /* RW */
1869#define SENSORS_PC87360_TEMP1_MAX       191     /* RW */
1870#define SENSORS_PC87360_TEMP2_MAX       192     /* RW */
1871#define SENSORS_PC87360_TEMP3_MAX       193     /* RW */
1872#define SENSORS_PC87360_TEMP4_MAX       194     /* RW */
1873#define SENSORS_PC87360_TEMP5_MAX       195     /* RW */
1874#define SENSORS_PC87360_TEMP6_MAX       196     /* RW */
1875#define SENSORS_PC87360_TEMP1_CRIT      201     /* RW */
1876#define SENSORS_PC87360_TEMP2_CRIT      202     /* RW */
1877#define SENSORS_PC87360_TEMP3_CRIT      203     /* RW */
1878#define SENSORS_PC87360_TEMP4_CRIT      204     /* RW */
1879#define SENSORS_PC87360_TEMP5_CRIT      205     /* RW */
1880#define SENSORS_PC87360_TEMP6_CRIT      206     /* RW */
1881#define SENSORS_PC87360_TEMP1_STATUS    211     /* R */
1882#define SENSORS_PC87360_TEMP2_STATUS    212     /* R */
1883#define SENSORS_PC87360_TEMP3_STATUS    213     /* R */
1884#define SENSORS_PC87360_TEMP4_STATUS    214     /* R */
1885#define SENSORS_PC87360_TEMP5_STATUS    215     /* R */
1886#define SENSORS_PC87360_TEMP6_STATUS    216     /* R */
1887
1888#define SENSORS_PC87360_VID             240     /* R */
1889#define SENSORS_PC87360_VRM             241     /* RW */
1890
1891#define SENSORS_LM92_PREFIX "lm92"
1892
1893#define SENSORS_LM92_TEMP_HIGH          1       /* RW */
1894#define SENSORS_LM92_TEMP_LOW           2       /* RW */
1895#define SENSORS_LM92_TEMP_CRIT          3       /* RW */
1896#define SENSORS_LM92_TEMP_HYST          4       /* RW */
1897#define SENSORS_LM92_TEMP                       5       /* R */
1898#define SENSORS_LM92_ALARMS                     6       /* R */
1899
1900#define SENSORS_VT8231_PREFIX "vt8231"
1901
1902#define SENSORS_VT8231_IN0 1 /* R */
1903#define SENSORS_VT8231_IN1 2 /* R */
1904#define SENSORS_VT8231_IN2 3 /* R */
1905#define SENSORS_VT8231_IN3 4 /* R */
1906#define SENSORS_VT8231_IN4 5 /* R */
1907#define SENSORS_VT8231_IN5 6 /* R */
1908#define SENSORS_VT8231_IN0_MIN 11 /* RW */
1909#define SENSORS_VT8231_IN1_MIN 12 /* RW */
1910#define SENSORS_VT8231_IN2_MIN 13 /* RW */
1911#define SENSORS_VT8231_IN3_MIN 14 /* RW */
1912#define SENSORS_VT8231_IN4_MIN 15 /* RW */
1913#define SENSORS_VT8231_IN5_MIN 16 /* RW */
1914#define SENSORS_VT8231_IN0_MAX 21 /* RW */
1915#define SENSORS_VT8231_IN1_MAX 22 /* RW */
1916#define SENSORS_VT8231_IN2_MAX 23 /* RW */
1917#define SENSORS_VT8231_IN3_MAX 24 /* RW */
1918#define SENSORS_VT8231_IN4_MAX 25 /* RW */
1919#define SENSORS_VT8231_IN5_MAX 26 /* RW */
1920#define SENSORS_VT8231_FAN1 31 /* R */
1921#define SENSORS_VT8231_FAN2 32 /* R */
1922#define SENSORS_VT8231_FAN1_MIN 41 /* RW */
1923#define SENSORS_VT8231_FAN2_MIN 42 /* RW */
1924#define SENSORS_VT8231_TEMP 51 /* R */
1925#define SENSORS_VT8231_TEMP_HYST 52 /* RW */
1926#define SENSORS_VT8231_TEMP_OVER 53 /* RW */
1927#define SENSORS_VT8231_TEMP2 54 /* R */
1928#define SENSORS_VT8231_TEMP2_HYST 55 /* RW */
1929#define SENSORS_VT8231_TEMP2_OVER 56 /* RW */
1930#define SENSORS_VT8231_TEMP3 57 /* R */
1931#define SENSORS_VT8231_TEMP3_HYST 58 /* RW */
1932#define SENSORS_VT8231_TEMP3_OVER 59 /* RW */
1933#define SENSORS_VT8231_TEMP4 60 /* R */
1934#define SENSORS_VT8231_TEMP4_HYST 61 /* RW */
1935#define SENSORS_VT8231_TEMP4_OVER 62 /* RW */
1936#define SENSORS_VT8231_TEMP5 63 /* R */
1937#define SENSORS_VT8231_TEMP5_HYST 64 /* RW */
1938#define SENSORS_VT8231_TEMP5_OVER 65 /* RW */
1939#define SENSORS_VT8231_TEMP6 66 /* R */
1940#define SENSORS_VT8231_TEMP6_HYST 67 /* RW */
1941#define SENSORS_VT8231_TEMP6_OVER 68 /* RW */
1942#define SENSORS_VT8231_FAN1_DIV 75 /* RW */
1943#define SENSORS_VT8231_FAN2_DIV 76 /* RW */
1944#define SENSORS_VT8231_ALARMS 81 /* R */
1945#define SENSORS_VT8231_VID 82 /* R */
1946#define SENSORS_VT8231_VRM 83 /* RW */
1947#define SENSORS_VT8231_UCH 84 /* RW */
1948
1949#define SENSORS_BMC_PREFIX "bmc"
1950
1951/* quantity of each sensor is unknown, so just define the
1952   first one of each and keep them 100 apart. */
1953#define SENSORS_BMC_ALARMS 1 /* R */
1954#define SENSORS_BMC_IN1 101 /* R */
1955#define SENSORS_BMC_IN1_MIN 201 /* RW */
1956#define SENSORS_BMC_IN1_MAX 301 /* RW */
1957#define SENSORS_BMC_FAN1 1001 /* R */
1958#define SENSORS_BMC_FAN1_MIN 1101 /* RW */
1959#define SENSORS_BMC_TEMP1 2001 /* R */
1960#define SENSORS_BMC_TEMP1_MIN 2101 /* RW */
1961#define SENSORS_BMC_TEMP1_MAX 2201 /* RW */
1962#define SENSORS_BMC_CURR1 3001 /* R */
1963#define SENSORS_BMC_CURR1_MIN 3101 /* RW */
1964#define SENSORS_BMC_CURR1_MAX 3201 /* RW */
1965
1966#define SENSORS_LM93_PREFIX "lm93"
1967
1968#define SENSORS_LM93_IN1                1011
1969#define SENSORS_LM93_IN1_MIN            1012
1970#define SENSORS_LM93_IN1_MAX            1013
1971#define SENSORS_LM93_IN2                1021
1972#define SENSORS_LM93_IN2_MIN            1022
1973#define SENSORS_LM93_IN2_MAX            1023
1974#define SENSORS_LM93_IN3                1031
1975#define SENSORS_LM93_IN3_MIN            1032
1976#define SENSORS_LM93_IN3_MAX            1033
1977#define SENSORS_LM93_IN4                1041
1978#define SENSORS_LM93_IN4_MIN            1042
1979#define SENSORS_LM93_IN4_MAX            1043
1980#define SENSORS_LM93_IN5                1051
1981#define SENSORS_LM93_IN5_MIN            1052
1982#define SENSORS_LM93_IN5_MAX            1053
1983#define SENSORS_LM93_IN6                1061
1984#define SENSORS_LM93_IN6_MIN            1062
1985#define SENSORS_LM93_IN6_MAX            1063
1986#define SENSORS_LM93_IN7                1071
1987#define SENSORS_LM93_IN7_MIN            1072
1988#define SENSORS_LM93_IN7_MAX            1073
1989#define SENSORS_LM93_IN8                1081
1990#define SENSORS_LM93_IN8_MIN            1082
1991#define SENSORS_LM93_IN8_MAX            1083
1992#define SENSORS_LM93_IN9                1091
1993#define SENSORS_LM93_IN9_MIN            1092
1994#define SENSORS_LM93_IN9_MAX            1093
1995#define SENSORS_LM93_IN10               1101
1996#define SENSORS_LM93_IN10_MIN           1102
1997#define SENSORS_LM93_IN10_MAX           1103
1998#define SENSORS_LM93_IN11               1111
1999#define SENSORS_LM93_IN11_MIN           1112
2000#define SENSORS_LM93_IN11_MAX           1113
2001#define SENSORS_LM93_IN12               1121
2002#define SENSORS_LM93_IN12_MIN           1122
2003#define SENSORS_LM93_IN12_MAX           1123
2004#define SENSORS_LM93_IN13               1131
2005#define SENSORS_LM93_IN13_MIN           1132
2006#define SENSORS_LM93_IN13_MAX           1133
2007#define SENSORS_LM93_IN14               1141
2008#define SENSORS_LM93_IN14_MIN           1142
2009#define SENSORS_LM93_IN14_MAX           1143
2010#define SENSORS_LM93_IN15               1151
2011#define SENSORS_LM93_IN15_MIN           1152
2012#define SENSORS_LM93_IN15_MAX           1153
2013#define SENSORS_LM93_IN16               1161
2014#define SENSORS_LM93_IN16_MIN           1162
2015#define SENSORS_LM93_IN16_MAX           1163
2016#define SENSORS_LM93_TEMP1              2011
2017#define SENSORS_LM93_TEMP1_MIN          2012
2018#define SENSORS_LM93_TEMP1_MAX          2013
2019#define SENSORS_LM93_TEMP2              2021
2020#define SENSORS_LM93_TEMP2_MIN          2022
2021#define SENSORS_LM93_TEMP2_MAX          2023
2022#define SENSORS_LM93_TEMP3              2031
2023#define SENSORS_LM93_TEMP3_MIN          2032
2024#define SENSORS_LM93_TEMP3_MAX          2033
2025#define SENSORS_LM93_FAN1               3011
2026#define SENSORS_LM93_FAN1_MIN           3012
2027#define SENSORS_LM93_FAN2               3021
2028#define SENSORS_LM93_FAN2_MIN           3022
2029#define SENSORS_LM93_FAN3               3031
2030#define SENSORS_LM93_FAN3_MIN           3032
2031#define SENSORS_LM93_FAN4               3041
2032#define SENSORS_LM93_FAN4_MIN           3042
2033#define SENSORS_LM93_VID1               4001
2034#define SENSORS_LM93_VID2               4002
2035#define SENSORS_LM93_ALARMS             5001
2036
2037#define SENSORS_ASB100_PREFIX "asb100"
2038
2039#define SENSORS_ASB100_IN0              0x01 /* R */
2040#define SENSORS_ASB100_IN1              0x02 /* R */
2041#define SENSORS_ASB100_IN2              0x03 /* R */
2042#define SENSORS_ASB100_IN3              0x04 /* R */
2043#define SENSORS_ASB100_IN4              0x05 /* R */
2044#define SENSORS_ASB100_IN5              0x06 /* R */
2045#define SENSORS_ASB100_IN6              0x07 /* R */
2046#define SENSORS_ASB100_IN0_MIN          0x11 /* RW */
2047#define SENSORS_ASB100_IN1_MIN          0x12 /* RW */
2048#define SENSORS_ASB100_IN2_MIN          0x13 /* RW */
2049#define SENSORS_ASB100_IN3_MIN          0x14 /* RW */
2050#define SENSORS_ASB100_IN4_MIN          0x15 /* RW */
2051#define SENSORS_ASB100_IN5_MIN          0x16 /* RW */
2052#define SENSORS_ASB100_IN6_MIN          0x17 /* RW */
2053#define SENSORS_ASB100_IN0_MAX          0x21 /* RW */
2054#define SENSORS_ASB100_IN1_MAX          0x22 /* RW */
2055#define SENSORS_ASB100_IN2_MAX          0x23 /* RW */
2056#define SENSORS_ASB100_IN3_MAX          0x24 /* RW */
2057#define SENSORS_ASB100_IN4_MAX          0x25 /* RW */
2058#define SENSORS_ASB100_IN5_MAX          0x26 /* RW */
2059#define SENSORS_ASB100_IN6_MAX          0x27 /* RW */
2060#define SENSORS_ASB100_FAN1             0x31 /* R */
2061#define SENSORS_ASB100_FAN2             0x32 /* R */
2062#define SENSORS_ASB100_FAN3             0x33 /* R */
2063#define SENSORS_ASB100_FAN1_MIN         0x41 /* RW */
2064#define SENSORS_ASB100_FAN2_MIN         0x42 /* RW */
2065#define SENSORS_ASB100_FAN3_MIN         0x43 /* RW */
2066#define SENSORS_ASB100_TEMP1            0x51 /* R */
2067#define SENSORS_ASB100_TEMP1_HYST       0x52 /* RW */
2068#define SENSORS_ASB100_TEMP1_OVER       0x53 /* RW */
2069#define SENSORS_ASB100_TEMP2            0x54 /* R */
2070#define SENSORS_ASB100_TEMP2_HYST       0x55 /* RW */
2071#define SENSORS_ASB100_TEMP2_OVER       0x56 /* RW */
2072#define SENSORS_ASB100_TEMP3            0x57 /* R */
2073#define SENSORS_ASB100_TEMP3_HYST       0x58 /* RW */
2074#define SENSORS_ASB100_TEMP3_OVER       0x59 /* RW */
2075#define SENSORS_ASB100_TEMP4            0x5a /* R */
2076#define SENSORS_ASB100_TEMP4_HYST       0x5b /* RW */
2077#define SENSORS_ASB100_TEMP4_OVER       0x5c /* RW */
2078#define SENSORS_ASB100_VID              0x61 /* R */
2079#define SENSORS_ASB100_VRM              0x62 /* RW */
2080#define SENSORS_ASB100_FAN1_DIV         0x71 /* RW */
2081#define SENSORS_ASB100_FAN2_DIV         0x72 /* RW */
2082#define SENSORS_ASB100_FAN3_DIV         0x73 /* RW */
2083#define SENSORS_ASB100_ALARMS           0x81 /* R */
2084#define SENSORS_ASB100_BEEP_ENABLE      0x82 /* RW */
2085#define SENSORS_ASB100_BEEPS            0x83 /* RW */
2086
2087#define SENSORS_XEONTEMP_PREFIX "xeontemp"
2088
2089#define SENSORS_XEONTEMP_REMOTE_TEMP 54 /* R */
2090#define SENSORS_XEONTEMP_REMOTE_TEMP_HYST 55 /* RW */
2091#define SENSORS_XEONTEMP_REMOTE_TEMP_OVER 56 /* RW */
2092#define SENSORS_XEONTEMP_ALARMS 81 /* R */
2093
2094/* MAX1619 chip */
2095
2096#define SENSORS_MAX1619_PREFIX "max1619"
2097
2098#define SENSORS_MAX1619_LOCAL_TEMP      51      /* R */
2099#define SENSORS_MAX1619_REMOTE_TEMP     52      /* R */
2100#define SENSORS_MAX1619_REMOTE_LOW      53      /* RW */
2101#define SENSORS_MAX1619_REMOTE_HIGH     54      /* RW */
2102#define SENSORS_MAX1619_REMOTE_MAX      55      /* RW */
2103#define SENSORS_MAX1619_REMOTE_HYST     56      /* RW */
2104#define SENSORS_MAX1619_ALARMS          81      /* R */
2105
2106/* MAX6650 / 1 chips */
2107
2108#define SENSORS_MAX6650_PREFIX "max6650"
2109
2110#define SENSORS_MAX6650_FAN1_TACH  1 /* R */
2111#define SENSORS_MAX6650_FAN2_TACH  2 /* R */
2112#define SENSORS_MAX6650_FAN3_TACH  3 /* R */
2113#define SENSORS_MAX6650_FAN4_TACH  4 /* R */
2114#define SENSORS_MAX6650_SPEED      5 /* RW */
2115
2116/* SMSC47B397-NC chip */
2117#define SENSORS_SMSC47B397_PREFIX "smsc47b397"
2118
2119#define SENSORS_SMSC47B397_TEMP1        0x01 /* R */
2120#define SENSORS_SMSC47B397_TEMP2        0x02 /* R */
2121#define SENSORS_SMSC47B397_TEMP3        0x03 /* R */
2122#define SENSORS_SMSC47B397_TEMP4        0x04 /* R */
2123#define SENSORS_SMSC47B397_FAN1         0x11 /* R */
2124#define SENSORS_SMSC47B397_FAN2         0x12 /* R */
2125#define SENSORS_SMSC47B397_FAN3         0x13 /* R */
2126#define SENSORS_SMSC47B397_FAN4         0x14 /* R */
2127
2128/* Fintek F71805F chip */
2129#define SENSORS_F71805F_PREFIX          "f71805f"
2130
2131/* in n from 0 to 8 */
2132#define SENSORS_F71805F_IN(n)           (1 + (n))
2133#define SENSORS_F71805F_IN_MIN(n)       (16 + (n))
2134#define SENSORS_F71805F_IN_MAX(n)       (31 + (n))
2135/* fan n from 1 to 3 */
2136#define SENSORS_F71805F_FAN(n)          (50 + (n))
2137#define SENSORS_F71805F_FAN_MIN(n)      (60 + (n))
2138/* temp n from 1 to 3 */
2139#define SENSORS_F71805F_TEMP(n)         (80 + (n))
2140#define SENSORS_F71805F_TEMP_MAX(n)     (90 + (n))
2141#define SENSORS_F71805F_TEMP_HYST(n)    (100 + (n))
2142#define SENSORS_F71805F_TEMP_TYPE(n)    (110 + (n))
2143/* alarms */
2144#define SENSORS_F71805F_ALARMS_IN       200
2145#define SENSORS_F71805F_ALARMS_FAN      201
2146#define SENSORS_F71805F_ALARMS_TEMP     202
2147
2148#endif /* def LIB_SENSORS_CHIPS_H */
Note: See TracBrowser for help on using the browser.