← Documents Documentation/hwmon/sa67.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver sa67

Kontron SA67 관리 MCU의 두 전압과 한 온도를 원자적으로 판독합니다.

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

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

1. 요약·해설

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

요약·해설

sa67.rst:1-41

낮은 바이트 판독 시 높은 바이트가 캡처되는 레지스터 구조를 이용해 16비트 전압·온도 값을 일관되게 읽습니다.

문서 개요
항목
SourceDocumentation/hwmon/sa67.rst
분량41 source lines
센서전압 2·온도 1
16비트

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

운영 흐름
센서 선택낮은 바이트 판독높은 바이트 캡처16비트 결합단위 변환

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

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 Kernel driver sa67mcu
4 =====================
5
6 Supported chips:
7
8 * Kontron sa67mcu
9
10 Prefix: 'sa67mcu'
11
12 Datasheet: not available
13
14 Authors: Michael Walle <mwalle@kernel.org>
15
16 Description
17 -----------
18
19 The sa67mcu is a board management controller which also exposes a hardware
20 monitoring controller.
21
22 The controller has two voltage and one temperature sensor. The values are
23 hold in two 8 bit registers to form one 16 bit value. Reading the lower byte
24 will also capture the high byte to make the access atomic. The unit of the
25 volatge sensors are 1mV and the unit of the temperature sensor is 0.1degC.
26
27 Sysfs entries
28 -------------
29
30 The following attributes are supported.
31
32 ======================= ========================================================
33 in0_label "VDDIN"
34 in0_input Measured VDDIN voltage.
35
36 in1_label "VDD_RTC"
37 in1_input Measured VDD_RTC voltage.
38
39 temp1_input MCU temperature. Roughly the board temperature.
40 ======================= ========================================================
41
42

3. 한국어 전문 번역

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

Kontron SA67 보드 관리 컨트롤러

1-26

GPL-2.0-only 라이선스의 `sa67mcu` 드라이버는 Kontron SA67 보드의 관리 마이크로컨트롤러를 지원합니다. 접두사는 `sa67mcu`이며 주소 검색은 하지 않고 공개 데이터시트도 없습니다. 문서 작성자는 Michael Walle입니다.

SA67 MCU는 보드 관리 컨트롤러이며 이 드라이버는 그중 하드웨어 모니터링 기능을 제공합니다. 장치는 전압 센서 2개와 온도 센서 1개를 노출합니다.

각 측정값은 두 개의 8비트 레지스터에 저장되어 16비트 값을 이룹니다. 낮은 바이트를 읽는 순간 높은 바이트가 캡처되므로 드라이버는 정해진 순서로 두 레지스터를 읽어 원자적인 한 번의 측정값을 얻습니다.

SA67 MCU 특성
항목
드라이버sa67mcu
대상Kontron SA67 MCU
센서전압 2개, 온도 1개
값 형식8비트 레지스터 2개로 구성된 16비트
원자성낮은 바이트 판독 시 높은 바이트 캡처

보드 관리 컨트롤러의 식별 정보와 센서 구조입니다.

16비트 측정값 판독
대상 센서 레지스터 선택낮은 8비트 레지스터 판독장치가 높은 8비트 값 캡처높은 8비트 레지스터 판독두 바이트를 16비트 값으로 결합

하위 레지스터가 상위 레지스터를 고정하는 장치 동작을 이용합니다.

.. SPDX-License-Identifier: GPL-2.0-only

Kernel driver sa67mcu
=====================

Supported chips:

   * Kontron sa67mcu

     Prefix: 'sa67mcu'

     Datasheet: not available

Authors: Michael Walle <mwalle@kernel.org>

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

The sa67mcu is a board management controller which also exposes a hardware
monitoring controller.

The controller has two voltage and one temperature sensor. The values are
hold in two 8 bit registers to form one 16 bit value. Reading the lower byte
will also capture the high byte to make the access atomic. The unit of the
volatge sensors are 1mV and the unit of the temperature sensor is 0.1degC.

전압·온도 단위와 레이블

27-41

전압 레지스터의 단위는 1 mV이고 온도 레지스터의 단위는 0.1°C입니다. 드라이버는 hwmon 규약에 맞게 값을 변환해 제공합니다.

`in0_input`의 레이블은 `VDDIN`, `in1_input`의 레이블은 `VDD_RTC`입니다. `temp1_input`은 MCU 온도를 나타내며 보드 전체 온도의 대략적인 지표로 사용할 수 있습니다.

SA67 센서 채널
속성레이블원시 단위의미
in0_inputVDDIN1 mV주 입력 전압
in1_inputVDD_RTC1 mVRTC 전원 전압
temp1_inputMCU temperature0.1°C대략적인 보드 온도

물리 센서, 원시 단위, hwmon 의미를 대응시킵니다.

SA67 값 변환
두 레지스터에서 16비트 값 조립전압 또는 온도 채널 판별전압은 1 mV 단위 적용온도는 0.1°C 단위 적용레이블과 함께 sysfs에 노출

16비트 원시값을 채널 단위에 맞춰 hwmon 값으로 제공합니다.

Sysfs entries
-------------

The following attributes are supported.

======================= ========================================================
in0_label                "VDDIN"
in0_input                Measured VDDIN voltage.

in1_label                "VDD_RTC"
in1_input                Measured VDD_RTC voltage.

temp1_input                MCU temperature. Roughly the board temperature.
======================= ========================================================