summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown2009-01-19 14:37:05 +0100
committerLiam Girdwood2009-03-31 10:56:21 +0200
commita9cb63b2a1768f40999e09939fd015cd203aa053 (patch)
tree2393e0bd29ba1a8b2374dc98cb9852b6ef075290
parentregulator: Allow init_data to be passed to fixed voltage regulators (diff)
downloadkernel-qcow2-linux-a9cb63b2a1768f40999e09939fd015cd203aa053.tar.gz
kernel-qcow2-linux-a9cb63b2a1768f40999e09939fd015cd203aa053.tar.xz
kernel-qcow2-linux-a9cb63b2a1768f40999e09939fd015cd203aa053.zip
regulator: Make fixed voltage regulators visible in Kconfig
This allows users to enable or disable support for these regulators at build time as they can for other regulators rather than having platforms force the regulators to be built in. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
-rw-r--r--drivers/regulator/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index e7e0cf102d6d..85a1f407e755 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -29,8 +29,12 @@ config REGULATOR_DEBUG
Say yes here to enable debugging support.
config REGULATOR_FIXED_VOLTAGE
- tristate
+ tristate "Fixed voltage regulator support"
default n
+ help
+ This driver provides support for fixed voltage regulators,
+ useful for systems which use a combination of software
+ managed regulators and simple non-configurable regulators.
config REGULATOR_VIRTUAL_CONSUMER
tristate "Virtual regulator consumer support"