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

Linux 6.18.37 · Hardware Monitoring

Kernel driver adm1275

ADM1075·ADM127x·ADM129x·SQ24905C PMBus Hot-Swap monitor의 모델별 ABI입니다.

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

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

1. 요약·해설

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

요약·해설

adm1275.rst:1-172

지원 모델, 명시적 등록과 scaling, 전압·전류·전력·온도의 모델별 sysfs 차이를 설명합니다.

문서 개요
항목
SourceDocumentation/hwmon/adm1275.rst
분량172 source lines
InterfacePMBus
ModelsADM1075/127x/1281/129x, SQ24905C

원문 분량과 핵심 기능을 요약합니다.

핵심 흐름
모델과 prefix 확인장치 명시적 등록Raw 측정 scaling지원되는 sysfs group 사용

드라이버를 적용하고 읽는 기본 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver adm1275
2 =====================
3
4 Supported chips:
5
6 * Analog Devices ADM1075
7
8 Prefix: 'adm1075'
9
10 Addresses scanned: -
11
12 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf
13
14 * Analog Devices ADM1272
15
16 Prefix: 'adm1272'
17
18 Addresses scanned: -
19
20 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf
21
22 * Analog Devices ADM1273
23
24 Prefix: 'adm1273'
25
26 Addresses scanned: -
27
28 Datasheet: Not yet publicly available
29
30 * Analog Devices ADM1275
31
32 Prefix: 'adm1275'
33
34 Addresses scanned: -
35
36 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf
37
38 * Analog Devices ADM1276
39
40 Prefix: 'adm1276'
41
42 Addresses scanned: -
43
44 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf
45
46 * Analog Devices ADM1278
47
48 Prefix: 'adm1278'
49
50 Addresses scanned: -
51
52 Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf
53
54 * Analog Devices ADM1281
55
56 Prefix: 'adm1281'
57
58 Addresses scanned: -
59
60 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/adm1281.pdf
61
62 * Analog Devices ADM1293/ADM1294
63
64 Prefix: 'adm1293', 'adm1294'
65
66 Addresses scanned: -
67
68 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf
69
70 * Silergy SQ24905C
71
72 Prefix: 'mc09c'
73
74 Addresses scanned: -
75
76 Datasheet: https://www.silergy.com/download/downloadFile?id=5669&type=product&ftype=note
77
78 Author: Guenter Roeck <linux@roeck-us.net>
79
80
81 Description
82 -----------
83
84 This driver supports hardware monitoring for Analog Devices ADM1075, ADM1272,
85 ADM1273, ADM1275, ADM1276, ADM1278, ADM1281, ADM1293, ADM1294, and SQ24905C
86 Hot-Swap Controller and Digital Power Monitors.
87
88 ADM1075, ADM1272, ADM1273, ADM1275, ADM1276, ADM1278, ADM1281, ADM1293,
89 ADM1294 and SQ24905C are hot-swap controllers that allow a circuit board to be
90 removed from or inserted into a live backplane. They also feature current and
91 voltage readback via an integrated 12 bit analog-to-digital converter (ADC),
92 accessed using a PMBus interface.
93
94 The driver is a client driver to the core PMBus driver. Please see
95 Documentation/hwmon/pmbus.rst for details on PMBus client drivers.
96
97
98 Usage Notes
99 -----------
100
101 This driver does not auto-detect devices. You will have to instantiate the
102 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for
103 details.
104
105 The ADM1075, unlike many other PMBus devices, does not support internal voltage
106 or current scaling. Reported voltages, currents, and power are raw measurements,
107 and will typically have to be scaled.
108
109 The shunt value in micro-ohms can be set via device tree at compile-time. Please
110 refer to the Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml for bindings
111 if the device tree is used.
112
113 Platform data support
114 ---------------------
115
116 The driver supports standard PMBus driver platform data. Please see
117 Documentation/hwmon/pmbus.rst for details.
118
119
120 Sysfs entries
121 -------------
122
123 The following attributes are supported. Limits are read-write, history reset
124 attributes are write-only, all other attributes are read-only.
125
126 ======================= =======================================================
127 inX_label "vin1" or "vout1" depending on chip variant and
128 configuration. On ADM1075, ADM1293, and ADM1294,
129 vout1 reports the voltage on the VAUX pin.
130 inX_input Measured voltage.
131 inX_min Minimum Voltage.
132 inX_max Maximum voltage.
133 inX_min_alarm Voltage low alarm.
134 inX_max_alarm Voltage high alarm.
135 inX_highest Historical maximum voltage.
136 inX_reset_history Write any value to reset history.
137
138 curr1_label "iout1"
139 curr1_input Measured current.
140 curr1_max Maximum current.
141 curr1_max_alarm Current high alarm.
142 curr1_lcrit Critical minimum current. Depending on the chip
143 configuration, either curr1_lcrit or curr1_crit is
144 supported, but not both.
145 curr1_lcrit_alarm Critical current low alarm.
146 curr1_crit Critical maximum current. Depending on the chip
147 configuration, either curr1_lcrit or curr1_crit is
148 supported, but not both.
149 curr1_crit_alarm Critical current high alarm.
150 curr1_highest Historical maximum current.
151 curr1_reset_history Write any value to reset history.
152
153 power1_label "pin1"
154 power1_input Input power.
155 power1_input_lowest Lowest observed input power. ADM1293 and ADM1294 only.
156 power1_input_highest Highest observed input power.
157 power1_reset_history Write any value to reset history.
158
159 Power attributes are supported on ADM1075, ADM1272,
160 ADM1273, ADM1276, ADM1293, and ADM1294.
161
162 temp1_input Chip temperature.
163 temp1_max Maximum chip temperature.
164 temp1_max_alarm Temperature alarm.
165 temp1_crit Critical chip temperature.
166 temp1_crit_alarm Critical temperature high alarm.
167 temp1_highest Highest observed temperature.
168 temp1_reset_history Write any value to reset history.
169
170 Temperature attributes are supported on ADM1272,
171 ADM1273, ADM1278, ADM1281 and SQ24905C.
172 ======================= =======================================================
173

3. 한국어 전문 번역

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

ADM1075부터 ADM1276까지

1-42

이 드라이버는 여러 Analog Devices Hot-Swap Controller와 Digital Power Monitor를 지원합니다. `ADM1075`의 prefix는 `adm1075`, `ADM1272`는 `adm1272`, `ADM1273`은 `adm1273`, `ADM1275`는 `adm1275`, `ADM1276`은 `adm1276`입니다.

이 다섯 모델은 자동 검색 주소가 지정되어 있지 않아 `Addresses scanned: -`로 표시됩니다. ADM1075, ADM1272, ADM1275, ADM1276 데이터시트 URL은 문서에 기재되어 있고 ADM1273 데이터시트는 아직 공개되지 않았습니다.

ADM1275 계열 전반부
Prefix주소 검색데이터시트
ADM1075adm1075없음공개 URL
ADM1272adm1272없음공개 URL
ADM1273adm1273없음아직 비공개
ADM1275adm1275없음공개 URL
ADM1276adm1276없음공개 URL

칩별 prefix와 데이터시트 공개 상태입니다.

모델 식별
Platform에서 I2C 장치 선언ADM model과 prefix 대조해당 client driver 결합모델별 PMBus 기능 확인

자동 검색 대신 platform이 선언한 모델명으로 결합합니다.

Kernel driver adm1275
=====================

Supported chips:

  * Analog Devices ADM1075

    Prefix: 'adm1075'

    Addresses scanned: -

    Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1075.pdf

  * Analog Devices ADM1272

    Prefix: 'adm1272'

    Addresses scanned: -

    Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1272.pdf

  * Analog Devices ADM1273

    Prefix: 'adm1273'

    Addresses scanned: -

    Datasheet: Not yet publicly available

  * Analog Devices ADM1275

    Prefix: 'adm1275'

    Addresses scanned: -

    Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1275.pdf

  * Analog Devices ADM1276

    Prefix: 'adm1276'

    Addresses scanned: -

ADM1278부터 SQ24905C까지

43-80

나머지 Analog Devices 모델은 `ADM1278` prefix `adm1278`, `ADM1281` prefix `adm1281`, `ADM1293` 및 `ADM1294` prefix `adm1293`, `adm1294`입니다. 이 모델들도 자동 검색 주소가 없으며 각 데이터시트 URL이 제공됩니다.

Silergy `SQ24905C`도 지원합니다. 이 칩의 prefix는 `mc09c`이고 자동 검색 주소는 없으며 Silergy 다운로드 URL이 제공됩니다.

드라이버 저자는 Guenter Roeck이며 연락처는 `linux@roeck-us.net`입니다.

ADM1275 계열 후반부
Prefix주소 검색제조사
ADM1278adm1278없음Analog Devices
ADM1281adm1281없음Analog Devices
ADM1293adm1293없음Analog Devices
ADM1294adm1294없음Analog Devices
SQ24905Cmc09c없음Silergy

추가 지원 모델과 prefix입니다.

호환 모델 선택
Device tree 또는 board 정보 확인ADM1278/1281/1293/1294 또는 SQ24905C 선택정확한 prefix 적용PMBus client 초기화

명시적으로 등록한 chip ID가 지원 목록과 일치해야 합니다.


    Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1276.pdf

  * Analog Devices ADM1278

    Prefix: 'adm1278'

    Addresses scanned: -

    Datasheet: www.analog.com/static/imported-files/data_sheets/ADM1278.pdf

  * Analog Devices ADM1281

    Prefix: 'adm1281'

    Addresses scanned: -

    Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/adm1281.pdf

  * Analog Devices ADM1293/ADM1294

    Prefix: 'adm1293', 'adm1294'

    Addresses scanned: -

    Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ADM1293_1294.pdf

  * Silergy SQ24905C

    Prefix: 'mc09c'

    Addresses scanned: -

    Datasheet: https://www.silergy.com/download/downloadFile?id=5669&type=product&ftype=note

Author: Guenter Roeck <linux@roeck-us.net>

Hot-Swap, PMBus와 사용 조건

81-117

이 드라이버는 ADM1075, ADM1272, ADM1273, ADM1275, ADM1276, ADM1278, ADM1281, ADM1293, ADM1294 및 SQ24905C Hot-Swap Controller와 Digital Power Monitor의 hardware monitoring을 지원합니다.

이 칩들은 전원이 켜진 backplane에서 circuit board를 제거하거나 삽입할 수 있게 하는 hot-swap controller입니다. 통합 12-bit analog-to-digital converter, 즉 ADC를 통해 전류와 전압을 readback하며 PMBus interface로 접근합니다.

드라이버는 core PMBus driver의 client입니다. PMBus client driver에 관한 자세한 내용은 `Documentation/hwmon/pmbus.rst`를 참조합니다.

장치를 자동 검색하지 않으므로 사용자가 명시적으로 instantiate해야 합니다. 등록 방법은 `Documentation/i2c/instantiating-devices.rst`를 참조합니다.

ADM1075는 다른 많은 PMBus 장치와 달리 내부 전압 또는 전류 scaling을 지원하지 않습니다. 보고되는 전압, 전류와 전력은 raw measurement이므로 일반적으로 외부에서 scale해야 합니다.

Shunt 값은 micro-ohm 단위로 device tree에서 compile time에 설정할 수 있습니다. Device tree를 사용한다면 binding은 `Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml`을 참조합니다.

드라이버는 표준 PMBus driver platform data도 지원합니다. 자세한 내용은 다시 `Documentation/hwmon/pmbus.rst`에 있습니다.

ADM1275 계열 데이터 경로
단계동작
Hot-SwapLive backplane에서 board 삽입 및 제거
측정통합 12-bit ADC로 전류와 전압 readback
전송PMBus interface
ADM1075 scaling내부 scaling 없음, raw 값 외부 보정
ShuntDevice tree에서 micro-ohm 단위 설정

전류·전압 측정과 scaling 조건입니다.

장치 등록과 측정
I2C 장치를 명시적으로 instantiateCore PMBus driver와 client 결합12-bit ADC raw measurement 읽기Shunt와 model coefficient 적용Hwmon 단위로 사용자 공간에 보고

명시적 생성부터 단위 보정까지의 순서입니다.

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

This driver supports hardware monitoring for Analog Devices ADM1075, ADM1272,
ADM1273, ADM1275, ADM1276, ADM1278, ADM1281, ADM1293, ADM1294, and SQ24905C
Hot-Swap Controller and Digital Power Monitors.

ADM1075, ADM1272, ADM1273, ADM1275, ADM1276, ADM1278, ADM1281, ADM1293,
ADM1294 and SQ24905C are hot-swap controllers that allow a circuit board to be
removed from or inserted into a live backplane. They also feature current and
voltage readback via an integrated 12 bit analog-to-digital converter (ADC),
accessed using a PMBus interface.

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.

The ADM1075, unlike many other PMBus devices, does not support internal voltage
or current scaling. Reported voltages, currents, and power are raw measurements,
and will typically have to be scaled.

The shunt value in micro-ohms can be set via device tree at compile-time. Please
refer to the Documentation/devicetree/bindings/hwmon/adi,adm1275.yaml for bindings
if the device tree is used.

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

The driver supports standard PMBus driver platform data. Please see
Documentation/hwmon/pmbus.rst for details.

전압과 전류 sysfs

118-151

지원 attribute 가운데 limit는 read-write, history reset은 write-only이며 그 밖의 attribute는 모두 read-only입니다.

`inX_label`은 chip variant와 configuration에 따라 `vin1` 또는 `vout1`입니다. ADM1075, ADM1293, ADM1294에서 `vout1`은 VAUX pin의 전압을 보고합니다. `inX_input`은 측정 전압, `inX_min`과 `inX_max`는 최소 및 최대 전압이며 `inX_min_alarm`, `inX_max_alarm`은 각각 low 및 high alarm입니다. `inX_highest`는 과거 최대 전압이고 `inX_reset_history`에 아무 값이나 쓰면 이력을 초기화합니다.

전류 label `curr1_label`은 `iout1`입니다. `curr1_input`은 측정 전류, `curr1_max`는 최대 전류, `curr1_max_alarm`은 high alarm입니다.

Chip configuration에 따라 critical minimum인 `curr1_lcrit`과 critical maximum인 `curr1_crit` 중 하나만 지원하며 둘을 동시에 지원하지 않습니다. 각각 low 또는 high critical alarm인 `curr1_lcrit_alarm`, `curr1_crit_alarm`과 연결됩니다. `curr1_highest`는 과거 최대 전류이고 `curr1_reset_history`에 아무 값이나 쓰면 이력을 초기화합니다.

전압·전류 attribute
그룹Attribute의미
전압inX_label/input/min/maxvin1 또는 vout1, 측정값과 한계
전압 경보inX_min_alarm/max_alarmLow 또는 high alarm
전압 이력inX_highest/reset_history과거 최대와 write-only reset
전류curr1_input/max/max_alarm측정값, 최대값, high alarm
Critical currentcurr1_lcrit 또는 curr1_critConfiguration에 따라 둘 중 하나
전류 이력curr1_highest/reset_history과거 최대와 write-only reset

접근 권한과 model/configuration 차이를 정리합니다.

전압·전류 감시
Chip variant에 맞는 label 확인Read-write limit 설정Input과 alarm 읽기Highest history 확인Reset attribute에 값 기록해 이력 초기화

한계 설정과 history 관리 흐름입니다.



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

The following attributes are supported. Limits are read-write, history reset
attributes are write-only, all other attributes are read-only.

======================= =======================================================
inX_label                "vin1" or "vout1" depending on chip variant and
                        configuration. On ADM1075, ADM1293, and ADM1294,
                        vout1 reports the voltage on the VAUX pin.
inX_input                Measured voltage.
inX_min                        Minimum Voltage.
inX_max                        Maximum voltage.
inX_min_alarm                Voltage low alarm.
inX_max_alarm                Voltage high alarm.
inX_highest                Historical maximum voltage.
inX_reset_history        Write any value to reset history.

curr1_label                "iout1"
curr1_input                Measured current.
curr1_max                Maximum current.
curr1_max_alarm                Current high alarm.
curr1_lcrit                Critical minimum current. Depending on the chip
                        configuration, either curr1_lcrit or curr1_crit is
                        supported, but not both.
curr1_lcrit_alarm        Critical current low alarm.
curr1_crit                Critical maximum current. Depending on the chip
                        configuration, either curr1_lcrit or curr1_crit is
                        supported, but not both.
curr1_crit_alarm        Critical current high alarm.
curr1_highest                Historical maximum current.
curr1_reset_history        Write any value to reset history.

전력과 온도 sysfs

152-172

`power1_label`은 `pin1`, `power1_input`은 input power입니다. `power1_input_lowest`는 관찰된 최저 input power이며 ADM1293과 ADM1294에서만 지원합니다. `power1_input_highest`는 관찰된 최고 input power이고 `power1_reset_history`에 아무 값이나 쓰면 이력을 초기화합니다.

Power attribute 전체는 ADM1075, ADM1272, ADM1273, ADM1276, ADM1293 및 ADM1294에서 지원합니다.

`temp1_input`은 chip temperature, `temp1_max`는 최대 chip temperature, `temp1_max_alarm`은 temperature alarm입니다. `temp1_crit`은 critical chip temperature이고 `temp1_crit_alarm`은 critical high alarm입니다. `temp1_highest`는 관찰된 최고 온도이며 `temp1_reset_history`로 이력을 초기화합니다.

Temperature attribute는 ADM1272, ADM1273, ADM1278, ADM1281 및 SQ24905C에서 지원합니다.

전력·온도 모델 지원
그룹지원 모델특수 조건
PowerADM1075, 1272, 1273, 1276, 1293, 1294pin1 input과 최고 이력
Power lowestADM1293, ADM1294power1_input_lowest 전용
TemperatureADM1272, 1273, 1278, 1281, SQ24905Cmax/crit alarm과 최고 이력

모델별로 제공되는 attribute 범위입니다.

모델별 attribute 노출
Chip model 식별Power 지원 목록 대조Temperature 지원 목록 대조해당 input·limit·alarm 등록History read 및 reset 제공

칩 기능에 맞는 전력 또는 온도 group만 등록합니다.


power1_label                "pin1"
power1_input                Input power.
power1_input_lowest        Lowest observed input power. ADM1293 and ADM1294 only.
power1_input_highest        Highest observed input power.
power1_reset_history        Write any value to reset history.

                        Power attributes are supported on ADM1075, ADM1272,
                        ADM1273, ADM1276, ADM1293, and ADM1294.

temp1_input                Chip temperature.
temp1_max                Maximum chip temperature.
temp1_max_alarm                Temperature alarm.
temp1_crit                Critical chip temperature.
temp1_crit_alarm        Critical temperature high alarm.
temp1_highest                Highest observed temperature.
temp1_reset_history        Write any value to reset history.

                        Temperature attributes are supported on ADM1272,
                        ADM1273, ADM1278, ADM1281 and SQ24905C.
======================= =======================================================