hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
Kernel driver tmp401
====================
 
Supported chips:
 
  * Texas Instruments TMP401
 
    Prefix: 'tmp401'
 
    Addresses scanned: I2C 0x4c
 
    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp401.html
 
  * Texas Instruments TMP411
 
    Prefix: 'tmp411'
 
    Addresses scanned: I2C 0x4c, 0x4d, 0x4e
 
    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp411.html
 
  * Texas Instruments TMP431
 
    Prefix: 'tmp431'
 
    Addresses scanned: I2C 0x4c, 0x4d
 
    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp431.html
 
  * Texas Instruments TMP432
 
    Prefix: 'tmp432'
 
    Addresses scanned: I2C 0x4c, 0x4d
 
    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp432.html
 
  * Texas Instruments TMP435
 
    Prefix: 'tmp435'
 
    Addresses scanned: I2C 0x48 - 0x4f
 
    Datasheet: http://focus.ti.com/docs/prod/folders/print/tmp435.html
 
  * Texas Instruments TMP461
 
    Prefix: 'tmp461'
 
    Datasheet: https://www.ti.com/product/tmp461
 
 
 
Authors:
 
   - Hans de Goede <hdegoede@redhat.com>
   - Andre Prendel <andre.prendel@gmx.de>
 
Description
-----------
 
This driver implements support for Texas Instruments TMP401, TMP411,
TMP431, TMP432, TMP435, and TMP461 chips. These chips implement one or two
remote and one local temperature sensors. Temperature is measured in degrees
Celsius. Resolution of the remote sensor is 0.0625 degree. Local
sensor resolution can be set to 0.5, 0.25, 0.125 or 0.0625 degree (not
supported by the driver so far, so using the default resolution of 0.5
degree).
 
The driver provides the common sysfs-interface for temperatures (see
Documentation/hwmon/sysfs-interface.rst under Temperatures).
 
The TMP411 and TMP431 chips are compatible with TMP401. TMP411 provides
some additional features.
 
* Minimum and Maximum temperature measured since power-on, chip-reset
 
  Exported via sysfs attributes tempX_lowest and tempX_highest.
 
* Reset of historical minimum/maximum temperature measurements
 
  Exported via sysfs attribute temp_reset_history. Writing 1 to this
  file triggers a reset.
 
TMP432 is compatible with TMP401 and TMP431. It supports two external
temperature sensors.
 
TMP461 is compatible with TMP401. It supports offset correction
that is applied to the remote sensor.
 
* Sensor offset values are temperature values
 
  Exported via sysfs attribute tempX_offset