요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
Kernel driver sfctemp
=====================
Supported chips:
- StarFive JH7100
- StarFive JH7110
Authors:
- Emil Renner Berthing <[email protected]>
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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 <[email protected]>
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의 내장 센서를 기본 활성화하고 필요하면 절전을 위해 끄며 밀리섭씨 온도를 읽습니다.
원문 분량과 핵심 장치 구성을 정리합니다.
장치 식별부터 측정값 확인까지의 핵심 순서입니다.