Commit | Line | Data |
---|---|---|
007e433c GR |
1 | .. SPDX-License-Identifier: GPL-2.0 |
2 | ||
3 | Kernel driver tmp464 | |
4 | ==================== | |
5 | ||
6 | Supported chips: | |
7 | ||
8 | * Texas Instruments TMP464 | |
9 | ||
10 | Prefix: 'tmp464' | |
11 | ||
12 | Addresses scanned: I2C 0x48, 0x49, 0x4a and 0x4b | |
13 | ||
14 | Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp464.html | |
15 | ||
16 | * Texas Instruments TMP468 | |
17 | ||
18 | Prefix: 'tmp468' | |
19 | ||
20 | Addresses scanned: I2C 0x48, 0x49, 0x4a and 0x4b | |
21 | ||
22 | Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp468.html | |
23 | ||
24 | Authors: | |
25 | ||
26 | Agathe Porte <agathe.porte@nokia.com> | |
27 | Guenter Roeck <linux@roeck-us.net> | |
28 | ||
29 | Description | |
30 | ----------- | |
31 | ||
32 | This driver implements support for Texas Instruments TMP464 and TMP468 | |
33 | temperature sensor chips. TMP464 provides one local and four remote | |
34 | sensors. TMP468 provides one local and eight remote sensors. | |
35 | Temperature is measured in degrees Celsius. The chips are wired over | |
36 | I2C/SMBus and specified over a temperature range of -40 to +125 degrees | |
37 | Celsius. Resolution for both the local and remote channels is 0.0625 | |
38 | degree C. | |
39 | ||
40 | The chips support only temperature measurements. The driver exports | |
41 | temperature values, limits, and alarms via the following sysfs files: | |
42 | ||
43 | **temp[1-9]_input** | |
44 | ||
45 | **temp[1-9]_max** | |
46 | ||
47 | **temp[1-9]_max_hyst** | |
48 | ||
49 | **temp[1-9]_max_alarm** | |
50 | ||
51 | **temp[1-9]_crit** | |
52 | ||
53 | **temp[1-9]_crit_alarm** | |
54 | ||
55 | **temp[1-9]_crit_hyst** | |
56 | ||
57 | **temp[2-9]_offset** | |
58 | ||
59 | **temp[2-9]_fault** | |
60 | ||
61 | Each sensor can be individually disabled via Devicetree or from sysfs | |
62 | via: | |
63 | ||
64 | **temp[1-9]_enable** | |
65 | ||
66 | If labels were specified in Devicetree, additional sysfs files will | |
67 | be present: | |
68 | ||
69 | **temp[1-9]_label** | |
70 | ||
71 | The update interval is configurable with the following sysfs attribute. | |
72 | ||
73 | **update_interval** |