xref: /linux/Documentation/hwmon/tmp108.rst (revision 4b4193256c8d3bc3a5397b5cd9494c2ad386317d)
17ebd8b66SMauro Carvalho ChehabKernel driver tmp108
27ebd8b66SMauro Carvalho Chehab====================
37ebd8b66SMauro Carvalho Chehab
47ebd8b66SMauro Carvalho ChehabSupported chips:
57ebd8b66SMauro Carvalho Chehab
67ebd8b66SMauro Carvalho Chehab  * Texas Instruments TMP108
77ebd8b66SMauro Carvalho Chehab
87ebd8b66SMauro Carvalho Chehab    Prefix: 'tmp108'
97ebd8b66SMauro Carvalho Chehab
107ebd8b66SMauro Carvalho Chehab    Addresses scanned: none
117ebd8b66SMauro Carvalho Chehab
12*ad736c1aSAlexander A. Klimov    Datasheet: https://www.ti.com/product/tmp108
137ebd8b66SMauro Carvalho Chehab
147ebd8b66SMauro Carvalho ChehabAuthor:
157ebd8b66SMauro Carvalho Chehab
167ebd8b66SMauro Carvalho Chehab	John Muir <john@jmuir.com>
177ebd8b66SMauro Carvalho Chehab
187ebd8b66SMauro Carvalho ChehabDescription
197ebd8b66SMauro Carvalho Chehab-----------
207ebd8b66SMauro Carvalho Chehab
217ebd8b66SMauro Carvalho ChehabThe Texas Instruments TMP108 implements one temperature sensor. An alert pin
227ebd8b66SMauro Carvalho Chehabcan be set when temperatures exceed minimum or maximum values plus or minus a
237ebd8b66SMauro Carvalho Chehabhysteresis value. (This driver does not support interrupts for the alert pin,
247ebd8b66SMauro Carvalho Chehaband the device runs in comparator mode.)
257ebd8b66SMauro Carvalho Chehab
267ebd8b66SMauro Carvalho ChehabThe sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0
277ebd8b66SMauro Carvalho Chehabdegree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
287ebd8b66SMauro Carvalho Chehaboperating temperature has a minimum of -55 C and a maximum of +150 C.
297ebd8b66SMauro Carvalho ChehabHysteresis values can be set to 0, 1, 2, or 4C.
307ebd8b66SMauro Carvalho Chehab
317ebd8b66SMauro Carvalho ChehabThe TMP108 has a programmable update rate that can select between 8, 4, 1, and
327ebd8b66SMauro Carvalho Chehab0.5 Hz.
337ebd8b66SMauro Carvalho Chehab
347ebd8b66SMauro Carvalho ChehabBy default the TMP108 reads the temperature continuously. To conserve power,
357ebd8b66SMauro Carvalho Chehabthe TMP108 has a one-shot mode where the device is normally shut-down. When a
367ebd8b66SMauro Carvalho Chehabone shot is requested the temperature is read, the result can be retrieved,
377ebd8b66SMauro Carvalho Chehaband then the device is shut down automatically. (This driver only supports
387ebd8b66SMauro Carvalho Chehabcontinuous mode.)
397ebd8b66SMauro Carvalho Chehab
407ebd8b66SMauro Carvalho ChehabThe driver provides the common sysfs-interface for temperatures (see
417ebd8b66SMauro Carvalho ChehabDocumentation/hwmon/sysfs-interface.rst under Temperatures).
42