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