18c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../state 28c2ecf20Sopenharmony_ciDate: April 2008 38c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 48c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 58c2ecf20Sopenharmony_ciDescription: 68c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 78c2ecf20Sopenharmony_ci state. This reports the regulator enable control, for 88c2ecf20Sopenharmony_ci regulators which can report that input value. 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci This will be one of the following strings: 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci 'enabled' 138c2ecf20Sopenharmony_ci 'disabled' 148c2ecf20Sopenharmony_ci 'unknown' 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci 'enabled' means the regulator output is ON and is supplying 178c2ecf20Sopenharmony_ci power to the system (assuming no error prevents it). 188c2ecf20Sopenharmony_ci 198c2ecf20Sopenharmony_ci 'disabled' means the regulator output is OFF and is not 208c2ecf20Sopenharmony_ci supplying power to the system (unless some non-Linux 218c2ecf20Sopenharmony_ci control has enabled it). 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci 'unknown' means software cannot determine the state, or 248c2ecf20Sopenharmony_ci the reported state is invalid. 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci NOTE: this field can be used in conjunction with microvolts 278c2ecf20Sopenharmony_ci or microamps to determine configured regulator output levels. 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../status 318c2ecf20Sopenharmony_ciDescription: 328c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 338c2ecf20Sopenharmony_ci "status". This reports the current regulator status, for 348c2ecf20Sopenharmony_ci regulators which can report that output value. 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci This will be one of the following strings: 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ci - off 398c2ecf20Sopenharmony_ci - on 408c2ecf20Sopenharmony_ci - error 418c2ecf20Sopenharmony_ci - fast 428c2ecf20Sopenharmony_ci - normal 438c2ecf20Sopenharmony_ci - idle 448c2ecf20Sopenharmony_ci - standby 458c2ecf20Sopenharmony_ci 468c2ecf20Sopenharmony_ci "off" means the regulator is not supplying power to the 478c2ecf20Sopenharmony_ci system. 488c2ecf20Sopenharmony_ci 498c2ecf20Sopenharmony_ci "on" means the regulator is supplying power to the system, 508c2ecf20Sopenharmony_ci and the regulator can't report a detailed operation mode. 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci "error" indicates an out-of-regulation status such as being 538c2ecf20Sopenharmony_ci disabled due to thermal shutdown, or voltage being unstable 548c2ecf20Sopenharmony_ci because of problems with the input power supply. 558c2ecf20Sopenharmony_ci 568c2ecf20Sopenharmony_ci "fast", "normal", "idle", and "standby" are all detailed 578c2ecf20Sopenharmony_ci regulator operation modes (described elsewhere). They 588c2ecf20Sopenharmony_ci imply "on", but provide more detail. 598c2ecf20Sopenharmony_ci 608c2ecf20Sopenharmony_ci Note that regulator status is a function of many inputs, 618c2ecf20Sopenharmony_ci not limited to control inputs from Linux. For example, 628c2ecf20Sopenharmony_ci the actual load presented may trigger "error" status; or 638c2ecf20Sopenharmony_ci a regulator may be enabled by another user, even though 648c2ecf20Sopenharmony_ci Linux did not enable it. 658c2ecf20Sopenharmony_ci 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../type 688c2ecf20Sopenharmony_ciDate: April 2008 698c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 708c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 718c2ecf20Sopenharmony_ciDescription: 728c2ecf20Sopenharmony_ci Each regulator directory will contain a field called 738c2ecf20Sopenharmony_ci type. This holds the regulator type. 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_ci This will be one of the following strings: 768c2ecf20Sopenharmony_ci 778c2ecf20Sopenharmony_ci - 'voltage' 788c2ecf20Sopenharmony_ci - 'current' 798c2ecf20Sopenharmony_ci - 'unknown' 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ci 'voltage' means the regulator output voltage can be controlled 828c2ecf20Sopenharmony_ci by software. 838c2ecf20Sopenharmony_ci 848c2ecf20Sopenharmony_ci 'current' means the regulator output current limit can be 858c2ecf20Sopenharmony_ci controlled by software. 868c2ecf20Sopenharmony_ci 878c2ecf20Sopenharmony_ci 'unknown' means software cannot control either voltage or 888c2ecf20Sopenharmony_ci current limit. 898c2ecf20Sopenharmony_ci 908c2ecf20Sopenharmony_ci 918c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../microvolts 928c2ecf20Sopenharmony_ciDate: April 2008 938c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 948c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 958c2ecf20Sopenharmony_ciDescription: 968c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 978c2ecf20Sopenharmony_ci microvolts. This holds the regulator output voltage setting 988c2ecf20Sopenharmony_ci measured in microvolts (i.e. E-6 Volts), for regulators 998c2ecf20Sopenharmony_ci which can report the control input for voltage. 1008c2ecf20Sopenharmony_ci 1018c2ecf20Sopenharmony_ci NOTE: This value should not be used to determine the regulator 1028c2ecf20Sopenharmony_ci output voltage level as this value is the same regardless of 1038c2ecf20Sopenharmony_ci whether the regulator is enabled or disabled. 1048c2ecf20Sopenharmony_ci 1058c2ecf20Sopenharmony_ci 1068c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../microamps 1078c2ecf20Sopenharmony_ciDate: April 2008 1088c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 1098c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 1108c2ecf20Sopenharmony_ciDescription: 1118c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 1128c2ecf20Sopenharmony_ci microamps. This holds the regulator output current limit 1138c2ecf20Sopenharmony_ci setting measured in microamps (i.e. E-6 Amps), for regulators 1148c2ecf20Sopenharmony_ci which can report the control input for a current limit. 1158c2ecf20Sopenharmony_ci 1168c2ecf20Sopenharmony_ci NOTE: This value should not be used to determine the regulator 1178c2ecf20Sopenharmony_ci output current level as this value is the same regardless of 1188c2ecf20Sopenharmony_ci whether the regulator is enabled or disabled. 1198c2ecf20Sopenharmony_ci 1208c2ecf20Sopenharmony_ci 1218c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../opmode 1228c2ecf20Sopenharmony_ciDate: April 2008 1238c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 1248c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 1258c2ecf20Sopenharmony_ciDescription: 1268c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 1278c2ecf20Sopenharmony_ci opmode. This holds the current regulator operating mode, 1288c2ecf20Sopenharmony_ci for regulators which can report that control input value. 1298c2ecf20Sopenharmony_ci 1308c2ecf20Sopenharmony_ci The opmode value can be one of the following strings: 1318c2ecf20Sopenharmony_ci 1328c2ecf20Sopenharmony_ci - 'fast' 1338c2ecf20Sopenharmony_ci - 'normal' 1348c2ecf20Sopenharmony_ci - 'idle' 1358c2ecf20Sopenharmony_ci - 'standby' 1368c2ecf20Sopenharmony_ci - 'unknown' 1378c2ecf20Sopenharmony_ci 1388c2ecf20Sopenharmony_ci The modes are described in include/linux/regulator/consumer.h 1398c2ecf20Sopenharmony_ci 1408c2ecf20Sopenharmony_ci NOTE: This value should not be used to determine the regulator 1418c2ecf20Sopenharmony_ci output operating mode as this value is the same regardless of 1428c2ecf20Sopenharmony_ci whether the regulator is enabled or disabled. A "status" 1438c2ecf20Sopenharmony_ci attribute may be available to determine the actual mode. 1448c2ecf20Sopenharmony_ci 1458c2ecf20Sopenharmony_ci 1468c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../min_microvolts 1478c2ecf20Sopenharmony_ciDate: April 2008 1488c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 1498c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 1508c2ecf20Sopenharmony_ciDescription: 1518c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 1528c2ecf20Sopenharmony_ci min_microvolts. This holds the minimum safe working regulator 1538c2ecf20Sopenharmony_ci output voltage setting for this domain measured in microvolts, 1548c2ecf20Sopenharmony_ci for regulators which support voltage constraints. 1558c2ecf20Sopenharmony_ci 1568c2ecf20Sopenharmony_ci NOTE: this will return the string 'constraint not defined' if 1578c2ecf20Sopenharmony_ci the power domain has no min microvolts constraint defined by 1588c2ecf20Sopenharmony_ci platform code. 1598c2ecf20Sopenharmony_ci 1608c2ecf20Sopenharmony_ci 1618c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../max_microvolts 1628c2ecf20Sopenharmony_ciDate: April 2008 1638c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 1648c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 1658c2ecf20Sopenharmony_ciDescription: 1668c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 1678c2ecf20Sopenharmony_ci max_microvolts. This holds the maximum safe working regulator 1688c2ecf20Sopenharmony_ci output voltage setting for this domain measured in microvolts, 1698c2ecf20Sopenharmony_ci for regulators which support voltage constraints. 1708c2ecf20Sopenharmony_ci 1718c2ecf20Sopenharmony_ci NOTE: this will return the string 'constraint not defined' if 1728c2ecf20Sopenharmony_ci the power domain has no max microvolts constraint defined by 1738c2ecf20Sopenharmony_ci platform code. 1748c2ecf20Sopenharmony_ci 1758c2ecf20Sopenharmony_ci 1768c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../min_microamps 1778c2ecf20Sopenharmony_ciDate: April 2008 1788c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 1798c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 1808c2ecf20Sopenharmony_ciDescription: 1818c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 1828c2ecf20Sopenharmony_ci min_microamps. This holds the minimum safe working regulator 1838c2ecf20Sopenharmony_ci output current limit setting for this domain measured in 1848c2ecf20Sopenharmony_ci microamps, for regulators which support current constraints. 1858c2ecf20Sopenharmony_ci 1868c2ecf20Sopenharmony_ci NOTE: this will return the string 'constraint not defined' if 1878c2ecf20Sopenharmony_ci the power domain has no min microamps constraint defined by 1888c2ecf20Sopenharmony_ci platform code. 1898c2ecf20Sopenharmony_ci 1908c2ecf20Sopenharmony_ci 1918c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../max_microamps 1928c2ecf20Sopenharmony_ciDate: April 2008 1938c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 1948c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 1958c2ecf20Sopenharmony_ciDescription: 1968c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 1978c2ecf20Sopenharmony_ci max_microamps. This holds the maximum safe working regulator 1988c2ecf20Sopenharmony_ci output current limit setting for this domain measured in 1998c2ecf20Sopenharmony_ci microamps, for regulators which support current constraints. 2008c2ecf20Sopenharmony_ci 2018c2ecf20Sopenharmony_ci NOTE: this will return the string 'constraint not defined' if 2028c2ecf20Sopenharmony_ci the power domain has no max microamps constraint defined by 2038c2ecf20Sopenharmony_ci platform code. 2048c2ecf20Sopenharmony_ci 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../name 2078c2ecf20Sopenharmony_ciDate: October 2008 2088c2ecf20Sopenharmony_ciKernelVersion: 2.6.28 2098c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2108c2ecf20Sopenharmony_ciDescription: 2118c2ecf20Sopenharmony_ci Each regulator directory will contain a field called 2128c2ecf20Sopenharmony_ci name. This holds a string identifying the regulator for 2138c2ecf20Sopenharmony_ci display purposes. 2148c2ecf20Sopenharmony_ci 2158c2ecf20Sopenharmony_ci NOTE: this will be empty if no suitable name is provided 2168c2ecf20Sopenharmony_ci by platform or regulator drivers. 2178c2ecf20Sopenharmony_ci 2188c2ecf20Sopenharmony_ci 2198c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../num_users 2208c2ecf20Sopenharmony_ciDate: April 2008 2218c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2228c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2238c2ecf20Sopenharmony_ciDescription: 2248c2ecf20Sopenharmony_ci Each regulator directory will contain a field called 2258c2ecf20Sopenharmony_ci num_users. This holds the number of consumer devices that 2268c2ecf20Sopenharmony_ci have called regulator_enable() on this regulator. 2278c2ecf20Sopenharmony_ci 2288c2ecf20Sopenharmony_ci 2298c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../requested_microamps 2308c2ecf20Sopenharmony_ciDate: April 2008 2318c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2328c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2338c2ecf20Sopenharmony_ciDescription: 2348c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 2358c2ecf20Sopenharmony_ci requested_microamps. This holds the total requested load 2368c2ecf20Sopenharmony_ci current in microamps for this regulator from all its consumer 2378c2ecf20Sopenharmony_ci devices. 2388c2ecf20Sopenharmony_ci 2398c2ecf20Sopenharmony_ci 2408c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../parent 2418c2ecf20Sopenharmony_ciDate: April 2008 2428c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2438c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2448c2ecf20Sopenharmony_ciDescription: 2458c2ecf20Sopenharmony_ci Some regulator directories will contain a link called parent. 2468c2ecf20Sopenharmony_ci This points to the parent or supply regulator if one exists. 2478c2ecf20Sopenharmony_ci 2488c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_mem_microvolts 2498c2ecf20Sopenharmony_ciDate: May 2008 2508c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2518c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2528c2ecf20Sopenharmony_ciDescription: 2538c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 2548c2ecf20Sopenharmony_ci suspend_mem_microvolts. This holds the regulator output 2558c2ecf20Sopenharmony_ci voltage setting for this domain measured in microvolts when 2568c2ecf20Sopenharmony_ci the system is suspended to memory, for voltage regulators 2578c2ecf20Sopenharmony_ci implementing suspend voltage configuration constraints. 2588c2ecf20Sopenharmony_ci 2598c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_disk_microvolts 2608c2ecf20Sopenharmony_ciDate: May 2008 2618c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2628c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2638c2ecf20Sopenharmony_ciDescription: 2648c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 2658c2ecf20Sopenharmony_ci suspend_disk_microvolts. This holds the regulator output 2668c2ecf20Sopenharmony_ci voltage setting for this domain measured in microvolts when 2678c2ecf20Sopenharmony_ci the system is suspended to disk, for voltage regulators 2688c2ecf20Sopenharmony_ci implementing suspend voltage configuration constraints. 2698c2ecf20Sopenharmony_ci 2708c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_standby_microvolts 2718c2ecf20Sopenharmony_ciDate: May 2008 2728c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2738c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2748c2ecf20Sopenharmony_ciDescription: 2758c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 2768c2ecf20Sopenharmony_ci suspend_standby_microvolts. This holds the regulator output 2778c2ecf20Sopenharmony_ci voltage setting for this domain measured in microvolts when 2788c2ecf20Sopenharmony_ci the system is suspended to standby, for voltage regulators 2798c2ecf20Sopenharmony_ci implementing suspend voltage configuration constraints. 2808c2ecf20Sopenharmony_ci 2818c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_mem_mode 2828c2ecf20Sopenharmony_ciDate: May 2008 2838c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2848c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2858c2ecf20Sopenharmony_ciDescription: 2868c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 2878c2ecf20Sopenharmony_ci suspend_mem_mode. This holds the regulator operating mode 2888c2ecf20Sopenharmony_ci setting for this domain when the system is suspended to 2898c2ecf20Sopenharmony_ci memory, for regulators implementing suspend mode 2908c2ecf20Sopenharmony_ci configuration constraints. 2918c2ecf20Sopenharmony_ci 2928c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_disk_mode 2938c2ecf20Sopenharmony_ciDate: May 2008 2948c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 2958c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 2968c2ecf20Sopenharmony_ciDescription: 2978c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 2988c2ecf20Sopenharmony_ci suspend_disk_mode. This holds the regulator operating mode 2998c2ecf20Sopenharmony_ci setting for this domain when the system is suspended to disk, 3008c2ecf20Sopenharmony_ci for regulators implementing suspend mode configuration 3018c2ecf20Sopenharmony_ci constraints. 3028c2ecf20Sopenharmony_ci 3038c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_standby_mode 3048c2ecf20Sopenharmony_ciDate: May 2008 3058c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 3068c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 3078c2ecf20Sopenharmony_ciDescription: 3088c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 3098c2ecf20Sopenharmony_ci suspend_standby_mode. This holds the regulator operating mode 3108c2ecf20Sopenharmony_ci setting for this domain when the system is suspended to 3118c2ecf20Sopenharmony_ci standby, for regulators implementing suspend mode 3128c2ecf20Sopenharmony_ci configuration constraints. 3138c2ecf20Sopenharmony_ci 3148c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_mem_state 3158c2ecf20Sopenharmony_ciDate: May 2008 3168c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 3178c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 3188c2ecf20Sopenharmony_ciDescription: 3198c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 3208c2ecf20Sopenharmony_ci suspend_mem_state. This holds the regulator operating state 3218c2ecf20Sopenharmony_ci when suspended to memory, for regulators implementing suspend 3228c2ecf20Sopenharmony_ci configuration constraints. 3238c2ecf20Sopenharmony_ci 3248c2ecf20Sopenharmony_ci This will be one of the same strings reported by 3258c2ecf20Sopenharmony_ci the "state" attribute. 3268c2ecf20Sopenharmony_ci 3278c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_disk_state 3288c2ecf20Sopenharmony_ciDate: May 2008 3298c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 3308c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 3318c2ecf20Sopenharmony_ciDescription: 3328c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 3338c2ecf20Sopenharmony_ci suspend_disk_state. This holds the regulator operating state 3348c2ecf20Sopenharmony_ci when suspended to disk, for regulators implementing 3358c2ecf20Sopenharmony_ci suspend configuration constraints. 3368c2ecf20Sopenharmony_ci 3378c2ecf20Sopenharmony_ci This will be one of the same strings reported by 3388c2ecf20Sopenharmony_ci the "state" attribute. 3398c2ecf20Sopenharmony_ci 3408c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../suspend_standby_state 3418c2ecf20Sopenharmony_ciDate: May 2008 3428c2ecf20Sopenharmony_ciKernelVersion: 2.6.26 3438c2ecf20Sopenharmony_ciContact: Liam Girdwood <lrg@slimlogic.co.uk> 3448c2ecf20Sopenharmony_ciDescription: 3458c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 3468c2ecf20Sopenharmony_ci suspend_standby_state. This holds the regulator operating 3478c2ecf20Sopenharmony_ci state when suspended to standby, for regulators implementing 3488c2ecf20Sopenharmony_ci suspend configuration constraints. 3498c2ecf20Sopenharmony_ci 3508c2ecf20Sopenharmony_ci This will be one of the same strings reported by 3518c2ecf20Sopenharmony_ci the "state" attribute. 3528c2ecf20Sopenharmony_ci 3538c2ecf20Sopenharmony_ciWhat: /sys/class/regulator/.../bypass 3548c2ecf20Sopenharmony_ciDate: September 2012 3558c2ecf20Sopenharmony_ciKernelVersion: 3.7 3568c2ecf20Sopenharmony_ciContact: Mark Brown <broonie@opensource.wolfsonmicro.com> 3578c2ecf20Sopenharmony_ciDescription: 3588c2ecf20Sopenharmony_ci Some regulator directories will contain a field called 3598c2ecf20Sopenharmony_ci bypass. This indicates if the device is in bypass mode. 3608c2ecf20Sopenharmony_ci 3618c2ecf20Sopenharmony_ci This will be one of the following strings: 3628c2ecf20Sopenharmony_ci 3638c2ecf20Sopenharmony_ci - 'enabled' 3648c2ecf20Sopenharmony_ci - 'disabled' 3658c2ecf20Sopenharmony_ci - 'unknown' 3668c2ecf20Sopenharmony_ci 3678c2ecf20Sopenharmony_ci 'enabled' means the regulator is in bypass mode. 3688c2ecf20Sopenharmony_ci 3698c2ecf20Sopenharmony_ci 'disabled' means that the regulator is regulating. 3708c2ecf20Sopenharmony_ci 3718c2ecf20Sopenharmony_ci 'unknown' means software cannot determine the state, or 3728c2ecf20Sopenharmony_ci the reported state is invalid. 373