sysfs-class-regulator 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  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. Each regulator directory will contain a field called
  7. state. This holds the regulator output state.
  8. This will be one of the following strings:
  9. 'enabled'
  10. 'disabled'
  11. 'unknown'
  12. 'enabled' means the regulator output is ON and is supplying
  13. power to the system.
  14. 'disabled' means the regulator output is OFF and is not
  15. supplying power to the system..
  16. 'unknown' means software cannot determine the state.
  17. NOTE: this field can be used in conjunction with microvolts
  18. and microamps to determine regulator output levels.
  19. What: /sys/class/regulator/.../type
  20. Date: April 2008
  21. KernelVersion: 2.6.26
  22. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  23. Description:
  24. Each regulator directory will contain a field called
  25. type. This holds the regulator type.
  26. This will be one of the following strings:
  27. 'voltage'
  28. 'current'
  29. 'unknown'
  30. 'voltage' means the regulator output voltage can be controlled
  31. by software.
  32. 'current' means the regulator output current limit can be
  33. controlled by software.
  34. 'unknown' means software cannot control either voltage or
  35. current limit.
  36. What: /sys/class/regulator/.../microvolts
  37. Date: April 2008
  38. KernelVersion: 2.6.26
  39. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  40. Description:
  41. Each regulator directory will contain a field called
  42. microvolts. This holds the regulator output voltage setting
  43. measured in microvolts (i.e. E-6 Volts).
  44. NOTE: This value should not be used to determine the regulator
  45. output voltage level as this value is the same regardless of
  46. whether the regulator is enabled or disabled.
  47. What: /sys/class/regulator/.../microamps
  48. Date: April 2008
  49. KernelVersion: 2.6.26
  50. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  51. Description:
  52. Each regulator directory will contain a field called
  53. microamps. This holds the regulator output current limit
  54. setting measured in microamps (i.e. E-6 Amps).
  55. NOTE: This value should not be used to determine the regulator
  56. output current level as this value is the same regardless of
  57. whether the regulator is enabled or disabled.
  58. What: /sys/class/regulator/.../opmode
  59. Date: April 2008
  60. KernelVersion: 2.6.26
  61. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  62. Description:
  63. Each regulator directory will contain a field called
  64. opmode. This holds the regulator operating mode setting.
  65. The opmode value can be one of the following strings:
  66. 'fast'
  67. 'normal'
  68. 'idle'
  69. 'standby'
  70. 'unknown'
  71. The modes are described in include/linux/regulator/regulator.h
  72. NOTE: This value should not be used to determine the regulator
  73. output operating mode as this value is the same regardless of
  74. whether the regulator is enabled or disabled.
  75. What: /sys/class/regulator/.../min_microvolts
  76. Date: April 2008
  77. KernelVersion: 2.6.26
  78. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  79. Description:
  80. Each regulator directory will contain a field called
  81. min_microvolts. This holds the minimum safe working regulator
  82. output voltage setting for this domain measured in microvolts.
  83. NOTE: this will return the string 'constraint not defined' if
  84. the power domain has no min microvolts constraint defined by
  85. platform code.
  86. What: /sys/class/regulator/.../max_microvolts
  87. Date: April 2008
  88. KernelVersion: 2.6.26
  89. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  90. Description:
  91. Each regulator directory will contain a field called
  92. max_microvolts. This holds the maximum safe working regulator
  93. output voltage setting for this domain measured in microvolts.
  94. NOTE: this will return the string 'constraint not defined' if
  95. the power domain has no max microvolts constraint defined by
  96. platform code.
  97. What: /sys/class/regulator/.../min_microamps
  98. Date: April 2008
  99. KernelVersion: 2.6.26
  100. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  101. Description:
  102. Each regulator directory will contain a field called
  103. min_microamps. This holds the minimum safe working regulator
  104. output current limit setting for this domain measured in
  105. microamps.
  106. NOTE: this will return the string 'constraint not defined' if
  107. the power domain has no min microamps constraint defined by
  108. platform code.
  109. What: /sys/class/regulator/.../max_microamps
  110. Date: April 2008
  111. KernelVersion: 2.6.26
  112. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  113. Description:
  114. Each regulator directory will contain a field called
  115. max_microamps. This holds the maximum safe working regulator
  116. output current limit setting for this domain measured in
  117. microamps.
  118. NOTE: this will return the string 'constraint not defined' if
  119. the power domain has no max microamps constraint defined by
  120. platform code.
  121. What: /sys/class/regulator/.../name
  122. Date: October 2008
  123. KernelVersion: 2.6.28
  124. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  125. Description:
  126. Each regulator directory will contain a field called
  127. name. This holds a string identifying the regulator for
  128. display purposes.
  129. NOTE: this will be empty if no suitable name is provided
  130. by platform or regulator drivers.
  131. What: /sys/class/regulator/.../num_users
  132. Date: April 2008
  133. KernelVersion: 2.6.26
  134. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  135. Description:
  136. Each regulator directory will contain a field called
  137. num_users. This holds the number of consumer devices that
  138. have called regulator_enable() on this regulator.
  139. What: /sys/class/regulator/.../requested_microamps
  140. Date: April 2008
  141. KernelVersion: 2.6.26
  142. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  143. Description:
  144. Each regulator directory will contain a field called
  145. requested_microamps. This holds the total requested load
  146. current in microamps for this regulator from all its consumer
  147. devices.
  148. What: /sys/class/regulator/.../parent
  149. Date: April 2008
  150. KernelVersion: 2.6.26
  151. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  152. Description:
  153. Some regulator directories will contain a link called parent.
  154. This points to the parent or supply regulator if one exists.
  155. What: /sys/class/regulator/.../suspend_mem_microvolts
  156. Date: May 2008
  157. KernelVersion: 2.6.26
  158. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  159. Description:
  160. Each regulator directory will contain a field called
  161. suspend_mem_microvolts. This holds the regulator output
  162. voltage setting for this domain measured in microvolts when
  163. the system is suspended to memory.
  164. NOTE: this will return the string 'not defined' if
  165. the power domain has no suspend to memory voltage defined by
  166. platform code.
  167. What: /sys/class/regulator/.../suspend_disk_microvolts
  168. Date: May 2008
  169. KernelVersion: 2.6.26
  170. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  171. Description:
  172. Each regulator directory will contain a field called
  173. suspend_disk_microvolts. This holds the regulator output
  174. voltage setting for this domain measured in microvolts when
  175. the system is suspended to disk.
  176. NOTE: this will return the string 'not defined' if
  177. the power domain has no suspend to disk voltage defined by
  178. platform code.
  179. What: /sys/class/regulator/.../suspend_standby_microvolts
  180. Date: May 2008
  181. KernelVersion: 2.6.26
  182. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  183. Description:
  184. Each regulator directory will contain a field called
  185. suspend_standby_microvolts. This holds the regulator output
  186. voltage setting for this domain measured in microvolts when
  187. the system is suspended to standby.
  188. NOTE: this will return the string 'not defined' if
  189. the power domain has no suspend to standby voltage defined by
  190. platform code.
  191. What: /sys/class/regulator/.../suspend_mem_mode
  192. Date: May 2008
  193. KernelVersion: 2.6.26
  194. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  195. Description:
  196. Each regulator directory will contain a field called
  197. suspend_mem_mode. This holds the regulator operating mode
  198. setting for this domain when the system is suspended to
  199. memory.
  200. NOTE: this will return the string 'not defined' if
  201. the power domain has no suspend to memory mode defined by
  202. platform code.
  203. What: /sys/class/regulator/.../suspend_disk_mode
  204. Date: May 2008
  205. KernelVersion: 2.6.26
  206. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  207. Description:
  208. Each regulator directory will contain a field called
  209. suspend_disk_mode. This holds the regulator operating mode
  210. setting for this domain when the system is suspended to disk.
  211. NOTE: this will return the string 'not defined' if
  212. the power domain has no suspend to disk mode defined by
  213. platform code.
  214. What: /sys/class/regulator/.../suspend_standby_mode
  215. Date: May 2008
  216. KernelVersion: 2.6.26
  217. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  218. Description:
  219. Each regulator directory will contain a field called
  220. suspend_standby_mode. This holds the regulator operating mode
  221. setting for this domain when the system is suspended to
  222. standby.
  223. NOTE: this will return the string 'not defined' if
  224. the power domain has no suspend to standby mode defined by
  225. platform code.
  226. What: /sys/class/regulator/.../suspend_mem_state
  227. Date: May 2008
  228. KernelVersion: 2.6.26
  229. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  230. Description:
  231. Each regulator directory will contain a field called
  232. suspend_mem_state. This holds the regulator operating state
  233. when suspended to memory.
  234. This will be one of the following strings:
  235. 'enabled'
  236. 'disabled'
  237. 'not defined'
  238. What: /sys/class/regulator/.../suspend_disk_state
  239. Date: May 2008
  240. KernelVersion: 2.6.26
  241. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  242. Description:
  243. Each regulator directory will contain a field called
  244. suspend_disk_state. This holds the regulator operating state
  245. when suspended to disk.
  246. This will be one of the following strings:
  247. 'enabled'
  248. 'disabled'
  249. 'not defined'
  250. What: /sys/class/regulator/.../suspend_standby_state
  251. Date: May 2008
  252. KernelVersion: 2.6.26
  253. Contact: Liam Girdwood <lrg@slimlogic.co.uk>
  254. Description:
  255. Each regulator directory will contain a field called
  256. suspend_standby_state. This holds the regulator operating
  257. state when suspended to standby.
  258. This will be one of the following strings:
  259. 'enabled'
  260. 'disabled'
  261. 'not defined'