1
0
Files
linux/include/linux
David Brownell 853116a105 regulator: add get_status()
Based on previous LKML discussions:

 * Update docs for regulator sysfs class attributes to highlight
   the fact that all current attributes are intended to be control
   inputs, including notably "state" and "opmode" which previously
   implied otherwise.

 * Define a new regulator driver get_status() method, which is the
   first method reporting regulator outputs instead of inputs.
   It can report on/off and error status; or instead of simply
   "on", report the actual operating mode.

For the moment, this is a sysfs-only interface, not accessible to
regulator clients.  Such clients can use the current notification
interfaces to detect errors, if the regulator reports them.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2009-03-31 09:56:20 +01:00
..
2009-03-18 19:45:11 -07:00
2009-03-31 09:56:20 +01:00
2009-03-05 14:39:32 -05:00
2009-03-27 14:43:57 -04:00
2009-03-27 14:43:59 -04:00
2009-03-16 08:32:27 -06:00
2009-03-24 12:35:17 +01:00
2009-03-13 14:32:29 +01:00
2009-03-28 23:55:59 -07:00
2009-03-24 22:52:39 -04:00
2009-03-26 10:56:35 -07:00
2009-03-15 19:59:13 -07:00
2009-03-27 14:43:59 -04:00
2009-03-27 14:43:59 -04:00
2009-03-10 20:33:18 -04:00
2009-03-13 16:09:12 -07:00
2009-03-26 02:18:35 +01:00
2009-03-30 14:28:58 -07:00
2009-03-26 18:14:21 +01:00