1 What: /sys/class/regulator/.../state
4 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
6 Each regulator directory will contain a field called
7 state. This holds the regulator output state.
9 This will be one of the following strings:
15 'enabled' means the regulator output is ON and is supplying
18 'disabled' means the regulator output is OFF and is not
19 supplying power to the system..
21 'unknown' means software cannot determine the state.
23 NOTE: this field can be used in conjunction with microvolts
24 and microamps to determine regulator output levels.
27 What: /sys/class/regulator/.../type
30 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
32 Each regulator directory will contain a field called
33 type. This holds the regulator type.
35 This will be one of the following strings:
41 'voltage' means the regulator output voltage can be controlled
44 'current' means the regulator output current limit can be
45 controlled by software.
47 'unknown' means software cannot control either voltage or
51 What: /sys/class/regulator/.../microvolts
54 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
56 Each regulator directory will contain a field called
57 microvolts. This holds the regulator output voltage setting
58 measured in microvolts (i.e. E-6 Volts).
60 NOTE: This value should not be used to determine the regulator
61 output voltage level as this value is the same regardless of
62 whether the regulator is enabled or disabled.
65 What: /sys/class/regulator/.../microamps
68 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
70 Each regulator directory will contain a field called
71 microamps. This holds the regulator output current limit
72 setting measured in microamps (i.e. E-6 Amps).
74 NOTE: This value should not be used to determine the regulator
75 output current level as this value is the same regardless of
76 whether the regulator is enabled or disabled.
79 What: /sys/class/regulator/.../opmode
82 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
84 Each regulator directory will contain a field called
85 opmode. This holds the regulator operating mode setting.
87 The opmode value can be one of the following strings:
95 The modes are described in include/linux/regulator/regulator.h
97 NOTE: This value should not be used to determine the regulator
98 output operating mode as this value is the same regardless of
99 whether the regulator is enabled or disabled.
102 What: /sys/class/regulator/.../min_microvolts
104 KernelVersion: 2.6.26
105 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
107 Each regulator directory will contain a field called
108 min_microvolts. This holds the minimum safe working regulator
109 output voltage setting for this domain measured in microvolts.
111 NOTE: this will return the string 'constraint not defined' if
112 the power domain has no min microvolts constraint defined by
116 What: /sys/class/regulator/.../max_microvolts
118 KernelVersion: 2.6.26
119 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
121 Each regulator directory will contain a field called
122 max_microvolts. This holds the maximum safe working regulator
123 output voltage setting for this domain measured in microvolts.
125 NOTE: this will return the string 'constraint not defined' if
126 the power domain has no max microvolts constraint defined by
130 What: /sys/class/regulator/.../min_microamps
132 KernelVersion: 2.6.26
133 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
135 Each regulator directory will contain a field called
136 min_microamps. This holds the minimum safe working regulator
137 output current limit setting for this domain measured in
140 NOTE: this will return the string 'constraint not defined' if
141 the power domain has no min microamps constraint defined by
145 What: /sys/class/regulator/.../max_microamps
147 KernelVersion: 2.6.26
148 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
150 Each regulator directory will contain a field called
151 max_microamps. This holds the maximum safe working regulator
152 output current limit setting for this domain measured in
155 NOTE: this will return the string 'constraint not defined' if
156 the power domain has no max microamps constraint defined by
160 What: /sys/class/regulator/.../num_users
162 KernelVersion: 2.6.26
163 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
165 Each regulator directory will contain a field called
166 num_users. This holds the number of consumer devices that
167 have called regulator_enable() on this regulator.
170 What: /sys/class/regulator/.../requested_microamps
172 KernelVersion: 2.6.26
173 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
175 Each regulator directory will contain a field called
176 requested_microamps. This holds the total requested load
177 current in microamps for this regulator from all its consumer
181 What: /sys/class/regulator/.../parent
183 KernelVersion: 2.6.26
184 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
186 Some regulator directories will contain a link called parent.
187 This points to the parent or supply regulator if one exists.
189 What: /sys/class/regulator/.../suspend_mem_microvolts
191 KernelVersion: 2.6.26
192 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
194 Each regulator directory will contain a field called
195 suspend_mem_microvolts. This holds the regulator output
196 voltage setting for this domain measured in microvolts when
197 the system is suspended to memory.
199 NOTE: this will return the string 'not defined' if
200 the power domain has no suspend to memory voltage defined by
203 What: /sys/class/regulator/.../suspend_disk_microvolts
205 KernelVersion: 2.6.26
206 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
208 Each regulator directory will contain a field called
209 suspend_disk_microvolts. This holds the regulator output
210 voltage setting for this domain measured in microvolts when
211 the system is suspended to disk.
213 NOTE: this will return the string 'not defined' if
214 the power domain has no suspend to disk voltage defined by
217 What: /sys/class/regulator/.../suspend_standby_microvolts
219 KernelVersion: 2.6.26
220 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
222 Each regulator directory will contain a field called
223 suspend_standby_microvolts. This holds the regulator output
224 voltage setting for this domain measured in microvolts when
225 the system is suspended to standby.
227 NOTE: this will return the string 'not defined' if
228 the power domain has no suspend to standby voltage defined by
231 What: /sys/class/regulator/.../suspend_mem_mode
233 KernelVersion: 2.6.26
234 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
236 Each regulator directory will contain a field called
237 suspend_mem_mode. This holds the regulator operating mode
238 setting for this domain when the system is suspended to
241 NOTE: this will return the string 'not defined' if
242 the power domain has no suspend to memory mode defined by
245 What: /sys/class/regulator/.../suspend_disk_mode
247 KernelVersion: 2.6.26
248 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
250 Each regulator directory will contain a field called
251 suspend_disk_mode. This holds the regulator operating mode
252 setting for this domain when the system is suspended to disk.
254 NOTE: this will return the string 'not defined' if
255 the power domain has no suspend to disk mode defined by
258 What: /sys/class/regulator/.../suspend_standby_mode
260 KernelVersion: 2.6.26
261 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
263 Each regulator directory will contain a field called
264 suspend_standby_mode. This holds the regulator operating mode
265 setting for this domain when the system is suspended to
268 NOTE: this will return the string 'not defined' if
269 the power domain has no suspend to standby mode defined by
272 What: /sys/class/regulator/.../suspend_mem_state
274 KernelVersion: 2.6.26
275 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
277 Each regulator directory will contain a field called
278 suspend_mem_state. This holds the regulator operating state
279 when suspended to memory.
281 This will be one of the following strings:
287 What: /sys/class/regulator/.../suspend_disk_state
289 KernelVersion: 2.6.26
290 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
292 Each regulator directory will contain a field called
293 suspend_disk_state. This holds the regulator operating state
294 when suspended to disk.
296 This will be one of the following strings:
302 What: /sys/class/regulator/.../suspend_standby_state
304 KernelVersion: 2.6.26
305 Contact: Liam Girdwood <lg@opensource.wolfsonmicro.com>
307 Each regulator directory will contain a field called
308 suspend_standby_state. This holds the regulator operating
309 state when suspended to standby.
311 This will be one of the following strings: