1 .. SPDX-License-Identifier: GPL-2.0-or-later
8 * SPD5118 (JEDEC JESD300) compliant temperature sensor chips
10 JEDEC standard download:
11 https://www.jedec.org/standards-documents/docs/jesd300-5b01
17 Addresses scanned: I2C 0x50 - 0x57
20 Guenter Roeck <linux@roeck-us.net>
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.
30 The driver auto-detects SPD5118 compliant chips, but can also be instantiated
31 using devicetree/firmware nodes.
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.
38 Hardware monitoring sysfs entries
39 ---------------------------------
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)
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 ======================= ==================================
54 Alarm attributes are sticky until read and will be cleared afterwards
55 unless the alarm condition still applies.
58 SPD (Serial Presence Detect) support
59 ------------------------------------
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