xref: /linux/Documentation/hwmon/tmp108.rst (revision 7ebd8b66dd9e5a0b65e5ee5e2b8e7ca382ec97b7)
1*7ebd8b66SMauro Carvalho ChehabKernel driver tmp108
2*7ebd8b66SMauro Carvalho Chehab====================
3*7ebd8b66SMauro Carvalho Chehab
4*7ebd8b66SMauro Carvalho ChehabSupported chips:
5*7ebd8b66SMauro Carvalho Chehab
6*7ebd8b66SMauro Carvalho Chehab  * Texas Instruments TMP108
7*7ebd8b66SMauro Carvalho Chehab
8*7ebd8b66SMauro Carvalho Chehab    Prefix: 'tmp108'
9*7ebd8b66SMauro Carvalho Chehab
10*7ebd8b66SMauro Carvalho Chehab    Addresses scanned: none
11*7ebd8b66SMauro Carvalho Chehab
12*7ebd8b66SMauro Carvalho Chehab    Datasheet: http://www.ti.com/product/tmp108
13*7ebd8b66SMauro Carvalho Chehab
14*7ebd8b66SMauro Carvalho ChehabAuthor:
15*7ebd8b66SMauro Carvalho Chehab
16*7ebd8b66SMauro Carvalho Chehab	John Muir <john@jmuir.com>
17*7ebd8b66SMauro Carvalho Chehab
18*7ebd8b66SMauro Carvalho ChehabDescription
19*7ebd8b66SMauro Carvalho Chehab-----------
20*7ebd8b66SMauro Carvalho Chehab
21*7ebd8b66SMauro Carvalho ChehabThe Texas Instruments TMP108 implements one temperature sensor. An alert pin
22*7ebd8b66SMauro Carvalho Chehabcan be set when temperatures exceed minimum or maximum values plus or minus a
23*7ebd8b66SMauro Carvalho Chehabhysteresis value. (This driver does not support interrupts for the alert pin,
24*7ebd8b66SMauro Carvalho Chehaband the device runs in comparator mode.)
25*7ebd8b66SMauro Carvalho Chehab
26*7ebd8b66SMauro Carvalho ChehabThe sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0
27*7ebd8b66SMauro Carvalho Chehabdegree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
28*7ebd8b66SMauro Carvalho Chehaboperating temperature has a minimum of -55 C and a maximum of +150 C.
29*7ebd8b66SMauro Carvalho ChehabHysteresis values can be set to 0, 1, 2, or 4C.
30*7ebd8b66SMauro Carvalho Chehab
31*7ebd8b66SMauro Carvalho ChehabThe TMP108 has a programmable update rate that can select between 8, 4, 1, and
32*7ebd8b66SMauro Carvalho Chehab0.5 Hz.
33*7ebd8b66SMauro Carvalho Chehab
34*7ebd8b66SMauro Carvalho ChehabBy default the TMP108 reads the temperature continuously. To conserve power,
35*7ebd8b66SMauro Carvalho Chehabthe TMP108 has a one-shot mode where the device is normally shut-down. When a
36*7ebd8b66SMauro Carvalho Chehabone shot is requested the temperature is read, the result can be retrieved,
37*7ebd8b66SMauro Carvalho Chehaband then the device is shut down automatically. (This driver only supports
38*7ebd8b66SMauro Carvalho Chehabcontinuous mode.)
39*7ebd8b66SMauro Carvalho Chehab
40*7ebd8b66SMauro Carvalho ChehabThe driver provides the common sysfs-interface for temperatures (see
41*7ebd8b66SMauro Carvalho ChehabDocumentation/hwmon/sysfs-interface.rst under Temperatures).
42