^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Kernel driver lm95245
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Supported chips:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) * TI LM95235
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) Addresses scanned: I2C 0x18, 0x29, 0x4c
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Datasheet: Publicly available at the TI website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) https://www.ti.com/lit/ds/symlink/lm95235.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) * TI / National Semiconductor LM95245
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Addresses scanned: I2C 0x18, 0x19, 0x29, 0x4c, 0x4d
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Datasheet: Publicly available at the TI website
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) https://www.ti.com/lit/ds/symlink/lm95245.pdf
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) Author: Alexander Stein <alexander.stein@systec-electronic.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) -----------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) LM95235 and LM95245 are 11-bit digital temperature sensors with a 2-wire System
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Management Bus (SMBus) interface and TruTherm technology that can monitor
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) the temperature of a remote diode as well as its own temperature.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) The chips can be used to very accurately monitor the temperature of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) external devices such as microprocessors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) All temperature values are given in millidegrees Celsius. Local temperature
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) is given within a range of -127 to +127.875 degrees. Remote temperatures are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) given within a range of -127 to +255 degrees. Resolution depends on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) temperature input and range.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Each sensor has its own critical limit. Additionally, there is a relative
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) hysteresis value common to both critical limits. To make life easier to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) user-space applications, two absolute values are exported, one for each
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) channel, but these values are of course linked. Only the local hysteresis
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) can be set from user-space, and the same delta applies to the remote
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) hysteresis.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) The lm95245 driver can change its update interval to a fixed set of values.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) It will round up to the next selectable interval. See the datasheet for exact
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) values. Reading sensor values more often will do no harm, but will return
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 'old' values.