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

Linux 6.18.37 · Hardware Monitoring

Kernel driver pim4328

Flex PIM4328·PIM4820·PIM4X06 전력 인터페이스의 전압·전류·온도와 경보를 제공합니다.

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

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

1. 요약·해설

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

요약·해설

pim4328.rst:1-105

자동 감지 없이 Flex PIM 장치를 명시적으로 생성하고 모델별 이중 입력, 홀드업 커패시터, 출력 전류와 온도를 읽습니다.

문서 개요
항목
SourceDocumentation/hwmon/pim4328.rst
분량105 source lines
제품군PIM4328/4820/4X06
권한RO

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

운영 흐름
모델 확인I2C 장치 생성PMBus 코어 등록모델별 채널 선택측정·경보 공개

장치 인식부터 측정·제어까지의 핵심 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 Kernel driver pim4328
4 =====================
5
6 Supported chips:
7
8 * Flex PIM4328
9
10 Prefix: 'pim4328', 'bmr455'
11
12 Addresses scanned: -
13
14 Datasheet:
15
16 https://flexpowermodules.com/resources/fpm-techspec-pim4328
17
18 * Flex PIM4820
19
20 Prefixes: 'pim4820'
21
22 Addresses scanned: -
23
24 Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4820
25
26 * Flex PIM4006, PIM4106, PIM4206, PIM4306, PIM4406
27
28 Prefixes: 'pim4006', 'pim4106', 'pim4206', 'pim4306', 'pim4406'
29
30 Addresses scanned: -
31
32 Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4006
33
34 Author: Erik Rosen <[email protected]>
35
36
37 Description
38 -----------
39
40 This driver supports hardware monitoring for Flex PIM4328 and
41 compatible digital power interface modules.
42
43 The driver is a client driver to the core PMBus driver. Please see
44 Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details
45 on PMBus client drivers.
46
47
48 Usage Notes
49 -----------
50
51 This driver does not auto-detect devices. You will have to instantiate the
52 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
53 details.
54
55
56 Platform data support
57 ---------------------
58
59 The driver supports standard PMBus driver platform data.
60
61
62 Sysfs entries
63 -------------
64
65 The following attributes are supported. All attributes are read-only.
66
67 ======================= ========================================================
68 in1_label "vin"
69 in1_input Measured input voltage.
70 in1_alarm Input voltage alarm.
71
72 in2_label "vin.0"
73 in2_input Measured input voltage on input A.
74
75 PIM4328 and PIM4X06
76
77 in3_label "vin.1"
78 in3_input Measured input voltage on input B.
79
80 PIM4328 and PIM4X06
81
82 in4_label "vcap"
83 in4_input Measured voltage on holdup capacitor.
84
85 PIM4328
86
87 curr1_label "iin.0"
88 curr1_input Measured input current on input A.
89
90 PIM4X06
91
92 curr2_label "iin.1"
93 curr2_input Measured input current on input B.
94
95 PIM4X06
96
97 currX_label "iout1"
98 currX_input Measured output current.
99 currX_alarm Output current alarm.
100
101 X is 1 for PIM4820, 3 otherwise.
102
103 temp1_input Measured temperature.
104 temp1_alarm High temperature alarm.
105 ======================= ========================================================
106

3. 한국어 전문 번역

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

지원 Flex 전력 인터페이스 모듈

1-45

GPL-2.0 `pim4328` 드라이버는 Flex PIM4328과 호환 디지털 전력 인터페이스 모듈을 지원하며 Erik Rosen이 작성했습니다.

PIM4328은 `pim4328` 또는 `bmr455` 접두사를 사용합니다. PIM4820은 `pim4820`, PIM4006·PIM4106·PIM4206·PIM4306·PIM4406은 각각 대응하는 `pim4x06` 접두사를 사용합니다. 어느 모델도 주소를 자동 검색하지 않습니다.

각 제품군의 데이터시트 링크가 원문에 제공됩니다. 드라이버는 PMBus 코어의 클라이언트이며 PMBus 클라이언트 드라이버의 일반 구조는 `Documentation/hwmon/pmbus.rst`와 `Documentation/hwmon/pmbus-core.rst`에서 설명합니다.

Flex PIM 지원 모델
제품접두사주소 검색
PIM4328pim4328, bmr455없음
PIM4820pim4820없음
PIM4006pim4006없음
PIM4106pim4106없음
PIM4206pim4206없음
PIM4306pim4306없음
PIM4406pim4406없음

제품군과 드라이버 접두사를 대응시킵니다.

PIM PMBus 연결
Flex PIM 모델 확인대응 접두사 선택I2C 장치를 명시적으로 생성PMBus 코어 클라이언트 등록모델별 센서 채널 공개

장치별 코드가 PMBus 코어 기능을 사용합니다.

.. SPDX-License-Identifier: GPL-2.0

Kernel driver pim4328
=====================

Supported chips:

  * Flex PIM4328

    Prefix: 'pim4328', 'bmr455'

    Addresses scanned: -

    Datasheet:

https://flexpowermodules.com/resources/fpm-techspec-pim4328

  * Flex PIM4820

    Prefixes: 'pim4820'

    Addresses scanned: -

    Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4820

  * Flex PIM4006, PIM4106, PIM4206, PIM4306, PIM4406

    Prefixes: 'pim4006', 'pim4106', 'pim4206', 'pim4306', 'pim4406'

    Addresses scanned: -

    Datasheet: https://flexpowermodules.com/resources/fpm-techspec-pim4006

Author: Erik Rosen <[email protected]>


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

This driver supports hardware monitoring for Flex PIM4328 and
compatible digital power interface modules.

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

명시적 생성과 플랫폼 데이터

46-65

이 드라이버는 장치를 자동 감지하지 않습니다. 실제 버스와 주소를 알고 있어야 하며, `Documentation/i2c/instantiating-devices.rst`의 방법에 따라 장치를 명시적으로 생성해야 합니다.

표준 PMBus 드라이버 플랫폼 데이터를 지원하므로 보드별 플래그와 레귤레이터 초기화 정보를 PMBus 코어에 전달할 수 있습니다.

아래 sysfs 속성은 모두 읽기 전용입니다.

PIM 사용 조건
항목동작
자동 감지지원하지 않음
장치 생성I2C 버스와 주소로 명시적 생성
참고 문서Documentation/i2c/instantiating-devices.rst
플랫폼 데이터표준 PMBus 형식 지원
sysfs 권한모두 읽기 전용

자동 감지 여부와 설정 전달 경로입니다.

PIM 장치 준비
보드의 I2C 버스·주소 확인모델 접두사 선택필요한 PMBus 플랫폼 플래그 설정장치 인스턴스 생성읽기 전용 hwmon 속성 확인

보드 정보에서 PMBus 클라이언트를 만듭니다.



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.


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

The driver supports standard PMBus driver platform data.


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

The following attributes are supported. All attributes are read-only.

입력·출력 전압과 전류·온도

66-105

`in1_label`은 `vin`, `in1_input`은 측정 입력 전압, `in1_alarm`은 입력 전압 경보를 제공합니다.

PIM4328과 PIM4X06에서 `in2_label`은 `vin.0`이고 입력 A 전압을, `in3_label`은 `vin.1`이고 입력 B 전압을 제공합니다. PIM4328의 `in4_label`은 `vcap`이며 홀드업 커패시터 전압을 측정합니다.

PIM4X06에서 `curr1_label`은 `iin.0`이고 입력 A 전류를, `curr2_label`은 `iin.1`이고 입력 B 전류를 측정합니다.

출력 전류 라벨은 `iout1`입니다. `currX_input`은 측정 출력 전류, `currX_alarm`은 출력 전류 경보입니다. X는 PIM4820에서 1이고 다른 모델에서는 3입니다.

`temp1_input`은 측정 온도, `temp1_alarm`은 고온 경보를 제공합니다.

PIM 모델별 sysfs
속성라벨·의미적용 모델
in1_input/alarmvin 입력 전압·경보모두
in2_inputvin.0 입력 A 전압PIM4328, PIM4X06
in3_inputvin.1 입력 B 전압PIM4328, PIM4X06
in4_inputvcap 홀드업 커패시터 전압PIM4328
curr1/curr2_inputiin.0/iin.1 입력 A/B 전류PIM4X06
currX_input/alarmiout1 출력 전류·경보X=1 PIM4820, 그 외 X=3
temp1_input/alarm온도·고온 경보모두

모델 조건과 채널 번호를 함께 표시합니다.

PIM 센서 공개
공통 vin·온도 기능 확인PIM4328이면 vcap 추가PIM4X06이면 이중 입력 전류 추가PIM4820 여부로 출력 전류 X 결정측정값과 경보 속성 등록

모델에 존재하는 PMBus 채널만 hwmon에 매핑합니다.


======================= ========================================================
in1_label                "vin"
in1_input                Measured input voltage.
in1_alarm                Input voltage alarm.

in2_label                "vin.0"
in2_input                Measured input voltage on input A.

                        PIM4328 and PIM4X06

in3_label                "vin.1"
in3_input                Measured input voltage on input B.

                        PIM4328 and PIM4X06

in4_label                "vcap"
in4_input                Measured voltage on holdup capacitor.

                        PIM4328

curr1_label                "iin.0"
curr1_input                Measured input current on input A.

                        PIM4X06

curr2_label                "iin.1"
curr2_input                Measured input current on input B.

                        PIM4X06

currX_label                "iout1"
currX_input                Measured output current.
currX_alarm                Output current alarm.

                        X is 1 for PIM4820, 3 otherwise.

temp1_input                Measured temperature.
temp1_alarm                High temperature alarm.
======================= ========================================================