← Documents Documentation/hwmon/scpi-hwmon.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver scpi-hwmon

ARM SCP 펌웨어의 SCPI API가 제공하는 온도·전압·전류·전력 센서를 노출합니다.

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

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

1. 요약·해설

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

요약·해설

scpi-hwmon.rst:1-36

장치 트리의 SCPI 펌웨어 노드를 바탕으로 SCP가 보고하는 센서를 동적으로 열거하고 유형별 hwmon 채널을 만듭니다.

문서 개요
항목
SourceDocumentation/hwmon/scpi-hwmon.rst
분량36 source lines
센서온도·전압·전류·전력
바인딩arm,scpi.yaml

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

운영 흐름
장치 트리 선언SCPI 연결센서 목록 질의값 판독hwmon 채널 생성

장치 식별부터 센서 확인까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver scpi-hwmon
2 ========================
3
4 Supported chips:
5
6 * Chips based on ARM System Control Processor Interface
7
8 Addresses scanned: -
9
10 Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html
11
12 Author: Punit Agrawal <[email protected]>
13
14 Description
15 -----------
16
17 This driver supports hardware monitoring for SoC's based on the ARM
18 System Control Processor (SCP) implementing the System Control
19 Processor Interface (SCPI). The following sensor types are supported
20 by the SCP:
21
22 * temperature
23 * voltage
24 * current
25 * power
26
27 The SCP interface provides an API to query the available sensors and
28 their values which are then exported to userspace by this driver.
29
30 Usage Notes
31 -----------
32
33 The driver relies on device tree node to indicate the presence of SCPI
34 support in the kernel. See
35 Documentation/devicetree/bindings/firmware/arm,scpi.yaml for details of the
36 devicetree node.
37

3. 한국어 전문 번역

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

ARM SCPI 기반 SoC

1-13

`scpi-hwmon` 드라이버는 ARM System Control Processor Interface, 즉 SCPI를 구현한 칩을 지원합니다. 주소 검색은 적용되지 않으며 ARM SCPI 사양 문서가 데이터시트 역할을 합니다. 문서 작성자는 Punit Agrawal입니다.

대상 SoC는 주 프로세서와 별도의 System Control Processor(SCP)를 두고, SCP 펌웨어가 SCPI 프로토콜로 시스템 센서 정보를 제공합니다.

SCPI hwmon 식별 정보
항목
대상ARM SCPI 기반 칩
제어 프로세서System Control Processor (SCP)
프로토콜SCPI
주소 검색없음

펌웨어 기반 센서 인터페이스의 기본 조건입니다.

SCPI 센서 경로
SoC의 SCP 펌웨어 실행SCPI 프로토콜 서비스 초기화센서 목록 질의센서 값 읽기hwmon 채널로 노출

SoC 센서 값이 SCP 펌웨어와 SCPI API를 거쳐 hwmon으로 전달됩니다.

Kernel driver scpi-hwmon
========================

Supported chips:

 * Chips based on ARM System Control Processor Interface

   Addresses scanned: -

   Datasheet: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0922b/index.html

Author: Punit Agrawal <[email protected]>

SCP가 제공하는 네 종류의 센서

14-29

ARM SCP 펌웨어가 SCPI 규격을 구현한 SoC에서 이 드라이버를 사용할 수 있습니다.

SCP는 온도, 전압, 전류, 전력 센서를 지원합니다. SCPI API로 사용 가능한 센서의 수와 각 센서의 유형·값을 질의할 수 있으며, 드라이버는 반환된 정보를 Linux hwmon 속성으로 변환합니다.

SCPI 센서 유형
센서 유형hwmon 범주측정 의미
Temperaturetemp온도
Voltagein전압
Currentcurr전류
Powerpower전력

SCP가 보고하고 hwmon이 노출할 수 있는 측정 범주입니다.

SCPI 센서 열거
SCPI API 연결 확인사용 가능한 센서 수 질의각 센서의 유형과 식별자 판독현재 센서 값 요청유형별 hwmon 속성 생성

고정 채널을 가정하지 않고 SCP API가 알려 주는 센서를 동적으로 생성합니다.

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

This driver supports hardware monitoring for SoC's based on the ARM
System Control Processor (SCP) implementing the System Control
Processor Interface (SCPI). The following sensor types are supported
by the SCP:

  * temperature
  * voltage
  * current
  * power

The SCP interface provides an API to query the available sensors and
their values which are then exported to userspace by this driver.

장치 트리에서 SCPI hwmon 선언

30-36

장치 트리에는 해당 시스템이 SCPI 기반 하드웨어 모니터링을 제공한다는 노드가 있어야 합니다.

정확한 노드 속성과 호환 문자열은 `Documentation/devicetree/bindings/firmware/arm,scpi.yaml`의 SCPI 장치 트리 바인딩 문서를 따라야 합니다.

SCPI 장치 트리 요구 사항
항목요구 사항
펌웨어 노드SCPI 제공 여부를 장치 트리에 선언
바인딩Documentation/devicetree/bindings/firmware/arm,scpi.yaml
센서 채널SCP API 질의 결과로 동적 생성

드라이버 활성화에 필요한 펌웨어 기술 정보를 정리합니다.

장치 트리부터 hwmon까지
arm,scpi.yaml 바인딩 확인장치 트리에 SCPI 펌웨어 노드 작성커널이 SCPI 프로토콜 장치 결합scpi-hwmon이 센서 목록 질의사용 가능한 채널을 sysfs에 생성

바인딩에 맞는 펌웨어 노드가 SCPI 센서 드라이버의 시작점입니다.

Usage Notes
-----------

The driver relies on device tree node to indicate the presence of SCPI
support in the kernel. See
Documentation/devicetree/bindings/firmware/arm,scpi.yaml for details of the
devicetree node.