aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorGravatar Konrad Dybcio <konrad.dybcio@linaro.org> 2023-07-03 20:15:55 +0200
committerGravatar Mark Brown <broonie@kernel.org> 2023-07-09 22:48:50 +0100
commit7cbfbe23796086fdb72b681e2c182b02acd36a04 (patch)
tree33ced0a4e55e111c9d783dc69716729cc0785522 /drivers/regulator/Kconfig
parentdt-bindings: regulator: Describe Qualcomm REFGEN regulator (diff)
downloadlinux-7cbfbe23796086fdb72b681e2c182b02acd36a04.tar.gz
linux-7cbfbe23796086fdb72b681e2c182b02acd36a04.tar.bz2
linux-7cbfbe23796086fdb72b681e2c182b02acd36a04.zip
regulator: Introduce Qualcomm REFGEN regulator driver
Modern Qualcomm SoCs have a REFGEN (reference voltage generator) regulator, providing reference voltage to on-chip IP, like PHYs. Add a driver to support toggling that regulator. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230628-topic-refgen-v3-2-9fbf0e605d23@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/Kconfig')
-rw-r--r--drivers/regulator/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 823f8e6e4801..18a05b09406f 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -989,6 +989,17 @@ config REGULATOR_PWM
This driver supports PWM controlled voltage regulators. PWM
duty cycle can increase or decrease the voltage.
+config REGULATOR_QCOM_REFGEN
+ tristate "Qualcomm REFGEN regulator driver"
+ depends on HAS_IOMEM
+ depends on REGMAP
+ help
+ This driver supports the MMIO-mapped reference voltage regulator,
+ used internally by some PHYs on many Qualcomm SoCs.
+
+ Say M here if you want to include support for this regulator as
+ a module. The module will be named "qcom-refgen-regulator".
+
config REGULATOR_QCOM_RPM
tristate "Qualcomm RPM regulator driver"
depends on MFD_QCOM_RPM