← Documents Documentation/hwmon/spd5118.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver spd5118

DDR5 SPD5118의 온도 한계·sticky 경보와 SPD NVRAM 읽기를 지원합니다.

Source pathDocumentation/hwmon/spd5118.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

spd5118.rst:1-63

0x50~0x57에서 JESD300 센서를 탐지하고 네 온도 한계와 읽으면 해제되는 경보, eeprom SPD 데이터를 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/spd5118.rst
분량63 source lines
주소0x50~0x57
센서온도 1

원문 분량과 핵심 구성을 정리합니다.

운영 흐름
센서 탐지온도·한계 판독sticky 경보 기록열 보호 적용SPD NVRAM 읽기

장치 식별부터 측정·검증까지의 핵심 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
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.
64

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

JEDEC JESD300 SPD5118 센서

1-22

GPL-2.0-or-later `spd5118` 드라이버는 JEDEC JESD300을 준수하는 SPD5118 온도 센서 칩을 지원합니다. 표준 문서는 JEDEC 사이트에서 계정으로 내려받을 수 있습니다.

접두사는 `spd5118`이고 I2C 주소 `0x50`부터 `0x57`을 검색합니다. 문서 작성자는 Guenter Roeck입니다.

SPD5118 식별 정보
항목
표준JEDEC JESD300
접두사spd5118
I2C 검색 주소0x50~0x57
용도DDR5 모듈 온도 감시·SPD

DDR5 모듈 센서의 표준과 탐지 범위입니다.

SPD5118 탐지
I2C 0x50~0x57 검색JESD300 호환 여부 확인온도 센서 등록임계값·경보 속성 생성SPD NVRAM eeprom 속성 생성

DDR5 SPD 주소 범위에서 표준 호환 센서를 식별합니다.

.. SPDX-License-Identifier: GPL-2.0-or-later

Kernel driver spd5118
=====================

Supported chips:

  * SPD5118 (JEDEC JESD300) compliant temperature sensor chips

    JEDEC standard download:
        https://www.jedec.org/standards-documents/docs/jesd300-5b01
        (account required)


    Prefix: 'spd5118'

    Addresses scanned: I2C 0x50 - 0x57

Author:
        Guenter Roeck <[email protected]>

DDR5 과열 방지와 임계값

23-37

SPD5118 센서는 많은 DDR5 메모리 모듈에 사용됩니다. 일부 시스템은 센서 값으로 메모리 컨트롤러를 자동 스로틀링해 메모리 과열을 방지합니다.

드라이버는 호환 칩을 자동 감지하며 장치 트리나 펌웨어 노드로 명시적으로 만들 수도 있습니다.

호환 칩은 온도 센서 하나를 제공합니다. 낮은 임계, 최소, 최대, 높은 임계 온도를 설정할 수 있고 각각 낮은 임계·낮음·높음·임계 경보가 있습니다.

SPD5118 온도 한계
한계경보접근
낮은 임계low criticalRW
최소lowRW
최대highRW
높은 임계criticalRW

단일 센서의 네 설정 한계와 대응 경보입니다.

DDR5 열 보호
SPD5118 온도 판독네 임계값과 비교해당 alarm 설정플랫폼이 메모리 스로틀링 결정온도 회복 여부 재확인

온도 경보를 메모리 컨트롤러 스로틀링 정책에 연결합니다.

Description
-----------

This driver implements support for SPD5118 (JEDEC JESD300) compliant temperature
sensors, which are used on many DDR5 memory modules. Some systems use the sensor
to prevent memory overheating by automatically throttling the memory controller.

The driver auto-detects SPD5118 compliant chips, but can also be instantiated
using devicetree/firmware nodes.

A SPD5118 compliant chip supports a single temperature sensor. Critical minimum,
minimum, maximum, and critical temperature can be configured. There are alarms
for low critical, low, high, and critical thresholds.

온도 한계와 읽으면 해제되는 경보

38-56

`temp1_input`은 읽기 전용 온도입니다. `temp1_lcrit`, `temp1_min`, `temp1_max`, `temp1_crit`은 각각 낮은 임계, 최소, 최대, 높은 임계 온도이며 읽기·쓰기가 가능합니다.

`temp1_lcrit_alarm`, `temp1_min_alarm`, `temp1_max_alarm`, `temp1_crit_alarm`은 네 한계에 대응하는 경보입니다.

경보 속성은 읽을 때까지 유지되는 sticky 방식이며 읽은 뒤에는 해제됩니다. 단, 경보 조건이 여전히 참이면 다시 유지됩니다.

SPD5118 sysfs 속성
속성접근의미
temp1_inputRO현재 온도
temp1_lcritRW낮은 임계 온도
temp1_minRW최소 온도
temp1_maxRW최대 온도
temp1_critRW높은 임계 온도
temp1_lcrit_alarmRO낮은 임계 경보
temp1_min_alarmRO낮음 경보
temp1_max_alarmRO높음 경보
temp1_crit_alarmRO임계 경보

측정값·한계·경보와 접근 권한입니다.

Sticky 경보 판독
alarm 속성 판독읽기 전까지 유지된 경보 기록읽기로 경보 래치 해제현재 온도와 임계값 재비교조건 지속 시 다시 경보 활성

읽기 동작이 경보를 지우므로 값을 수집한 뒤 조건 지속 여부를 재평가합니다.

Hardware monitoring sysfs entries
---------------------------------

======================= ==================================
temp1_input                Temperature (RO)
temp1_lcrit                Low critical high temperature (RW)
temp1_min                Minimum temperature (RW)
temp1_max                Maximum temperature (RW)
temp1_crit                Critical high temperature (RW)

temp1_lcrit_alarm        Temperature low critical alarm
temp1_min_alarm                Temperature low alarm
temp1_max_alarm                Temperature high alarm
temp1_crit_alarm        Temperature critical alarm
======================= ==================================

Alarm attributes are sticky until read and will be cleared afterwards
unless the alarm condition still applies.

SPD NVRAM eeprom 속성

57-63

드라이버는 SPD5118 호환 칩의 SPD NVRAM 읽기도 지원합니다. SPD 데이터는 칩의 I2C 장치에 연결된 `eeprom` 바이너리 속성 파일에서 사용할 수 있습니다.

SPD 데이터 인터페이스
항목위치·형식
SPD NVRAMI2C 장치의 eeprom 바이너리 속성

온도 센서와 같은 장치에서 메모리 모듈 정보를 읽습니다.

SPD 읽기
SPD5118 I2C 장치 선택eeprom 바이너리 속성 열기SPD NVRAM 바이트 읽기JESD300 형식으로 해석메모리 모듈 정보 제공

I2C 장치의 바이너리 속성에서 모듈 정보를 가져옵니다.


SPD (Serial Presence Detect) support
------------------------------------

The driver also supports reading the SPD NVRAM on SPD5118 compatible chips.
SPD data is available from the 'eeprom' binary attribute file attached to the
chip's I2C device.