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