| 1 |
.. SPDX-License-Identifier: GPL-2.0-or-later |
| 2 |
|
| 3 |
Kernel driver spd5118 |
| 4 |
===================== |
| 5 |
|
| 6 |
Supported chips: |
| 7 |
|
| 8 |
* SPD5118 (JEDEC JESD300) compliant temperature sensor chips |
| 9 |
|
| 10 |
JEDEC standard download: |
| 11 |
https://www.jedec.org/standards-documents/docs/jesd300-5b01 |
| 12 |
(account required) |
| 13 |
|
| 14 |
|
| 15 |
Prefix: 'spd5118' |
| 16 |
|
| 17 |
Addresses scanned: I2C 0x50 - 0x57 |
| 18 |
|
| 19 |
Author: |
| 20 |
Guenter Roeck <[email protected]> |
| 21 |
|
| 22 |
|
| 23 |
Description |
| 24 |
----------- |
| 25 |
|
| 26 |
This driver implements support for SPD5118 (JEDEC JESD300) compliant temperature |
| 27 |
sensors, which are used on many DDR5 memory modules. Some systems use the sensor |
| 28 |
to prevent memory overheating by automatically throttling the memory controller. |
| 29 |
|
| 30 |
The driver auto-detects SPD5118 compliant chips, but can also be instantiated |
| 31 |
using devicetree/firmware nodes. |
| 32 |
|
| 33 |
A SPD5118 compliant chip supports a single temperature sensor. Critical minimum, |
| 34 |
minimum, maximum, and critical temperature can be configured. There are alarms |
| 35 |
for low critical, low, high, and critical thresholds. |
| 36 |
|
| 37 |
|
| 38 |
Hardware monitoring sysfs entries |
| 39 |
--------------------------------- |
| 40 |
|
| 41 |
======================= ================================== |
| 42 |
temp1_input Temperature (RO) |
| 43 |
temp1_lcrit Low critical high temperature (RW) |
| 44 |
temp1_min Minimum temperature (RW) |
| 45 |
temp1_max Maximum temperature (RW) |
| 46 |
temp1_crit Critical high temperature (RW) |
| 47 |
|
| 48 |
temp1_lcrit_alarm Temperature low critical alarm |
| 49 |
temp1_min_alarm Temperature low alarm |
| 50 |
temp1_max_alarm Temperature high alarm |
| 51 |
temp1_crit_alarm Temperature critical alarm |
| 52 |
======================= ================================== |
| 53 |
|
| 54 |
Alarm attributes are sticky until read and will be cleared afterwards |
| 55 |
unless the alarm condition still applies. |
| 56 |
|
| 57 |
|
| 58 |
SPD (Serial Presence Detect) support |
| 59 |
------------------------------------ |
| 60 |
|
| 61 |
The driver also supports reading the SPD NVRAM on SPD5118 compatible chips. |
| 62 |
SPD data is available from the 'eeprom' binary attribute file attached to the |
| 63 |
chip's I2C device. |