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

Linux 6.18.37 · Hardware Monitoring

Kernel driver max34440

MAX34440 계열과 ADPM12160의 모델별 PMBus 전압·전류·전력·온도 채널 및 이력입니다.

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

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

1. 요약·해설

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

요약·해설

max34440.rst:1-209

일곱 장치의 채널 제한을 구분하고 MAX34446의 전압·전류 모드 조합과 전력·온도 이력을 관리합니다.

문서 개요
항목
SourceDocumentation/hwmon/max34440.rst
분량209 source lines
지원 장치7개
자동 검색없음

원문 분량과 핵심 인터페이스입니다.

운영 흐름
모델 식별장치 명시적 생성V/I 채널 구성경보·이력 확인전력·온도 감시

장치 등록부터 측정·경보 처리까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver max34440
2 ======================
3
4 Supported chips:
5
6 * ADI ADPM12160
7
8 Prefixes: 'adpm12160'
9
10 Addresses scanned: -
11
12 Datasheet: -
13
14 * Maxim MAX34440
15
16 Prefixes: 'max34440'
17
18 Addresses scanned: -
19
20 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34440.pdf
21
22 * Maxim MAX34441
23
24 PMBus 5-Channel Power-Supply Manager and Intelligent Fan Controller
25
26 Prefixes: 'max34441'
27
28 Addresses scanned: -
29
30 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34441.pdf
31
32 * Maxim MAX34446
33
34 PMBus Power-Supply Data Logger
35
36 Prefixes: 'max34446'
37
38 Addresses scanned: -
39
40 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34446.pdf
41
42 * Maxim MAX34451
43
44 PMBus 16-Channel V/I Monitor and 12-Channel Sequencer/Marginer
45
46 Prefixes: 'max34451'
47
48 Addresses scanned: -
49
50 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34451.pdf
51
52 * Maxim MAX34460
53
54 PMBus 12-Channel Voltage Monitor & Sequencer
55
56 Prefix: 'max34460'
57
58 Addresses scanned: -
59
60 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34460.pdf
61
62 * Maxim MAX34461
63
64 PMBus 16-Channel Voltage Monitor & Sequencer
65
66 Prefix: 'max34461'
67
68 Addresses scanned: -
69
70 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34461.pdf
71
72 Author: Guenter Roeck <[email protected]>
73
74
75 Description
76 -----------
77
78 This driver supports multiple devices: hardware monitoring for Maxim MAX34440
79 PMBus 6-Channel Power-Supply Manager, MAX34441 PMBus 5-Channel Power-Supply
80 Manager and Intelligent Fan Controller, and MAX34446 PMBus Power-Supply Data
81 Logger; PMBus Voltage Monitor and Sequencers for MAX34451, MAX34460, and
82 MAX34461; PMBus DC/DC Power Module ADPM12160. The MAX34451 supports monitoring
83 voltage or current of 12 channels based on GIN pins. The MAX34460 supports 12
84 voltage channels, and the MAX34461 supports 16 voltage channels. The ADPM1260
85 also monitors both input and output of voltage and current.
86
87 The driver is a client driver to the core PMBus driver. Please see
88 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
89
90
91 Usage Notes
92 -----------
93
94 This driver does not auto-detect devices. You will have to instantiate the
95 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
96 details.
97
98 For MAX34446, the value of the currX_crit attribute determines if current or
99 voltage measurement is enabled for a given channel. Voltage measurement is
100 enabled if currX_crit is set to 0; current measurement is enabled if the
101 attribute is set to a positive value. Power measurement is only enabled if
102 channel 1 (3) is configured for voltage measurement, and channel 2 (4) is
103 configured for current measurement.
104
105
106 Platform data support
107 ---------------------
108
109 The driver supports standard PMBus driver platform data.
110
111
112 Sysfs entries
113 -------------
114
115 The following attributes are supported. Limits are read-write; all other
116 attributes are read-only.
117
118 In
119 ~~
120
121 ======================= =======================================================
122 in[1-6]_label "vout[1-6]".
123 in[1-6]_input Measured voltage. From READ_VOUT register.
124 in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
125 in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
126 in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
127 in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
128 register.
129 in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
130 in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
131 in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT
132 status.
133 in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT
134 status.
135 in[1-6]_lowest Historical minimum voltage.
136 in[1-6]_highest Historical maximum voltage.
137 in[1-6]_reset_history Write any value to reset history.
138 ======================= =======================================================
139
140 .. note::
141
142 - MAX34446 only supports in[1-4].
143 - ADPM12160 only supports in[1-2]. Label is "vin1" and "vout1" respectively.
144
145 Curr
146 ~~~~
147
148 ======================= ========================================================
149 curr[1-6]_label "iout[1-6]".
150 curr[1-6]_input Measured current. From READ_IOUT register.
151 curr[1-6]_max Maximum current. From IOUT_OC_WARN_LIMIT register.
152 curr[1-6]_crit Critical maximum current. From IOUT_OC_FAULT_LIMIT
153 register.
154 curr[1-6]_max_alarm Current high alarm. From IOUT_OC_WARNING status.
155 curr[1-6]_crit_alarm Current critical high alarm. From IOUT_OC_FAULT status.
156 curr[1-4]_average Historical average current (MAX34446/34451 only).
157 curr[1-6]_highest Historical maximum current.
158 curr[1-6]_reset_history Write any value to reset history.
159 ======================= ========================================================
160
161 .. note::
162
163 - in6 and curr6 attributes only exist for MAX34440.
164 - MAX34446 only supports curr[1-4].
165 - For ADPM12160, curr[1] is "iin1" and curr[2-6] are "iout[1-5].
166
167 Power
168 ~~~~~
169
170 ======================= ========================================================
171 power[1,3]_label "pout[1,3]"
172 power[1,3]_input Measured power.
173 power[1,3]_average Historical average power.
174 power[1,3]_highest Historical maximum power.
175 ======================= ========================================================
176
177 .. note:: Power attributes only exist for MAX34446.
178
179 Temp
180 ~~~~
181
182 ======================= ========================================================
183 temp[1-8]_input Measured temperatures. From READ_TEMPERATURE_1 register.
184 temp1 is the chip's internal temperature. temp2..temp5
185 are remote I2C temperature sensors. For MAX34441, temp6
186 is a remote thermal-diode sensor. For MAX34440, temp6..8
187 are remote I2C temperature sensors.
188 temp[1-8]_max Maximum temperature. From OT_WARN_LIMIT register.
189 temp[1-8]_crit Critical high temperature. From OT_FAULT_LIMIT register.
190 temp[1-8]_max_alarm Temperature high alarm.
191 temp[1-8]_crit_alarm Temperature critical high alarm.
192 temp[1-8]_average Historical average temperature (MAX34446 only).
193 temp[1-8]_highest Historical maximum temperature.
194 temp[1-8]_reset_history Write any value to reset history.
195 ======================= ========================================================
196
197
198 .. note::
199 - temp7 and temp8 attributes only exist for MAX34440.
200 - MAX34446 only supports temp[1-3].
201 - ADPM12160 only supports temp[1].
202
203
204 .. note::
205
206 - MAX34451 supports attribute groups in[1-16] (or curr[1-16] based on
207 input pins) and temp[1-5].
208 - MAX34460 supports attribute groups in[1-12] and temp[1-5].
209 - MAX34461 supports attribute groups in[1-16] and temp[1-5].
210

3. 한국어 전문 번역

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

MAX34440 계열과 ADPM12160 지원 범위

1-76

Guenter Roeck가 작성한 이 PMBus 클라이언트 드라이버는 ADI ADPM12160과 Maxim MAX34440, MAX34441, MAX34446, MAX34451, MAX34460, MAX34461을 지원합니다. 각 모델 접두사는 소문자 모델명이며 주소 자동 검색은 하지 않습니다.

MAX34441은 5채널 전원 관리자와 지능형 팬 컨트롤러, MAX34446은 전원 데이터 로거, MAX34451은 16채널 V/I 모니터와 12채널 시퀀서·마지너입니다. MAX34460은 12채널, MAX34461은 16채널 전압 모니터·시퀀서입니다.

MAX34440 지원 장치
모델접두사대표 기능
ADPM12160adpm12160PMBus DC/DC 전원 모듈
MAX34440max344406채널 전원 관리자
MAX34441max344415채널 전원 관리자 + 팬 제어
MAX34446max34446전원 데이터 로거
MAX34451max3445116채널 V/I + 12채널 시퀀서
MAX34460max3446012채널 전압 모니터·시퀀서
MAX34461max3446116채널 전압 모니터·시퀀서

모델별 대표 기능과 접두사입니다.

모델 선택
정확한 칩 모델 확인모델별 접두사 선택장치 명시적 생성PMBus 코어 연결모델별 속성 그룹 생성

장치 기능에 맞는 접두사와 채널 구성을 고릅니다.

Kernel driver max34440
======================

Supported chips:

  * ADI ADPM12160

    Prefixes: 'adpm12160'

    Addresses scanned: -

    Datasheet: -

  * Maxim MAX34440

    Prefixes: 'max34440'

    Addresses scanned: -

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34440.pdf

  * Maxim MAX34441

    PMBus 5-Channel Power-Supply Manager and Intelligent Fan Controller

    Prefixes: 'max34441'

    Addresses scanned: -

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34441.pdf

  * Maxim MAX34446

    PMBus Power-Supply Data Logger

    Prefixes: 'max34446'

    Addresses scanned: -

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34446.pdf

  * Maxim MAX34451

    PMBus 16-Channel V/I Monitor and 12-Channel Sequencer/Marginer

    Prefixes: 'max34451'

    Addresses scanned: -

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34451.pdf

  * Maxim MAX34460

    PMBus 12-Channel Voltage Monitor & Sequencer

    Prefix: 'max34460'

    Addresses scanned: -

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34460.pdf

  * Maxim MAX34461

    PMBus 16-Channel Voltage Monitor & Sequencer

    Prefix: 'max34461'

    Addresses scanned: -

    Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX34461.pdf

Author: Guenter Roeck <[email protected]>


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

모델별 감시 기능과 MAX34446 측정 모드

77-112

MAX34440은 6채널 전원 관리자, MAX34441은 5채널 전원 관리자와 팬 제어, MAX34446은 전원 데이터 로거를 제공합니다. MAX34451은 GIN 핀 설정에 따라 12채널의 전압 또는 전류를 감시하고, MAX34460은 전압 12채널, MAX34461은 전압 16채널을 감시합니다. ADPM12160은 입력·출력 전압과 전류를 모두 감시합니다.

원문 설명에는 마지막 모델을 `ADPM1260`이라고 적었지만 지원 칩 목록과 접두사는 `ADPM12160`입니다. 이 불일치는 원문 전체에 그대로 보존하며 번역 해설에서는 목록 기준 모델을 사용합니다.

드라이버는 PMBus 코어 클라이언트이고 자동 검출하지 않으므로 장치를 명시적으로 생성해야 합니다. 표준 PMBus 플랫폼 데이터를 지원합니다.

MAX34446에서는 `currX_crit`이 채널의 전압·전류 측정 모드를 결정합니다. 0이면 전압, 양수면 전류 측정입니다. 전력은 채널 1(또는 3)이 전압, 채널 2(또는 4)가 전류로 구성될 때만 활성화됩니다.

MAX34446 채널 모드
조건결과
currX_crit = 0해당 채널 전압 측정
currX_crit > 0해당 채널 전류 측정
채널 1 전압 + 2 전류power1 활성
채널 3 전압 + 4 전류power3 활성

currX_crit 값과 채널 쌍이 측정 종류를 정합니다.

MAX34446 전력 활성화
채널 1 또는 3을 전압으로 설정채널 2 또는 4를 전류로 설정currX_crit 값 확인power1 또는 power3 생성측정 전력·이력 읽기

짝을 이룬 전압·전류 채널이 필요합니다.


This driver supports multiple devices: hardware monitoring for Maxim MAX34440
PMBus 6-Channel Power-Supply Manager, MAX34441 PMBus 5-Channel Power-Supply
Manager and Intelligent Fan Controller, and MAX34446 PMBus Power-Supply Data
Logger; PMBus Voltage Monitor and Sequencers for MAX34451, MAX34460, and
MAX34461; PMBus DC/DC Power Module ADPM12160. The MAX34451 supports monitoring
voltage or current of 12 channels based on GIN pins. The MAX34460 supports 12
voltage channels, and the MAX34461 supports 16 voltage channels. The ADPM1260
also monitors both input and output of voltage and current.

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


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.

For MAX34446, the value of the currX_crit attribute determines if current or
voltage measurement is enabled for a given channel. Voltage measurement is
enabled if currX_crit is set to 0; current measurement is enabled if the
attribute is set to a positive value. Power measurement is only enabled if
channel 1 (3) is configured for voltage measurement, and channel 2 (4) is
configured for current measurement.


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

The driver supports standard PMBus driver platform data.


Sysfs entries

전압·전류 한계와 경보·이력

113-166

한계값은 읽기·쓰기이고 그 밖의 속성은 읽기 전용입니다. `in[1-6]`은 `vout[1-6]` 전압입니다. `READ_VOUT`, `VOUT_UV_WARN_LIMIT`, `VOUT_OV_WARN_LIMIT`, `VOUT_UV_FAULT_LIMIT`, `VOUT_OV_FAULT_LIMIT`에서 현재값과 경고·고장 한계를 얻습니다.

전압 low/high 경보는 `VOLTAGE_UV_WARNING`과 `VOLTAGE_OV_WARNING`, 임계 low/high 경보는 `VOLTAGE_UV_FAULT`와 `VOLTAGE_OV_FAULT` 상태에서 옵니다. `lowest`, `highest`, `reset_history`는 최소·최대 이력과 초기화를 제공합니다. MAX34446은 in1-4만, ADPM12160은 in1·in2만 지원하며 레이블은 `vin1`, `vout1`입니다.

`curr[1-6]`은 `iout[1-6]` 전류이며 `READ_IOUT`, `IOUT_OC_WARN_LIMIT`, `IOUT_OC_FAULT_LIMIT`과 경고·고장 상태를 사용합니다. MAX34446/MAX34451의 curr1-4에는 평균 이력이 있고, 모든 지원 채널은 최고값과 이력 초기화를 제공합니다.

in6와 curr6은 MAX34440에만 있습니다. MAX34446은 curr1-4만 지원합니다. ADPM12160은 curr1이 `iin1`, curr2-6이 `iout1-5`입니다.

MAX34440 전압·전류
그룹현재값한계·경보이력
in1-6READ_VOUTUV/OV WARN·FAULTlowest, highest, reset
curr1-6READ_IOUTOC WARN·FAULTaverage 일부, highest, reset
ADPM12160 invin1, vout1전압 한계·경보지원 이력
ADPM12160 curriin1, iout1-5전류 한계·경보지원 이력

PMBus 레지스터와 이력 속성의 대응입니다.

전압·전류 감시
모델별 채널 범위 결정READ_VOUT·READ_IOUT 읽기WARN·FAULT 한계 비교경보 상태 확인필요 시 이력 초기화

모델 채널 수를 확인한 뒤 한계와 이력을 읽습니다.

-------------

The following attributes are supported. Limits are read-write; all other
attributes are read-only.

In
~~

======================= =======================================================
in[1-6]_label                "vout[1-6]".
in[1-6]_input                Measured voltage. From READ_VOUT register.
in[1-6]_min                Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
in[1-6]_max                Maximum voltage. From VOUT_OV_WARN_LIMIT register.
in[1-6]_lcrit                Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
in[1-6]_crit                Critical maximum voltage. From VOUT_OV_FAULT_LIMIT
                        register.
in[1-6]_min_alarm        Voltage low alarm. From VOLTAGE_UV_WARNING status.
in[1-6]_max_alarm        Voltage high alarm. From VOLTAGE_OV_WARNING status.
in[1-6]_lcrit_alarm        Voltage critical low alarm. From VOLTAGE_UV_FAULT
                        status.
in[1-6]_crit_alarm        Voltage critical high alarm. From VOLTAGE_OV_FAULT
                        status.
in[1-6]_lowest                Historical minimum voltage.
in[1-6]_highest                Historical maximum voltage.
in[1-6]_reset_history        Write any value to reset history.
======================= =======================================================

.. note::

    - MAX34446 only supports in[1-4].
    - ADPM12160 only supports in[1-2]. Label is "vin1" and "vout1" respectively.

Curr
~~~~

======================= ========================================================
curr[1-6]_label                "iout[1-6]".
curr[1-6]_input                Measured current. From READ_IOUT register.
curr[1-6]_max                Maximum current. From IOUT_OC_WARN_LIMIT register.
curr[1-6]_crit                Critical maximum current. From IOUT_OC_FAULT_LIMIT
                        register.
curr[1-6]_max_alarm        Current high alarm. From IOUT_OC_WARNING status.
curr[1-6]_crit_alarm        Current critical high alarm. From IOUT_OC_FAULT status.
curr[1-4]_average        Historical average current (MAX34446/34451 only).
curr[1-6]_highest        Historical maximum current.
curr[1-6]_reset_history        Write any value to reset history.
======================= ========================================================

.. note::

    - in6 and curr6 attributes only exist for MAX34440.
    - MAX34446 only supports curr[1-4].
    - For ADPM12160, curr[1] is "iin1" and curr[2-6] are "iout[1-5].

전력·온도 채널과 모델별 제한

167-209

`power1`과 `power3`은 각각 `pout1`, `pout3`이며 측정 전력, 과거 평균, 과거 최고값을 제공합니다. 전력 속성은 MAX34446에만 있습니다.

`temp[1-8]_input`은 `READ_TEMPERATURE_1` 기반 온도입니다. temp1은 내부 칩, temp2-5는 원격 I2C 온도 센서입니다. MAX34441의 temp6은 원격 열 다이오드, MAX34440의 temp6-8은 원격 I2C 센서입니다.

온도 속성은 `OT_WARN_LIMIT` 최대값, `OT_FAULT_LIMIT` 임계 고온값, high·critical-high 경보, 평균·최고 이력과 초기화를 제공합니다. 평균 이력은 MAX34446에만 있습니다.

temp7·temp8은 MAX34440에만 있고 MAX34446은 temp1-3, ADPM12160은 temp1만 지원합니다. MAX34451은 GIN 구성에 따른 in1-16 또는 curr1-16과 temp1-5, MAX34460은 in1-12와 temp1-5, MAX34461은 in1-16과 temp1-5를 제공합니다.

MAX34440 모델별 확장 채널
모델전력온도·V/I 범위
MAX34440없음temp1-8, in/curr1-6
MAX34441없음temp1-6, 5채널 전원
MAX34446power1·3temp1-3, in/curr1-4
MAX34451없음in 또는 curr1-16, temp1-5
MAX34460없음in1-12, temp1-5
MAX34461없음in1-16, temp1-5
ADPM12160없음in1-2, curr1-6, temp1

모델마다 전력·온도·V/I 범위가 다릅니다.

온도·전력 이력 관리
모델별 속성 존재 여부 확인내부·원격 온도 읽기OT WARN·FAULT 경보 확인MAX34446 전력·평균 읽기필요 시 온도 이력 초기화

지원 모델에서 현재값과 누적 이력을 함께 사용합니다.

Power
~~~~~

======================= ========================================================
power[1,3]_label        "pout[1,3]"
power[1,3]_input        Measured power.
power[1,3]_average        Historical average power.
power[1,3]_highest        Historical maximum power.
======================= ========================================================

.. note:: Power attributes only exist for MAX34446.

Temp
~~~~

======================= ========================================================
temp[1-8]_input                Measured temperatures. From READ_TEMPERATURE_1 register.
                        temp1 is the chip's internal temperature. temp2..temp5
                        are remote I2C temperature sensors. For MAX34441, temp6
                        is a remote thermal-diode sensor. For MAX34440, temp6..8
                        are remote I2C temperature sensors.
temp[1-8]_max                Maximum temperature. From OT_WARN_LIMIT register.
temp[1-8]_crit                Critical high temperature. From OT_FAULT_LIMIT register.
temp[1-8]_max_alarm        Temperature high alarm.
temp[1-8]_crit_alarm        Temperature critical high alarm.
temp[1-8]_average        Historical average temperature (MAX34446 only).
temp[1-8]_highest        Historical maximum temperature.
temp[1-8]_reset_history        Write any value to reset history.
======================= ========================================================


.. note::
   - temp7 and temp8 attributes only exist for MAX34440.
   - MAX34446 only supports temp[1-3].
   - ADPM12160 only supports temp[1].


.. note::

   - MAX34451 supports attribute groups in[1-16] (or curr[1-16] based on
     input pins) and temp[1-5].
   - MAX34460 supports attribute groups in[1-12] and temp[1-5].
   - MAX34461 supports attribute groups in[1-16] and temp[1-5].