요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. 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]>
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.
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 (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.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
JEDEC JESD300 SPD5118 센서
1-22GPL-2.0-or-later `spd5118` 드라이버는 JEDEC JESD300을 준수하는 SPD5118 온도 센서 칩을 지원합니다. 표준 문서는 JEDEC 사이트에서 계정으로 내려받을 수 있습니다.
접두사는 `spd5118`이고 I2C 주소 `0x50`부터 `0x57`을 검색합니다. 문서 작성자는 Guenter Roeck입니다.
DDR5 모듈 센서의 표준과 탐지 범위입니다.
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-37SPD5118 센서는 많은 DDR5 메모리 모듈에 사용됩니다. 일부 시스템은 센서 값으로 메모리 컨트롤러를 자동 스로틀링해 메모리 과열을 방지합니다.
드라이버는 호환 칩을 자동 감지하며 장치 트리나 펌웨어 노드로 명시적으로 만들 수도 있습니다.
호환 칩은 온도 센서 하나를 제공합니다. 낮은 임계, 최소, 최대, 높은 임계 온도를 설정할 수 있고 각각 낮은 임계·낮음·높음·임계 경보가 있습니다.
단일 센서의 네 설정 한계와 대응 경보입니다.
온도 경보를 메모리 컨트롤러 스로틀링 정책에 연결합니다.
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 방식이며 읽은 뒤에는 해제됩니다. 단, 경보 조건이 여전히 참이면 다시 유지됩니다.
측정값·한계·경보와 접근 권한입니다.
읽기 동작이 경보를 지우므로 값을 수집한 뒤 조건 지속 여부를 재평가합니다.
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` 바이너리 속성 파일에서 사용할 수 있습니다.
온도 센서와 같은 장치에서 메모리 모듈 정보를 읽습니다.
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.
요약·해설
spd5118.rst:1-630x50~0x57에서 JESD300 센서를 탐지하고 네 온도 한계와 읽으면 해제되는 경보, eeprom SPD 데이터를 제공합니다.
원문 분량과 핵심 구성을 정리합니다.
장치 식별부터 측정·검증까지의 핵심 순서입니다.