요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver menf21bmc_hwmon
=============================
Supported chips:
* MEN 14F021P00
Prefix: 'menf21bmc_hwmon'
Addresses scanned: -
Author: Andreas Werner <[email protected]>
Description
-----------
The menf21bmc is a Board Management Controller (BMC) which provides an I2C
interface to the host to access the features implemented in the BMC.
This driver gives access to the voltage monitoring feature of the main
voltages of the board.
The voltage sensors are connected to the ADC inputs of the BMC which is
a PIC16F917 Mikrocontroller.
Usage Notes
-----------
This driver is part of the MFD driver named "menf21bmc" and does
not auto-detect devices.
You will have to instantiate the MFD driver explicitly.
Please see Documentation/i2c/instantiating-devices.rst for
details.
Sysfs entries
-------------
The following attributes are supported. All attributes are read only
The Limits are read once by the driver.
=============== ==========================
in0_input +3.3V input voltage
in1_input +5.0V input voltage
in2_input +12.0V input voltage
in3_input +5V Standby input voltage
in4_input VBAT (on board battery)
in[0-4]_min Minimum voltage limit
in[0-4]_max Maximum voltage limit
in0_label "MON_3_3V"
in1_label "MON_5V"
in2_label "MON_12V"
in3_label "5V_STANDBY"
in4_label "VBAT"
=============== ==========================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
MEN 14F021P00 BMC 전압 감시
1-32Andreas Werner가 작성한 `menf21bmc_hwmon` 드라이버는 MEN 14F021P00을 지원하며 주소 자동 검색은 하지 않습니다.
menf21bmc는 호스트가 BMC 기능에 접근할 수 있도록 I2C 인터페이스를 제공하는 보드 관리 컨트롤러입니다. 이 hwmon 드라이버는 보드 주요 전압 감시 기능을 노출합니다.
전압 센서는 PIC16F917 마이크로컨트롤러인 BMC의 ADC 입력에 연결됩니다. 이 드라이버는 `menf21bmc` MFD 드라이버의 일부이며 MFD 장치를 명시적으로 생성해야 합니다.
호스트 I2C에서 BMC ADC의 주요 전압을 읽습니다.
MFD 부모를 생성한 뒤 hwmon 자식이 ADC 값을 제공합니다.
Kernel driver menf21bmc_hwmon
=============================
Supported chips:
* MEN 14F021P00
Prefix: 'menf21bmc_hwmon'
Addresses scanned: -
Author: Andreas Werner <[email protected]>
Description
-----------
The menf21bmc is a Board Management Controller (BMC) which provides an I2C
interface to the host to access the features implemented in the BMC.
This driver gives access to the voltage monitoring feature of the main
voltages of the board.
The voltage sensors are connected to the ADC inputs of the BMC which is
a PIC16F917 Mikrocontroller.
Usage Notes
-----------
This driver is part of the MFD driver named "menf21bmc" and does
not auto-detect devices.
You will have to instantiate the MFD driver explicitly.
Please see Documentation/i2c/instantiating-devices.rst for
details.
5개 보드 전압과 부팅 시 읽는 한계값
33-55모든 속성은 읽기 전용이고 최소·최대 한계는 드라이버가 한 번만 읽습니다. `in0`은 +3.3V, `in1`은 +5.0V, `in2`는 +12.0V, `in3`은 +5V 대기 전압, `in4`는 온보드 배터리 `VBAT`입니다.
각 `in[0-4]_min`과 `max`는 최소·최대 전압 한계입니다. 레이블은 `MON_3_3V`, `MON_5V`, `MON_12V`, `5V_STANDBY`, `VBAT`입니다.
입력 번호와 보드 전원 레일의 대응입니다.
고정 한계와 현재값을 채널별로 비교합니다.
Sysfs entries
-------------
The following attributes are supported. All attributes are read only
The Limits are read once by the driver.
=============== ==========================
in0_input +3.3V input voltage
in1_input +5.0V input voltage
in2_input +12.0V input voltage
in3_input +5V Standby input voltage
in4_input VBAT (on board battery)
in[0-4]_min Minimum voltage limit
in[0-4]_max Maximum voltage limit
in0_label "MON_3_3V"
in1_label "MON_5V"
in2_label "MON_12V"
in3_label "5V_STANDBY"
in4_label "VBAT"
=============== ==========================
요약·해설
menf21bmc.rst:1-55MFD 부모를 명시적으로 생성하고 BMC ADC에서 3.3V·5V·12V·대기·배터리 전압을 읽습니다.
원문 분량과 핵심 인터페이스입니다.
장치 등록부터 측정·경보 처리까지의 순서입니다.