요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
Kernel driver sfctemp
=====================
Supported chips:
- StarFive JH7100
- StarFive JH7110
Authors:
- Emil Renner Berthing <kernel@esmil.dk>
Description
-----------
This driver adds support for reading the built-in temperature sensor on the
JH7100 and JH7110 RISC-V SoCs by StarFive Technology Co. Ltd.
``sysfs`` interface
-------------------
The temperature sensor can be enabled, disabled and queried via the standard
hwmon interface in sysfs under ``/sys/class/hwmon/hwmonX`` for some value of
``X``:
================ ==== =============================================
Name Perm Description
================ ==== =============================================
temp1_enable RW Enable or disable temperature sensor.
Automatically enabled by the driver,
but may be disabled to save power.
temp1_input RO Temperature reading in milli-degrees Celsius.
================ ==== =============================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
StarFive JH7100·JH7110 내장 온도 센서
1-18GPL-2.0 라이선스의 `sfctemp` 드라이버는 StarFive Technology의 JH7100과 JH7110 RISC-V SoC를 지원합니다. 문서 작성자는 Emil Renner Berthing입니다.
이 드라이버는 두 SoC에 내장된 온도 센서의 값을 읽어 Linux 하드웨어 모니터링 계층에 제공합니다.
드라이버가 지원하는 StarFive SoC와 센서 위치입니다.
SoC 온도 센서를 hwmon 장치와 연결합니다.
.. SPDX-License-Identifier: GPL-2.0
Kernel driver sfctemp
=====================
Supported chips:
- StarFive JH7100
- StarFive JH7110
Authors:
- Emil Renner Berthing <kernel@esmil.dk>
Description
-----------
This driver adds support for reading the built-in temperature sensor on the
JH7100 and JH7110 RISC-V SoCs by StarFive Technology Co. Ltd.
센서 활성화와 밀리섭씨 온도
19-33온도 센서는 `/sys/class/hwmon/hwmonX` 아래의 표준 hwmon 인터페이스를 통해 활성화하거나 비활성화하고 값을 조회할 수 있습니다. 여기서 `X`는 시스템이 부여한 hwmon 번호입니다.
`temp1_enable`은 읽기·쓰기가 가능하며 온도 센서를 켜거나 끕니다. 드라이버가 기본적으로 활성화하지만 전력을 절약해야 할 때 비활성화할 수 있습니다.
`temp1_input`은 읽기 전용이며 측정 온도를 밀리섭씨 단위로 제공합니다.
센서 전원 제어와 측정값의 접근 권한입니다.
필요할 때 센서를 켜서 값을 읽고 다시 끌 수 있습니다.
``sysfs`` interface
-------------------
The temperature sensor can be enabled, disabled and queried via the standard
hwmon interface in sysfs under ``/sys/class/hwmon/hwmonX`` for some value of
``X``:
================ ==== =============================================
Name Perm Description
================ ==== =============================================
temp1_enable RW Enable or disable temperature sensor.
Automatically enabled by the driver,
but may be disabled to save power.
temp1_input RO Temperature reading in milli-degrees Celsius.
================ ==== =============================================
요약·해설
sfctemp.rst:1-33StarFive RISC-V SoC의 내장 센서를 기본 활성화하고 필요하면 절전을 위해 끄며 밀리섭씨 온도를 읽습니다.
원문 분량과 핵심 장치 구성을 정리합니다.
장치 식별부터 측정값 확인까지의 핵심 순서입니다.