linux/drivers/regulator
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
..
bq24022.c regulator: move bq24022 init back to module_init instead of subsys_initcall 2009-01-30 21:50:49 +00:00
core.c regulator: add get_status() 2009-03-31 09:56:20 +01:00
da903x.c regulator: da903x: make da903x_is_enabled return 0 or 1 2009-01-08 20:10:31 +00:00
fixed.c regulator: add support for fixed regulators. 2008-07-30 10:10:21 +01:00
Kconfig regulator: PCF50633 pmic driver 2009-01-11 01:34:25 +01:00
Makefile regulator: PCF50633 pmic driver 2009-01-11 01:34:25 +01:00
pcf50633-regulator.c regulator: PCF50633 pmic driver 2009-01-11 01:34:25 +01:00
virtual.c regulator: minor cleanup of virtual consumer 2009-03-31 09:56:19 +01:00
wm8350-regulator.c leds: Fix bounds checking of wm8350->pmic.led 2009-01-30 21:50:49 +00:00
wm8400-regulator.c move wm8400-regulator's probe function to .devinit.text 2009-01-17 13:46:40 +00:00