summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorMike Rapoport2009-04-26 15:49:39 +0200
committerLiam Girdwood2009-06-15 12:18:22 +0200
commit1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe (patch)
tree079c8db0e879dbddcec7658dee610ade43d86c67 /drivers/regulator/Kconfig
parentMaxim 1586 regulator driver (diff)
downloadkernel-qcow2-linux-1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe.tar.gz
kernel-qcow2-linux-1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe.tar.xz
kernel-qcow2-linux-1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe.zip
regulator: add userspace-consumer driver
The userspace-consumer driver allows control of voltage and current regulator state from userspace. This is required for fine-grained power management of devices that are completely controller by userspace applications, e.g. a GPS transciever connected to a serial port. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 707da4d23537..5bec17cf1d5c 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -47,6 +47,16 @@ config REGULATOR_VIRTUAL_CONSUMER
If unsure, say no.
+config REGULATOR_USERSPACE_CONSUMER
+ tristate "Userspace regulator consumer support"
+ default n
+ help
+ There are some classes of devices that are controlled entirely
+ from user space. Usersapce consumer driver provides ability to
+ control power supplies for such devices.
+
+ If unsure, say no.
+
config REGULATOR_BQ24022
tristate "TI bq24022 Dual Input 1-Cell Li-Ion Charger IC"
default n