← Documents Documentation/hwmon/bel-pfe.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver bel-pfe

BEL PFE1100·PFE3000 PMBus power supply의 전류·fan·전압·전력·온도 ABI입니다.

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

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

1. 요약·해설

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

요약·해설

bel-pfe.rst:1-112

명시적으로 등록한 BEL PFE PMBus supply를 monitoring하고 PFE3000의 추가 channel을 노출합니다.

문서 개요
항목
SourceDocumentation/hwmon/bel-pfe.rst
분량112 source lines
Power1100W 또는 3000W
Registration명시적 I2C instantiate

원문 분량과 핵심 지원 범위입니다.

핵심 흐름
I2C client 생성PMBus core binding공통 channel 등록PFE3000 확장 channel 추가

장치를 측정·제어하는 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver bel-pfe
2 ======================
3
4 Supported chips:
5
6 * BEL PFE1100
7
8 Prefixes: 'pfe1100'
9
10 Addresses scanned: -
11
12 Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf
13
14 * BEL PFE3000
15
16 Prefixes: 'pfe3000'
17
18 Addresses scanned: -
19
20 Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf
21
22 Author: Tao Ren <rentao.bupt@gmail.com>
23
24
25 Description
26 -----------
27
28 This driver supports hardware monitoring for below power supply devices
29 which support PMBus Protocol:
30
31 * BEL PFE1100
32
33 1100 Watt AC to DC power-factor-corrected (PFC) power supply.
34 PMBus Communication Manual is not publicly available.
35
36 * BEL PFE3000
37
38 3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply.
39 PMBus Communication Manual is not publicly available.
40
41 The driver is a client driver to the core PMBus driver. Please see
42 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
43
44
45 Usage Notes
46 -----------
47
48 This driver does not auto-detect devices. You will have to instantiate the
49 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
50 details.
51
52 Example: the following will load the driver for an PFE3000 at address 0x20
53 on I2C bus #1::
54
55 $ modprobe bel-pfe
56 $ echo pfe3000 0x20 > /sys/bus/i2c/devices/i2c-1/new_device
57
58
59 Platform data support
60 ---------------------
61
62 The driver supports standard PMBus driver platform data.
63
64
65 Sysfs entries
66 -------------
67
68 ======================= =======================================================
69 curr1_label "iin"
70 curr1_input Measured input current
71 curr1_max Input current max value
72 curr1_max_alarm Input current max alarm
73
74 curr[2-3]_label "iout[1-2]"
75 curr[2-3]_input Measured output current
76 curr[2-3]_max Output current max value
77 curr[2-3]_max_alarm Output current max alarm
78
79 fan[1-2]_input Fan 1 and 2 speed in RPM
80 fan1_target Set fan speed reference for both fans
81
82 in1_label "vin"
83 in1_input Measured input voltage
84 in1_crit Input voltage critical max value
85 in1_crit_alarm Input voltage critical max alarm
86 in1_lcrit Input voltage critical min value
87 in1_lcrit_alarm Input voltage critical min alarm
88 in1_max Input voltage max value
89 in1_max_alarm Input voltage max alarm
90
91 in2_label "vcap"
92 in2_input Hold up capacitor voltage
93
94 in[3-8]_label "vout[1-3,5-7]"
95 in[3-8]_input Measured output voltage
96 in[3-4]_alarm vout[1-2] output voltage alarm
97
98 power[1-2]_label "pin[1-2]"
99 power[1-2]_input Measured input power
100 power[1-2]_alarm Input power high alarm
101
102 power[3-4]_label "pout[1-2]"
103 power[3-4]_input Measured output power
104
105 temp[1-3]_input Measured temperature
106 temp[1-3]_alarm Temperature alarm
107 ======================= =======================================================
108
109 .. note::
110
111 - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
112 exist for PFE3000.
113

3. 한국어 전문 번역

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

BEL PFE1100·PFE3000 지원

1-43

이 driver는 BEL `PFE1100`을 prefix `pfe1100`, BEL `PFE3000`을 prefix `pfe3000`으로 지원합니다. 자동 검색 주소는 없으며 두 제품의 datasheet URL이 제공됩니다. 저자는 Tao Ren입니다.

PMBus protocol을 지원하는 power supply를 monitoring합니다. PFE1100은 1100 Watt AC-to-DC power-factor-corrected, 즉 PFC power supply입니다. PFE3000은 3000 Watt AC/DC PFC 및 DC-DC power supply입니다. 두 제품의 PMBus Communication Manual은 공개되지 않았습니다.

이 driver는 core PMBus driver의 client driver입니다. PMBus client driver의 자세한 내용은 `Documentation/hwmon/pmbus.rst`를 참고합니다.

BEL PFE 제품
제품Prefix정격/유형
PFE1100pfe11001100W AC-to-DC PFC
PFE3000pfe30003000W AC/DC PFC + DC-DC
공통-PMBus client, communication manual 비공개

정격과 변환 유형, driver prefix입니다.

PMBus monitoring
PFE1100 또는 PFE3000 식별해당 prefix로 client 생성Core PMBus driver에 binding제품별 page·channel capability 등록

제품 variant를 core PMBus framework에 연결합니다.

Kernel driver bel-pfe
======================

Supported chips:

  * BEL PFE1100

    Prefixes: 'pfe1100'

    Addresses scanned: -

    Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe1100-12-054xa.pdf

  * BEL PFE3000

    Prefixes: 'pfe3000'

    Addresses scanned: -

    Datasheet: https://www.belfuse.com/resources/datasheets/powersolutions/ds-bps-pfe3000-series.pdf

Author: Tao Ren <rentao.bupt@gmail.com>


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

This driver supports hardware monitoring for below power supply devices
which support PMBus Protocol:

  * BEL PFE1100

    1100 Watt AC to DC power-factor-corrected (PFC) power supply.
    PMBus Communication Manual is not publicly available.

  * BEL PFE3000

    3000 Watt AC/DC power-factor-corrected (PFC) and DC-DC power supply.
    PMBus Communication Manual is not publicly available.

The driver is a client driver to the core PMBus driver. Please see
Documentation/hwmon/pmbus.rst for details on PMBus client drivers.

명시적 장치 등록과 platform data

44-64

Driver는 장치를 auto-detect하지 않으므로 명시적으로 instantiate해야 합니다. 자세한 방법은 `Documentation/i2c/instantiating-devices.rst`를 참고합니다.

예를 들어 I2C bus 1의 주소 `0x20`에 PFE3000이 있으면 `$ modprobe bel-pfe`를 실행하고, `$ echo pfe3000 0x20 > /sys/bus/i2c/devices/i2c-1/new_device`로 장치를 생성합니다.

Driver는 standard PMBus driver platform data를 지원합니다.

PFE3000 등록 예
단계명령/설정
Module loadmodprobe bel-pfe
Client 생성echo pfe3000 0x20 > .../i2c-1/new_device
Platform dataStandard PMBus driver platform data

자동 탐지 없이 필요한 두 단계입니다.

명시적 instantiate
I2C bus와 address 확인bel-pfe module loadpfe1100 또는 pfe3000 이름으로 new_device 생성PMBus core가 hwmon attribute 등록

Bus와 address를 알고 있는 platform이 client를 생성합니다.


Usage Notes
-----------

This driver does not auto-detect devices. You will have to instantiate the
devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
details.

Example: the following will load the driver for an PFE3000 at address 0x20
on I2C bus #1::

        $ modprobe bel-pfe
        $ echo pfe3000 0x20 > /sys/bus/i2c/devices/i2c-1/new_device


Platform data support
---------------------

The driver supports standard PMBus driver platform data.

BEL PFE sysfs와 모델별 항목

65-112

`curr1_label`은 `iin`, `curr1_input`은 measured input current, `curr1_max`와 `curr1_max_alarm`은 input current maximum과 alarm입니다. `curr[2-3]_label`은 `iout[1-2]`이며 각 output current의 input, maximum, maximum alarm을 제공합니다.

`fan[1-2]_input`은 fan 1·2 speed를 RPM으로 제공합니다. `fan1_target`은 두 fan 모두에 적용할 fan speed reference를 설정합니다.

`in1_label`은 `vin`입니다. `in1_input`, critical maximum과 alarm인 `in1_crit`·`in1_crit_alarm`, critical minimum과 alarm인 `in1_lcrit`·`in1_lcrit_alarm`, maximum과 alarm인 `in1_max`·`in1_max_alarm`을 제공합니다.

`in2_label`은 `vcap`이며 `in2_input`은 hold-up capacitor voltage입니다. `in[3-8]_label`은 `vout[1-3,5-7]`, `in[3-8]_input`은 measured output voltage입니다. `in[3-4]_alarm`은 vout1·vout2 output voltage alarm입니다.

`power[1-2]_label`은 `pin[1-2]`, `power[1-2]_input`은 measured input power, `power[1-2]_alarm`은 input power high alarm입니다. `power[3-4]_label`은 `pout[1-2]`이고 `power[3-4]_input`은 measured output power입니다.

`temp[1-3]_input`은 measured temperature, `temp[1-3]_alarm`은 temperature alarm입니다. `curr3`, `fan2`, `vout[2-7]`, `vcap`, `pin2`, `pout2`, `temp3` attribute는 PFE3000에만 존재합니다.

BEL PFE sysfs 그룹
그룹Label/attribute비고
Input currentiin, curr1max와 alarm
Output currentiout1-2, curr2-3iout2는 PFE3000 전용
Fanfan1-2, fan1_targetfan2는 PFE3000 전용
Voltagevin, vcap, vout1-3/5-7vcap와 vout2-7은 PFE3000 전용
Powerpin1-2, pout1-2pin2·pout2는 PFE3000 전용
Temperaturetemp1-3temp3는 PFE3000 전용

전류·전압·전력·온도와 PFE3000 전용 항목입니다.

모델별 ABI 노출
제품 variant 확인공통 iin·iout1·fan1·vin·vout1 등록Power와 temperature 공통 채널 등록PFE3000이면 두 번째 output·fan과 vcap 확장각 limit·alarm 게시

PFE1100 공통 채널에 PFE3000 확장 채널을 더합니다.

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

======================= =======================================================
curr1_label                "iin"
curr1_input                Measured input current
curr1_max               Input current max value
curr1_max_alarm         Input current max alarm

curr[2-3]_label                "iout[1-2]"
curr[2-3]_input                Measured output current
curr[2-3]_max           Output current max value
curr[2-3]_max_alarm     Output current max alarm

fan[1-2]_input          Fan 1 and 2 speed in RPM
fan1_target             Set fan speed reference for both fans

in1_label                "vin"
in1_input                Measured input voltage
in1_crit                Input voltage critical max value
in1_crit_alarm                Input voltage critical max alarm
in1_lcrit               Input voltage critical min value
in1_lcrit_alarm         Input voltage critical min alarm
in1_max                 Input voltage max value
in1_max_alarm           Input voltage max alarm

in2_label               "vcap"
in2_input               Hold up capacitor voltage

in[3-8]_label                "vout[1-3,5-7]"
in[3-8]_input                Measured output voltage
in[3-4]_alarm           vout[1-2] output voltage alarm

power[1-2]_label        "pin[1-2]"
power[1-2]_input        Measured input power
power[1-2]_alarm        Input power high alarm

power[3-4]_label        "pout[1-2]"
power[3-4]_input        Measured output power

temp[1-3]_input                Measured temperature
temp[1-3]_alarm         Temperature alarm
======================= =======================================================

.. note::

    - curr3, fan2, vout[2-7], vcap, pin2, pout2 and temp3 attributes only
      exist for PFE3000.