Commit | Line | Data |
---|---|---|
731b4cac DG |
1 | Kernel driver max1668 |
2 | ===================== | |
3 | ||
4 | Supported chips: | |
5 | * Maxim MAX1668, MAX1805 and MAX1989 | |
6 | Prefix: 'max1668' | |
7 | Addresses scanned: I2C 0x18, 0x19, 0x1a, 0x29, 0x2a, 0x2b, 0x4c, 0x4d, 0x4e | |
8 | Datasheet: http://datasheets.maxim-ic.com/en/ds/MAX1668-MAX1989.pdf | |
9 | ||
10 | Author: | |
11 | David George <david.george@ska.ac.za> | |
12 | ||
13 | Description | |
14 | ----------- | |
15 | ||
16 | This driver implements support for the Maxim MAX1668, MAX1805 and MAX1989 | |
17 | chips. | |
18 | ||
19 | The three devices are very similar, but the MAX1805 has a reduced feature | |
20 | set; only two remote temperature inputs vs the four avaible on the other | |
21 | two ICs. | |
22 | ||
23 | The driver is able to distinguish between the devices and creates sysfs | |
24 | entries as follows: | |
25 | ||
26 | MAX1805, MAX1668 and MAX1989: | |
27 | ||
28 | temp1_input ro local (ambient) temperature | |
29 | temp1_max rw local temperature maximum threshold for alarm | |
30 | temp1_max_alarm ro local temperature maximum threshold alarm | |
31 | temp1_min rw local temperature minimum threshold for alarm | |
32 | temp1_min_alarm ro local temperature minimum threshold alarm | |
33 | temp2_input ro remote temperature 1 | |
34 | temp2_max rw remote temperature 1 maximum threshold for alarm | |
35 | temp2_max_alarm ro remote temperature 1 maximum threshold alarm | |
36 | temp2_min rw remote temperature 1 minimum threshold for alarm | |
37 | temp2_min_alarm ro remote temperature 1 minimum threshold alarm | |
38 | temp3_input ro remote temperature 2 | |
39 | temp3_max rw remote temperature 2 maximum threshold for alarm | |
40 | temp3_max_alarm ro remote temperature 2 maximum threshold alarm | |
41 | temp3_min rw remote temperature 2 minimum threshold for alarm | |
42 | temp3_min_alarm ro remote temperature 2 minimum threshold alarm | |
43 | ||
44 | MAX1668 and MAX1989 only: | |
45 | temp4_input ro remote temperature 3 | |
46 | temp4_max rw remote temperature 3 maximum threshold for alarm | |
47 | temp4_max_alarm ro remote temperature 3 maximum threshold alarm | |
48 | temp4_min rw remote temperature 3 minimum threshold for alarm | |
49 | temp4_min_alarm ro remote temperature 3 minimum threshold alarm | |
50 | temp5_input ro remote temperature 4 | |
51 | temp5_max rw remote temperature 4 maximum threshold for alarm | |
52 | temp5_max_alarm ro remote temperature 4 maximum threshold alarm | |
53 | temp5_min rw remote temperature 4 minimum threshold for alarm | |
54 | temp5_min_alarm ro remote temperature 4 minimum threshold alarm | |
55 | ||
56 | Module Parameters | |
57 | ----------------- | |
58 | ||
59 | * read_only: int | |
60 | Set to non-zero if you wish to prevent write access to alarm thresholds. |