요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0-only
Kernel driver sa67mcu
=====================
Supported chips:
* Kontron sa67mcu
Prefix: 'sa67mcu'
Datasheet: not available
Authors: Michael Walle <[email protected]>
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.
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.
======================= ========================================================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Kontron SA67 보드 관리 컨트롤러
1-26GPL-2.0-only 라이선스의 `sa67mcu` 드라이버는 Kontron SA67 보드의 관리 마이크로컨트롤러를 지원합니다. 접두사는 `sa67mcu`이며 주소 검색은 하지 않고 공개 데이터시트도 없습니다. 문서 작성자는 Michael Walle입니다.
SA67 MCU는 보드 관리 컨트롤러이며 이 드라이버는 그중 하드웨어 모니터링 기능을 제공합니다. 장치는 전압 센서 2개와 온도 센서 1개를 노출합니다.
각 측정값은 두 개의 8비트 레지스터에 저장되어 16비트 값을 이룹니다. 낮은 바이트를 읽는 순간 높은 바이트가 캡처되므로 드라이버는 정해진 순서로 두 레지스터를 읽어 원자적인 한 번의 측정값을 얻습니다.
보드 관리 컨트롤러의 식별 정보와 센서 구조입니다.
하위 레지스터가 상위 레지스터를 고정하는 장치 동작을 이용합니다.
.. SPDX-License-Identifier: GPL-2.0-only
Kernel driver sa67mcu
=====================
Supported chips:
* Kontron sa67mcu
Prefix: 'sa67mcu'
Datasheet: not available
Authors: Michael Walle <[email protected]>
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 온도를 나타내며 보드 전체 온도의 대략적인 지표로 사용할 수 있습니다.
물리 센서, 원시 단위, hwmon 의미를 대응시킵니다.
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.
======================= ========================================================
요약·해설
sa67.rst:1-41낮은 바이트 판독 시 높은 바이트가 캡처되는 레지스터 구조를 이용해 16비트 전압·온도 값을 일관되게 읽습니다.
원문 분량과 핵심 장치 구성을 정리합니다.
장치 식별부터 센서 확인까지의 핵심 순서입니다.