← Documents Documentation/ABI/testing/sysfs-class-regulator GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

Regulator class sysfs ABI

Regulator enable·status·type, voltage/current 설정과 constraint, consumer·suspend·bypass 및 fault/warning 상태를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-regulator
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

State, status, and regulator type

sysfs-class-regulator:1-89

Enable control 입력인 state와 실제 출력 상태인 status를 구분하고 voltage, current, unknown regulator type을 식별합니다.

Configured output settings

sysfs-class-regulator:91-143

microvolts, microamps와 opmode는 control input 설정이며 enabled 여부와 실제 출력값은 state/status를 함께 확인해야 합니다.

Safe voltage and current constraints

sysfs-class-regulator:146-203

Power domain의 minimum·maximum voltage와 current limit constraint를 제공하며 platform에 정의되지 않으면 명시적 문자열을 반환합니다.

Identity, consumers, and supply parent

sysfs-class-regulator:206-246

Display name, regulator_enable() user 수, 전체 requested load와 parent 또는 supply regulator link를 제공합니다.

Suspend voltage, mode, and state

sysfs-class-regulator:248-351

Suspend-to-memory, disk, standby 각각에 적용할 regulator voltage, operating mode와 enable state constraint를 제공합니다.

Bypass mode

sysfs-class-regulator:353-372

Regulator가 bypass 중인지, 정상 regulation 중인지, software가 판단할 수 없는지를 보고합니다.

Fault and warning indicators

sysfs-class-regulator:374-453

Under-voltage, over-current, regulation loss, output fail, over-temperature fault와 네 가지 warning을 binary 값으로 제공합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 What: /sys/class/regulator/.../state
2 Date: April 2008
3 KernelVersion: 2.6.26
4 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
5 Description:
6 Some regulator directories will contain a field called
7 state. This reports the regulator enable control, for
8 regulators which can report that input value.
9
10 This will be one of the following strings:
11
12 'enabled'
13 'disabled'
14 'unknown'
15
16 'enabled' means the regulator output is ON and is supplying
17 power to the system (assuming no error prevents it).
18
19 'disabled' means the regulator output is OFF and is not
20 supplying power to the system (unless some non-Linux
21 control has enabled it).
22
23 'unknown' means software cannot determine the state, or
24 the reported state is invalid.
25
26 NOTE: this field can be used in conjunction with microvolts
27 or microamps to determine configured regulator output levels.
28
29
30 What: /sys/class/regulator/.../status
31 Description:
32 Some regulator directories will contain a field called
33 "status". This reports the current regulator status, for
34 regulators which can report that output value.
35
36 This will be one of the following strings:
37
38 - off
39 - on
40 - error
41 - fast
42 - normal
43 - idle
44 - standby
45
46 "off" means the regulator is not supplying power to the
47 system.
48
49 "on" means the regulator is supplying power to the system,
50 and the regulator can't report a detailed operation mode.
51
52 "error" indicates an out-of-regulation status such as being
53 disabled due to thermal shutdown, or voltage being unstable
54 because of problems with the input power supply.
55
56 "fast", "normal", "idle", and "standby" are all detailed
57 regulator operation modes (described elsewhere). They
58 imply "on", but provide more detail.
59
60 Note that regulator status is a function of many inputs,
61 not limited to control inputs from Linux. For example,
62 the actual load presented may trigger "error" status; or
63 a regulator may be enabled by another user, even though
64 Linux did not enable it.
65
66
67 What: /sys/class/regulator/.../type
68 Date: April 2008
69 KernelVersion: 2.6.26
70 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
71 Description:
72 Each regulator directory will contain a field called
73 type. This holds the regulator type.
74
75 This will be one of the following strings:
76
77 - 'voltage'
78 - 'current'
79 - 'unknown'
80
81 'voltage' means the regulator output voltage can be controlled
82 by software.
83
84 'current' means the regulator output current limit can be
85 controlled by software.
86
87 'unknown' means software cannot control either voltage or
88 current limit.
89
90
91 What: /sys/class/regulator/.../microvolts
92 Date: April 2008
93 KernelVersion: 2.6.26
94 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
95 Description:
96 Some regulator directories will contain a field called
97 microvolts. This holds the regulator output voltage setting
98 measured in microvolts (i.e. E-6 Volts), for regulators
99 which can report the control input for voltage.
100
101 NOTE: This value should not be used to determine the regulator
102 output voltage level as this value is the same regardless of
103 whether the regulator is enabled or disabled.
104
105
106 What: /sys/class/regulator/.../microamps
107 Date: April 2008
108 KernelVersion: 2.6.26
109 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
110 Description:
111 Some regulator directories will contain a field called
112 microamps. This holds the regulator output current limit
113 setting measured in microamps (i.e. E-6 Amps), for regulators
114 which can report the control input for a current limit.
115
116 NOTE: This value should not be used to determine the regulator
117 output current level as this value is the same regardless of
118 whether the regulator is enabled or disabled.
119
120
121 What: /sys/class/regulator/.../opmode
122 Date: April 2008
123 KernelVersion: 2.6.26
124 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
125 Description:
126 Some regulator directories will contain a field called
127 opmode. This holds the current regulator operating mode,
128 for regulators which can report that control input value.
129
130 The opmode value can be one of the following strings:
131
132 - 'fast'
133 - 'normal'
134 - 'idle'
135 - 'standby'
136 - 'unknown'
137
138 The modes are described in include/linux/regulator/consumer.h
139
140 NOTE: This value should not be used to determine the regulator
141 output operating mode as this value is the same regardless of
142 whether the regulator is enabled or disabled. A "status"
143 attribute may be available to determine the actual mode.
144
145
146 What: /sys/class/regulator/.../min_microvolts
147 Date: April 2008
148 KernelVersion: 2.6.26
149 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
150 Description:
151 Some regulator directories will contain a field called
152 min_microvolts. This holds the minimum safe working regulator
153 output voltage setting for this domain measured in microvolts,
154 for regulators which support voltage constraints.
155
156 NOTE: this will return the string 'constraint not defined' if
157 the power domain has no min microvolts constraint defined by
158 platform code.
159
160
161 What: /sys/class/regulator/.../max_microvolts
162 Date: April 2008
163 KernelVersion: 2.6.26
164 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
165 Description:
166 Some regulator directories will contain a field called
167 max_microvolts. This holds the maximum safe working regulator
168 output voltage setting for this domain measured in microvolts,
169 for regulators which support voltage constraints.
170
171 NOTE: this will return the string 'constraint not defined' if
172 the power domain has no max microvolts constraint defined by
173 platform code.
174
175
176 What: /sys/class/regulator/.../min_microamps
177 Date: April 2008
178 KernelVersion: 2.6.26
179 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
180 Description:
181 Some regulator directories will contain a field called
182 min_microamps. This holds the minimum safe working regulator
183 output current limit setting for this domain measured in
184 microamps, for regulators which support current constraints.
185
186 NOTE: this will return the string 'constraint not defined' if
187 the power domain has no min microamps constraint defined by
188 platform code.
189
190
191 What: /sys/class/regulator/.../max_microamps
192 Date: April 2008
193 KernelVersion: 2.6.26
194 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
195 Description:
196 Some regulator directories will contain a field called
197 max_microamps. This holds the maximum safe working regulator
198 output current limit setting for this domain measured in
199 microamps, for regulators which support current constraints.
200
201 NOTE: this will return the string 'constraint not defined' if
202 the power domain has no max microamps constraint defined by
203 platform code.
204
205
206 What: /sys/class/regulator/.../name
207 Date: October 2008
208 KernelVersion: 2.6.28
209 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
210 Description:
211 Each regulator directory will contain a field called
212 name. This holds a string identifying the regulator for
213 display purposes.
214
215 NOTE: this will be empty if no suitable name is provided
216 by platform or regulator drivers.
217
218
219 What: /sys/class/regulator/.../num_users
220 Date: April 2008
221 KernelVersion: 2.6.26
222 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
223 Description:
224 Each regulator directory will contain a field called
225 num_users. This holds the number of consumer devices that
226 have called regulator_enable() on this regulator.
227
228
229 What: /sys/class/regulator/.../requested_microamps
230 Date: April 2008
231 KernelVersion: 2.6.26
232 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
233 Description:
234 Some regulator directories will contain a field called
235 requested_microamps. This holds the total requested load
236 current in microamps for this regulator from all its consumer
237 devices.
238
239
240 What: /sys/class/regulator/.../parent
241 Date: April 2008
242 KernelVersion: 2.6.26
243 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
244 Description:
245 Some regulator directories will contain a link called parent.
246 This points to the parent or supply regulator if one exists.
247
248 What: /sys/class/regulator/.../suspend_mem_microvolts
249 Date: May 2008
250 KernelVersion: 2.6.26
251 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
252 Description:
253 Some regulator directories will contain a field called
254 suspend_mem_microvolts. This holds the regulator output
255 voltage setting for this domain measured in microvolts when
256 the system is suspended to memory, for voltage regulators
257 implementing suspend voltage configuration constraints.
258
259 What: /sys/class/regulator/.../suspend_disk_microvolts
260 Date: May 2008
261 KernelVersion: 2.6.26
262 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
263 Description:
264 Some regulator directories will contain a field called
265 suspend_disk_microvolts. This holds the regulator output
266 voltage setting for this domain measured in microvolts when
267 the system is suspended to disk, for voltage regulators
268 implementing suspend voltage configuration constraints.
269
270 What: /sys/class/regulator/.../suspend_standby_microvolts
271 Date: May 2008
272 KernelVersion: 2.6.26
273 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
274 Description:
275 Some regulator directories will contain a field called
276 suspend_standby_microvolts. This holds the regulator output
277 voltage setting for this domain measured in microvolts when
278 the system is suspended to standby, for voltage regulators
279 implementing suspend voltage configuration constraints.
280
281 What: /sys/class/regulator/.../suspend_mem_mode
282 Date: May 2008
283 KernelVersion: 2.6.26
284 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
285 Description:
286 Some regulator directories will contain a field called
287 suspend_mem_mode. This holds the regulator operating mode
288 setting for this domain when the system is suspended to
289 memory, for regulators implementing suspend mode
290 configuration constraints.
291
292 What: /sys/class/regulator/.../suspend_disk_mode
293 Date: May 2008
294 KernelVersion: 2.6.26
295 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
296 Description:
297 Some regulator directories will contain a field called
298 suspend_disk_mode. This holds the regulator operating mode
299 setting for this domain when the system is suspended to disk,
300 for regulators implementing suspend mode configuration
301 constraints.
302
303 What: /sys/class/regulator/.../suspend_standby_mode
304 Date: May 2008
305 KernelVersion: 2.6.26
306 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
307 Description:
308 Some regulator directories will contain a field called
309 suspend_standby_mode. This holds the regulator operating mode
310 setting for this domain when the system is suspended to
311 standby, for regulators implementing suspend mode
312 configuration constraints.
313
314 What: /sys/class/regulator/.../suspend_mem_state
315 Date: May 2008
316 KernelVersion: 2.6.26
317 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
318 Description:
319 Some regulator directories will contain a field called
320 suspend_mem_state. This holds the regulator operating state
321 when suspended to memory, for regulators implementing suspend
322 configuration constraints.
323
324 This will be one of the same strings reported by
325 the "state" attribute.
326
327 What: /sys/class/regulator/.../suspend_disk_state
328 Date: May 2008
329 KernelVersion: 2.6.26
330 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
331 Description:
332 Some regulator directories will contain a field called
333 suspend_disk_state. This holds the regulator operating state
334 when suspended to disk, for regulators implementing
335 suspend configuration constraints.
336
337 This will be one of the same strings reported by
338 the "state" attribute.
339
340 What: /sys/class/regulator/.../suspend_standby_state
341 Date: May 2008
342 KernelVersion: 2.6.26
343 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
344 Description:
345 Some regulator directories will contain a field called
346 suspend_standby_state. This holds the regulator operating
347 state when suspended to standby, for regulators implementing
348 suspend configuration constraints.
349
350 This will be one of the same strings reported by
351 the "state" attribute.
352
353 What: /sys/class/regulator/.../bypass
354 Date: September 2012
355 KernelVersion: 3.7
356 Contact: Mark Brown <broonie@opensource.wolfsonmicro.com>
357 Description:
358 Some regulator directories will contain a field called
359 bypass. This indicates if the device is in bypass mode.
360
361 This will be one of the following strings:
362
363 - 'enabled'
364 - 'disabled'
365 - 'unknown'
366
367 'enabled' means the regulator is in bypass mode.
368
369 'disabled' means that the regulator is regulating.
370
371 'unknown' means software cannot determine the state, or
372 the reported state is invalid.
373
374 What: /sys/class/regulator/.../under_voltage
375 Date: April 2022
376 KernelVersion: 5.18
377 Contact: Zev Weiss <zev@bewilderbeest.net>
378 Description:
379 Some regulator directories will contain a field called
380 under_voltage. This indicates if the device reports an
381 under-voltage fault (1) or not (0).
382
383 What: /sys/class/regulator/.../over_current
384 Date: April 2022
385 KernelVersion: 5.18
386 Contact: Zev Weiss <zev@bewilderbeest.net>
387 Description:
388 Some regulator directories will contain a field called
389 over_current. This indicates if the device reports an
390 over-current fault (1) or not (0).
391
392 What: /sys/class/regulator/.../regulation_out
393 Date: April 2022
394 KernelVersion: 5.18
395 Contact: Zev Weiss <zev@bewilderbeest.net>
396 Description:
397 Some regulator directories will contain a field called
398 regulation_out. This indicates if the device reports an
399 out-of-regulation fault (1) or not (0).
400
401 What: /sys/class/regulator/.../fail
402 Date: April 2022
403 KernelVersion: 5.18
404 Contact: Zev Weiss <zev@bewilderbeest.net>
405 Description:
406 Some regulator directories will contain a field called
407 fail. This indicates if the device reports an output failure
408 (1) or not (0).
409
410 What: /sys/class/regulator/.../over_temp
411 Date: April 2022
412 KernelVersion: 5.18
413 Contact: Zev Weiss <zev@bewilderbeest.net>
414 Description:
415 Some regulator directories will contain a field called
416 over_temp. This indicates if the device reports an
417 over-temperature fault (1) or not (0).
418
419 What: /sys/class/regulator/.../under_voltage_warn
420 Date: April 2022
421 KernelVersion: 5.18
422 Contact: Zev Weiss <zev@bewilderbeest.net>
423 Description:
424 Some regulator directories will contain a field called
425 under_voltage_warn. This indicates if the device reports an
426 under-voltage warning (1) or not (0).
427
428 What: /sys/class/regulator/.../over_current_warn
429 Date: April 2022
430 KernelVersion: 5.18
431 Contact: Zev Weiss <zev@bewilderbeest.net>
432 Description:
433 Some regulator directories will contain a field called
434 over_current_warn. This indicates if the device reports an
435 over-current warning (1) or not (0).
436
437 What: /sys/class/regulator/.../over_voltage_warn
438 Date: April 2022
439 KernelVersion: 5.18
440 Contact: Zev Weiss <zev@bewilderbeest.net>
441 Description:
442 Some regulator directories will contain a field called
443 over_voltage_warn. This indicates if the device reports an
444 over-voltage warning (1) or not (0).
445
446 What: /sys/class/regulator/.../over_temp_warn
447 Date: April 2022
448 KernelVersion: 5.18
449 Contact: Zev Weiss <zev@bewilderbeest.net>
450 Description:
451 Some regulator directories will contain a field called
452 over_temp_warn. This indicates if the device reports an
453 over-temperature warning (1) or not (0).
454

3. 한국어 전문 번역

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

Regulator enable-control state

1-28
항목한국어 전문 번역
What/sys/class/regulator/.../state
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description일부 regulator directory에는 state field가 있습니다. Enable control input 값을 보고할 수 있는 regulator에서 regulator enable control을 나타냅니다. 값은 'enabled', 'disabled', 'unknown' 중 하나입니다. 'enabled'는 error가 막지 않는 한 regulator output이 ON이고 system에 power를 공급함을 뜻합니다. 'disabled'는 non-Linux control이 enable하지 않은 한 output이 OFF이고 power를 공급하지 않음을 뜻합니다. 'unknown'은 software가 state를 판단할 수 없거나 보고된 state가 invalid함을 뜻합니다. 이 field를 microvolts 또는 microamps와 함께 사용하면 configured regulator output level을 판단할 수 있습니다.
Regulator state values
state의미
enabledOutput ON, error가 없으면 system에 power 공급
disabledOutput OFF, 단 non-Linux control이 enable할 수 있음
unknownSoftware가 판단할 수 없거나 invalid state

state는 enable control input을 나타내며 실제 출력에 error나 외부 control이 영향을 줄 수 있습니다.

Current regulator output status

30-64
항목한국어 전문 번역
What/sys/class/regulator/.../status
Description일부 regulator directory의 status field는 output 값을 보고할 수 있는 regulator에서 current status를 나타냅니다. 값은 off, on, error, fast, normal, idle, standby 중 하나입니다. off는 system에 power를 공급하지 않음을, on은 power를 공급하지만 detailed operation mode를 보고할 수 없음을 뜻합니다. error는 thermal shutdown으로 disable되었거나 input power supply 문제로 voltage가 unstable한 것 같은 out-of-regulation status입니다. fast, normal, idle, standby는 모두 regulator가 on임을 내포하면서 더 자세한 operation mode를 제공합니다. Status는 Linux control input에만 한정되지 않는 여러 input의 함수입니다. 실제 load가 error를 유발하거나 Linux가 enable하지 않았어도 다른 user가 regulator를 enable할 수 있습니다.
Regulator status values
status의미
offPower를 공급하지 않음
onPower 공급 중, detailed mode는 알 수 없음
errorThermal shutdown 또는 unstable input 등 out-of-regulation
fast / normal / idle / standbyPower 공급 중인 detailed operation mode

status는 실제 output과 detailed operation mode를 보고합니다.

Regulator control type

67-88
항목한국어 전문 번역
What/sys/class/regulator/.../type
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description각 regulator directory의 type field는 regulator type을 나타냅니다. 'voltage'는 software가 regulator output voltage를 control할 수 있음을, 'current'는 output current limit를 control할 수 있음을 뜻합니다. 'unknown'은 software가 voltage와 current limit 어느 쪽도 control할 수 없음을 뜻합니다.
Regulator control types
typeSoftware control
voltageOutput voltage
currentOutput current limit
unknownVoltage와 current limit 모두 control 불가

Software가 control할 수 있는 output quantity에 따른 type입니다.

Configured output voltage

91-103
항목한국어 전문 번역
What/sys/class/regulator/.../microvolts
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description일부 regulator directory의 microvolts field는 voltage control input을 보고할 수 있는 regulator에서 microvolt, 즉 10^-6 volt 단위의 regulator output voltage 설정을 보관합니다. Regulator가 enabled인지 disabled인지와 무관하게 값이 같으므로 actual output voltage level을 판단하는 데 이 값만 사용해서는 안 됩니다.

Configured output current limit

106-118
항목한국어 전문 번역
What/sys/class/regulator/.../microamps
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description일부 regulator directory의 microamps field는 current-limit control input을 보고할 수 있는 regulator에서 microamp, 즉 10^-6 ampere 단위의 output current-limit 설정을 보관합니다. Regulator가 enabled인지 disabled인지와 무관하게 값이 같으므로 actual output current level을 판단하는 데 이 값만 사용해서는 안 됩니다.

Configured regulator operating mode

121-143
항목한국어 전문 번역
What/sys/class/regulator/.../opmode
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description일부 regulator directory의 opmode field는 operating-mode control input을 보고할 수 있는 regulator에서 current configured mode를 보관합니다. 값은 'fast', 'normal', 'idle', 'standby', 'unknown' 중 하나이며 mode 정의는 include/linux/regulator/consumer.h에 있습니다. Regulator가 enabled인지 disabled인지와 무관하게 값이 같으므로 actual output operating mode 판단에 이 값만 사용해서는 안 됩니다. Actual mode는 available한 status attribute로 확인할 수 있습니다.
Configured inputs versus actual output
Configured control input단위/값Actual output 확인
microvoltsµVstate 또는 status와 함께 확인
microampsµA current limitstate 또는 status와 함께 확인
opmodefast/normal/idle/standby/unknownstatus가 actual mode 제공 가능

Control input attribute는 disabled 상태에서도 유지되므로 actual output attribute와 함께 봅니다.

Minimum safe voltage constraint

146-158
항목한국어 전문 번역
What/sys/class/regulator/.../min_microvolts
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionVoltage constraint를 지원하는 regulator에서 이 power domain의 minimum safe working output-voltage 설정을 microvolt 단위로 보관합니다. Platform code가 minimum microvolts constraint를 정의하지 않았으면 'constraint not defined' 문자열을 반환합니다.

Maximum safe voltage constraint

161-173
항목한국어 전문 번역
What/sys/class/regulator/.../max_microvolts
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionVoltage constraint를 지원하는 regulator에서 이 power domain의 maximum safe working output-voltage 설정을 microvolt 단위로 보관합니다. Platform code가 maximum microvolts constraint를 정의하지 않았으면 'constraint not defined' 문자열을 반환합니다.

Minimum safe current constraint

176-188
항목한국어 전문 번역
What/sys/class/regulator/.../min_microamps
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionCurrent constraint를 지원하는 regulator에서 이 power domain의 minimum safe working output-current-limit 설정을 microamp 단위로 보관합니다. Platform code가 minimum microamps constraint를 정의하지 않았으면 'constraint not defined' 문자열을 반환합니다.

Maximum safe current constraint

191-203
항목한국어 전문 번역
What/sys/class/regulator/.../max_microamps
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionCurrent constraint를 지원하는 regulator에서 이 power domain의 maximum safe working output-current-limit 설정을 microamp 단위로 보관합니다. Platform code가 maximum microamps constraint를 정의하지 않았으면 'constraint not defined' 문자열을 반환합니다.
Regulator safety constraints
QuantityMinimumMaximum단위
Output voltagemin_microvoltsmax_microvoltsµV
Output current limitmin_microampsmax_microampsµA

Voltage와 current limit의 safe working range입니다.

Regulator display name

206-216
항목한국어 전문 번역
What/sys/class/regulator/.../name
Date2008년 10월
KernelVersion2.6.28
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description각 regulator directory의 name field는 display 목적으로 regulator를 식별하는 문자열을 보관합니다. Platform 또는 regulator driver가 적절한 name을 제공하지 않으면 비어 있습니다.

Enabled consumer count

219-226
항목한국어 전문 번역
What/sys/class/regulator/.../num_users
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description각 regulator directory의 num_users field는 이 regulator에 regulator_enable()을 호출한 consumer device 수를 보관합니다.

Total requested consumer load

229-237
항목한국어 전문 번역
What/sys/class/regulator/.../requested_microamps
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description일부 regulator directory의 requested_microamps field는 모든 consumer device가 이 regulator에 요청한 total load current를 microamp 단위로 보관합니다.

Parent or supply regulator link

240-246
항목한국어 전문 번역
What/sys/class/regulator/.../parent
Date2008년 4월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
Description일부 regulator directory에는 parent라는 link가 있습니다. Parent 또는 supply regulator가 존재하면 이 link가 해당 regulator를 가리킵니다.
Regulator consumer and supply relationships
Consumer devicesregulator_enable()과 load requestnum_users / requested_microampsCurrent regulatorparent linkSupply regulator

Consumer 요청은 user count와 total load에 집계되고 regulator는 상위 supply를 가리킬 수 있습니다.

Suspend-to-memory voltage

248-257
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_mem_microvolts
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend voltage configuration constraint를 구현하는 voltage regulator에서 system이 memory로 suspend될 때 이 power domain에 적용할 regulator output-voltage 설정을 microvolt 단위로 보관합니다.

Suspend-to-disk voltage

259-268
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_disk_microvolts
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend voltage configuration constraint를 구현하는 voltage regulator에서 system이 disk로 suspend될 때 이 power domain에 적용할 regulator output-voltage 설정을 microvolt 단위로 보관합니다.

Suspend-to-standby voltage

270-279
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_standby_microvolts
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend voltage configuration constraint를 구현하는 voltage regulator에서 system이 standby로 suspend될 때 이 power domain에 적용할 regulator output-voltage 설정을 microvolt 단위로 보관합니다.

Suspend-to-memory operating mode

281-290
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_mem_mode
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend mode configuration constraint를 구현하는 regulator에서 system이 memory로 suspend될 때 이 power domain에 적용할 regulator operating-mode 설정을 보관합니다.

Suspend-to-disk operating mode

292-301
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_disk_mode
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend mode configuration constraint를 구현하는 regulator에서 system이 disk로 suspend될 때 이 power domain에 적용할 regulator operating-mode 설정을 보관합니다.

Suspend-to-standby operating mode

303-312
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_standby_mode
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend mode configuration constraint를 구현하는 regulator에서 system이 standby로 suspend될 때 이 power domain에 적용할 regulator operating-mode 설정을 보관합니다.

Suspend-to-memory regulator state

314-325
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_mem_state
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend configuration constraint를 구현하는 regulator에서 memory suspend 중 적용할 regulator operating state를 보관합니다. 값은 state attribute가 보고하는 것과 같은 문자열 중 하나입니다.

Suspend-to-disk regulator state

327-338
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_disk_state
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend configuration constraint를 구현하는 regulator에서 disk suspend 중 적용할 regulator operating state를 보관합니다. 값은 state attribute가 보고하는 것과 같은 문자열 중 하나입니다.

Suspend-to-standby regulator state

340-351
항목한국어 전문 번역
What/sys/class/regulator/.../suspend_standby_state
Date2008년 5월
KernelVersion2.6.26
ContactLiam Girdwood <lrg@slimlogic.co.uk>
DescriptionSuspend configuration constraint를 구현하는 regulator에서 standby suspend 중 적용할 regulator operating state를 보관합니다. 값은 state attribute가 보고하는 것과 같은 문자열 중 하나입니다.
Regulator suspend configuration matrix
Suspend targetVoltageOperating modeState
Memorysuspend_mem_microvoltssuspend_mem_modesuspend_mem_state
Disksuspend_disk_microvoltssuspend_disk_modesuspend_disk_state
Standbysuspend_standby_microvoltssuspend_standby_modesuspend_standby_state

각 suspend target마다 voltage, mode와 state constraint가 한 세트를 이룹니다.

Regulator bypass mode

353-372
항목한국어 전문 번역
What/sys/class/regulator/.../bypass
Date2012년 9월
KernelVersion3.7
ContactMark Brown <broonie@opensource.wolfsonmicro.com>
Description일부 regulator directory의 bypass field는 device가 bypass mode인지 나타냅니다. 값은 'enabled', 'disabled', 'unknown' 중 하나입니다. 'enabled'는 regulator가 bypass mode임을, 'disabled'는 regulator가 regulation 중임을 뜻합니다. 'unknown'은 software가 state를 판단할 수 없거나 보고된 state가 invalid함을 뜻합니다.
Regulator bypass values
bypass의미
enabledBypass mode
disabledRegulator가 regulation 수행 중
unknownSoftware가 판단할 수 없거나 invalid state

bypass는 regulation path의 사용 여부를 나타냅니다.

Under-voltage fault

374-381
항목한국어 전문 번역
What/sys/class/regulator/.../under_voltage
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 under_voltage field는 device가 under-voltage fault를 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Over-current fault

383-390
항목한국어 전문 번역
What/sys/class/regulator/.../over_current
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 over_current field는 device가 over-current fault를 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Out-of-regulation fault

392-399
항목한국어 전문 번역
What/sys/class/regulator/.../regulation_out
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 regulation_out field는 device가 out-of-regulation fault를 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Regulator output failure

401-408
항목한국어 전문 번역
What/sys/class/regulator/.../fail
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 fail field는 device가 output failure를 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Over-temperature fault

410-417
항목한국어 전문 번역
What/sys/class/regulator/.../over_temp
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 over_temp field는 device가 over-temperature fault를 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Under-voltage warning

419-426
항목한국어 전문 번역
What/sys/class/regulator/.../under_voltage_warn
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 under_voltage_warn field는 device가 under-voltage warning을 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Over-current warning

428-435
항목한국어 전문 번역
What/sys/class/regulator/.../over_current_warn
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 over_current_warn field는 device가 over-current warning을 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Over-voltage warning

437-444
항목한국어 전문 번역
What/sys/class/regulator/.../over_voltage_warn
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 over_voltage_warn field는 device가 over-voltage warning을 보고하면 1, 그렇지 않으면 0을 나타냅니다.

Over-temperature warning

446-453
항목한국어 전문 번역
What/sys/class/regulator/.../over_temp_warn
Date2022년 4월
KernelVersion5.18
ContactZev Weiss <zev@bewilderbeest.net>
Description일부 regulator directory의 over_temp_warn field는 device가 over-temperature warning을 보고하면 1, 그렇지 않으면 0을 나타냅니다.
Regulator fault and warning flags
SeverityAttributes
Faultunder_voltage, over_current, regulation_out, fail, over_temp
Warningunder_voltage_warn, over_current_warn, over_voltage_warn, over_temp_warn

모든 flag는 condition을 보고하면 1, 그렇지 않으면 0입니다.