Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver lm95245
0002 =====================
0003 
0004 Supported chips:
0005 
0006   * TI LM95235
0007 
0008     Addresses scanned: I2C 0x18, 0x29, 0x4c
0009 
0010     Datasheet: Publicly available at the TI website
0011 
0012                https://www.ti.com/lit/ds/symlink/lm95235.pdf
0013 
0014   * TI / National Semiconductor LM95245
0015 
0016     Addresses scanned: I2C 0x18, 0x19, 0x29, 0x4c, 0x4d
0017 
0018     Datasheet: Publicly available at the TI website
0019 
0020                https://www.ti.com/lit/ds/symlink/lm95245.pdf
0021 
0022 Author: Alexander Stein <alexander.stein@systec-electronic.com>
0023 
0024 Description
0025 -----------
0026 
0027 LM95235 and LM95245 are 11-bit digital temperature sensors with a 2-wire System
0028 Management Bus (SMBus) interface and TruTherm technology that can monitor
0029 the temperature of a remote diode as well as its own temperature.
0030 The chips can be used to very accurately monitor the temperature of
0031 external devices such as microprocessors.
0032 
0033 All temperature values are given in millidegrees Celsius. Local temperature
0034 is given within a range of -127 to +127.875 degrees. Remote temperatures are
0035 given within a range of -127 to +255 degrees. Resolution depends on
0036 temperature input and range.
0037 
0038 Each sensor has its own critical limit. Additionally, there is a relative
0039 hysteresis value common to both critical limits. To make life easier to
0040 user-space applications, two absolute values are exported, one for each
0041 channel, but these values are of course linked. Only the local hysteresis
0042 can be set from user-space, and the same delta applies to the remote
0043 hysteresis.
0044 
0045 The lm95245 driver can change its update interval to a fixed set of values.
0046 It will round up to the next selectable interval. See the datasheet for exact
0047 values. Reading sensor values more often will do no harm, but will return
0048 'old' values.