Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver tmp108
0002 ====================
0003 
0004 Supported chips:
0005 
0006   * Texas Instruments TMP108
0007 
0008     Prefix: 'tmp108'
0009 
0010     Addresses scanned: none
0011 
0012     Datasheet: https://www.ti.com/product/tmp108
0013 
0014 Author:
0015 
0016         John Muir <john@jmuir.com>
0017 
0018 Description
0019 -----------
0020 
0021 The Texas Instruments TMP108 implements one temperature sensor. An alert pin
0022 can be set when temperatures exceed minimum or maximum values plus or minus a
0023 hysteresis value. (This driver does not support interrupts for the alert pin,
0024 and the device runs in comparator mode.)
0025 
0026 The sensor is accurate to 0.75C over the range of -25 to +85 C, and to 1.0
0027 degree from -40 to +125 C. Resolution of the sensor is 0.0625 degree. The
0028 operating temperature has a minimum of -55 C and a maximum of +150 C.
0029 Hysteresis values can be set to 0, 1, 2, or 4C.
0030 
0031 The TMP108 has a programmable update rate that can select between 8, 4, 1, and
0032 0.5 Hz.
0033 
0034 By default the TMP108 reads the temperature continuously. To conserve power,
0035 the TMP108 has a one-shot mode where the device is normally shut-down. When a
0036 one shot is requested the temperature is read, the result can be retrieved,
0037 and then the device is shut down automatically. (This driver only supports
0038 continuous mode.)
0039 
0040 The driver provides the common sysfs-interface for temperatures (see
0041 Documentation/hwmon/sysfs-interface.rst under Temperatures).