diff options
author | David George <david.george@ska.ac.za> | 2011-06-02 11:43:45 -0400 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-07-28 03:17:32 -0400 |
commit | 731b4cace10f105a81d622b70f9a35f577612d63 (patch) | |
tree | 7e575b889382ffd00ab2cf14f614cf525420550b /Documentation/hwmon/max1668 | |
parent | 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe (diff) |
hwmon: Driver for MAX1668
This patch adds support for MAX1668 and compatible temperature sensors.
Signed-off-by: David George <david.george@ska.ac.za>
[guenter.roeck@ericsson.com: minor cleanup of probe error path]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'Documentation/hwmon/max1668')
-rw-r--r-- | Documentation/hwmon/max1668 | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Documentation/hwmon/max1668 b/Documentation/hwmon/max1668 new file mode 100644 index 000000000000..0616ed9758df --- /dev/null +++ b/Documentation/hwmon/max1668 | |||
@@ -0,0 +1,60 @@ | |||
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. | ||