요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver xgene-hwmon
=========================
Supported chips:
* APM X-Gene SoC
Description
-----------
This driver adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
For device tree, it is the standard DT mailbox.
For ACPI, it is the PCC mailbox.
The following sensors are supported
* Temperature
- SoC on-die temperature in milli-degree C
- Alarm when high/over temperature occurs
* Power
- CPU power in uW
- IO power in uW
sysfs-Interface
---------------
temp0_input
- SoC on-die temperature (milli-degree C)
temp0_critical_alarm
- An 1 would indicates on-die temperature exceeded threshold
power0_input
- CPU power in (uW)
power1_input
- IO power in (uW)
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
메일박스 기반 온도·전력 센서
1-18이 드라이버는 APM X-Gene SoC를 지원합니다.
APM X-Gene SoC의 하드웨어 온도와 전력을 메일박스 통신 인터페이스로 읽을 수 있게 합니다. 장치 트리 환경에서는 표준 DT mailbox를 사용하고 ACPI 환경에서는 PCC mailbox를 사용합니다.
지원 센서는 온도와 전력입니다. 온도는 SoC 다이 내부 온도를 밀리섭씨로 제공하며 고온 또는 과열이 발생하면 경보를 냅니다. 전력은 CPU 전력과 IO 전력을 마이크로와트 단위로 제공합니다.
펌웨어 환경별 메일박스와 지원 센서를 정리합니다.
펌웨어 유형에 맞는 메일박스를 통해 센서 값을 받습니다.
Kernel driver xgene-hwmon
=========================
Supported chips:
* APM X-Gene SoC
Description
-----------
This driver adds hardware temperature and power reading support for
APM X-Gene SoC using the mailbox communication interface.
For device tree, it is the standard DT mailbox.
For ACPI, it is the PCC mailbox.
The following sensors are supported
* Temperature
X-Gene sysfs 인터페이스
19-36`temp0_input`은 SoC 다이 내부 온도를 밀리섭씨로 제공합니다. `temp0_critical_alarm`이 1이면 다이 내부 온도가 임계값을 넘었음을 뜻합니다.
`power0_input`은 CPU 전력을 마이크로와트로, `power1_input`은 IO 전력을 마이크로와트로 제공합니다.
온도 경보와 CPU·IO 전력 채널을 정리합니다.
메일박스 응답을 네 개 hwmon 속성에 배치합니다.
- SoC on-die temperature in milli-degree C
- Alarm when high/over temperature occurs
* Power
- CPU power in uW
- IO power in uW
sysfs-Interface
---------------
temp0_input
- SoC on-die temperature (milli-degree C)
temp0_critical_alarm
- An 1 would indicates on-die temperature exceeded threshold
power0_input
- CPU power in (uW)
power1_input
- IO power in (uW)
요약·해설
xgene-hwmon.rst:1-36X-Gene hwmon은 Device Tree에서는 DT mailbox, ACPI에서는 PCC mailbox를 사용해 SoC 온도와 CPU·IO 전력을 읽습니다.
원문 분량과 핵심 기능을 요약합니다.
장치 탐지부터 측정값 제공까지의 순서입니다.