1 What: /sys/class/regulator/.../state
4 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
6 Some regulator directories will contain a field called
7 state. This reports the regulator enable status, for
8 regulators which can report that value.
10 This will be one of the following strings:
16 'enabled' means the regulator output is ON and is supplying
19 'disabled' means the regulator output is OFF and is not
20 supplying power to the system..
22 'unknown' means software cannot determine the state, or
23 the reported state is invalid.
25 NOTE: this field can be used in conjunction with microvolts
26 and microamps to determine regulator output levels.
29 What: /sys/class/regulator/.../type
32 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
34 Each regulator directory will contain a field called
35 type. This holds the regulator type.
37 This will be one of the following strings:
43 'voltage' means the regulator output voltage can be controlled
46 'current' means the regulator output current limit can be
47 controlled by software.
49 'unknown' means software cannot control either voltage or
53 What: /sys/class/regulator/.../microvolts
56 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
58 Some regulator directories will contain a field called
59 microvolts. This holds the regulator output voltage setting
60 measured in microvolts (i.e. E-6 Volts), for regulators
61 which can report that voltage.
63 NOTE: This value should not be used to determine the regulator
64 output voltage level as this value is the same regardless of
65 whether the regulator is enabled or disabled.
68 What: /sys/class/regulator/.../microamps
71 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
73 Some regulator directories will contain a field called
74 microamps. This holds the regulator output current limit
75 setting measured in microamps (i.e. E-6 Amps), for regulators
76 which can report that current.
78 NOTE: This value should not be used to determine the regulator
79 output current level as this value is the same regardless of
80 whether the regulator is enabled or disabled.
83 What: /sys/class/regulator/.../opmode
86 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
88 Some regulator directories will contain a field called
89 opmode. This holds the current regulator operating mode,
90 for regulators which can report it.
92 The opmode value can be one of the following strings:
100 The modes are described in include/linux/regulator/consumer.h
102 NOTE: This value should not be used to determine the regulator
103 output operating mode as this value is the same regardless of
104 whether the regulator is enabled or disabled.
107 What: /sys/class/regulator/.../min_microvolts
109 KernelVersion: 2.6.26
110 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
112 Some regulator directories will contain a field called
113 min_microvolts. This holds the minimum safe working regulator
114 output voltage setting for this domain measured in microvolts,
115 for regulators which support voltage constraints.
117 NOTE: this will return the string 'constraint not defined' if
118 the power domain has no min microvolts constraint defined by
122 What: /sys/class/regulator/.../max_microvolts
124 KernelVersion: 2.6.26
125 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
127 Some regulator directories will contain a field called
128 max_microvolts. This holds the maximum safe working regulator
129 output voltage setting for this domain measured in microvolts,
130 for regulators which support voltage constraints.
132 NOTE: this will return the string 'constraint not defined' if
133 the power domain has no max microvolts constraint defined by
137 What: /sys/class/regulator/.../min_microamps
139 KernelVersion: 2.6.26
140 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
142 Some regulator directories will contain a field called
143 min_microamps. This holds the minimum safe working regulator
144 output current limit setting for this domain measured in
145 microamps, for regulators which support current constraints.
147 NOTE: this will return the string 'constraint not defined' if
148 the power domain has no min microamps constraint defined by
152 What: /sys/class/regulator/.../max_microamps
154 KernelVersion: 2.6.26
155 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
157 Some regulator directories will contain a field called
158 max_microamps. This holds the maximum safe working regulator
159 output current limit setting for this domain measured in
160 microamps, for regulators which support current constraints.
162 NOTE: this will return the string 'constraint not defined' if
163 the power domain has no max microamps constraint defined by
167 What: /sys/class/regulator/.../name
169 KernelVersion: 2.6.28
170 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
172 Each regulator directory will contain a field called
173 name. This holds a string identifying the regulator for
176 NOTE: this will be empty if no suitable name is provided
177 by platform or regulator drivers.
180 What: /sys/class/regulator/.../num_users
182 KernelVersion: 2.6.26
183 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
185 Each regulator directory will contain a field called
186 num_users. This holds the number of consumer devices that
187 have called regulator_enable() on this regulator.
190 What: /sys/class/regulator/.../requested_microamps
192 KernelVersion: 2.6.26
193 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
195 Some regulator directories will contain a field called
196 requested_microamps. This holds the total requested load
197 current in microamps for this regulator from all its consumer
201 What: /sys/class/regulator/.../parent
203 KernelVersion: 2.6.26
204 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
206 Some regulator directories will contain a link called parent.
207 This points to the parent or supply regulator if one exists.
209 What: /sys/class/regulator/.../suspend_mem_microvolts
211 KernelVersion: 2.6.26
212 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
214 Some regulator directories will contain a field called
215 suspend_mem_microvolts. This holds the regulator output
216 voltage setting for this domain measured in microvolts when
217 the system is suspended to memory, for voltage regulators
218 implementing suspend voltage configuration constraints.
220 What: /sys/class/regulator/.../suspend_disk_microvolts
222 KernelVersion: 2.6.26
223 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
225 Some regulator directories will contain a field called
226 suspend_disk_microvolts. This holds the regulator output
227 voltage setting for this domain measured in microvolts when
228 the system is suspended to disk, for voltage regulators
229 implementing suspend voltage configuration constraints.
231 What: /sys/class/regulator/.../suspend_standby_microvolts
233 KernelVersion: 2.6.26
234 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
236 Some regulator directories will contain a field called
237 suspend_standby_microvolts. This holds the regulator output
238 voltage setting for this domain measured in microvolts when
239 the system is suspended to standby, for voltage regulators
240 implementing suspend voltage configuration constraints.
242 What: /sys/class/regulator/.../suspend_mem_mode
244 KernelVersion: 2.6.26
245 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
247 Some regulator directories will contain a field called
248 suspend_mem_mode. This holds the regulator operating mode
249 setting for this domain when the system is suspended to
250 memory, for regulators implementing suspend mode
251 configuration constraints.
253 What: /sys/class/regulator/.../suspend_disk_mode
255 KernelVersion: 2.6.26
256 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
258 Some regulator directories will contain a field called
259 suspend_disk_mode. This holds the regulator operating mode
260 setting for this domain when the system is suspended to disk,
261 for regulators implementing suspend mode configuration
264 What: /sys/class/regulator/.../suspend_standby_mode
266 KernelVersion: 2.6.26
267 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
269 Some regulator directories will contain a field called
270 suspend_standby_mode. This holds the regulator operating mode
271 setting for this domain when the system is suspended to
272 standby, for regulators implementing suspend mode
273 configuration constraints.
275 What: /sys/class/regulator/.../suspend_mem_state
277 KernelVersion: 2.6.26
278 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
280 Some regulator directories will contain a field called
281 suspend_mem_state. This holds the regulator operating state
282 when suspended to memory, for regulators implementing suspend
283 configuration constraints.
285 This will be one of the same strings reported by
286 the "state" attribute.
288 What: /sys/class/regulator/.../suspend_disk_state
290 KernelVersion: 2.6.26
291 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
293 Some regulator directories will contain a field called
294 suspend_disk_state. This holds the regulator operating state
295 when suspended to disk, for regulators implementing
296 suspend configuration constraints.
298 This will be one of the same strings reported by
299 the "state" attribute.
301 What: /sys/class/regulator/.../suspend_standby_state
303 KernelVersion: 2.6.26
304 Contact: Liam Girdwood <lrg@slimlogic.co.uk>
306 Some regulator directories will contain a field called
307 suspend_standby_state. This holds the regulator operating
308 state when suspended to standby, for regulators implementing
309 suspend configuration constraints.
311 This will be one of the same strings reported by
312 the "state" attribute.