summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorMatthias Kaehlcke2017-04-07 21:51:58 +0200
committerMark Brown2017-04-10 18:30:40 +0200
commit9dee7a72d0c7cdfa2573c48b1e5f928c721d54d5 (patch)
treeef2cd230ca98ee074faf3698ddac6c7380d4b22e /drivers/regulator/Kconfig
parentMerge remote-tracking branches 'regulator/topic/tps65086' and 'regulator/topi... (diff)
downloadkernel-qcow2-linux-9dee7a72d0c7cdfa2573c48b1e5f928c721d54d5.tar.gz
kernel-qcow2-linux-9dee7a72d0c7cdfa2573c48b1e5f928c721d54d5.tar.xz
kernel-qcow2-linux-9dee7a72d0c7cdfa2573c48b1e5f928c721d54d5.zip
regulator: Add driver for voltage controlled regulators
The output voltage of a voltage controlled regulator can be controlled through the voltage of another regulator. The current version of this driver assumes that the output voltage is a linear function of the control voltage. Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 936f7ccc9736..da83a3abe288 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -843,6 +843,13 @@ config REGULATOR_TWL4030
This driver supports the voltage regulators provided by
this family of companion chips.
+config REGULATOR_VCTRL
+ tristate "Voltage controlled regulators"
+ depends on OF
+ help
+ This driver provides support for voltage regulators whose output
+ voltage is controlled by the voltage of another regulator.
+
config REGULATOR_VEXPRESS
tristate "Versatile Express regulators"
depends on VEXPRESS_CONFIG