summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/Kconfig
diff options
context:
space:
mode:
authorWesley Cheng <wcheng@codeaurora.org>2020-06-26 11:55:14 -0700
committerMark Brown <broonie@kernel.org>2020-07-01 18:07:15 +0100
commit4fe66d5a62fbe1b050e783e7a01f986632c08c44 (patch)
treef47c225b18480c5ddc6a0b9748e4be42fb65f53a /drivers/regulator/Kconfig
parentbfa29acd18e53ff44135f2eae2b942419a8582cc (diff)
downloadlinux-4fe66d5a62fbe1b050e783e7a01f986632c08c44.tar.gz
linux-4fe66d5a62fbe1b050e783e7a01f986632c08c44.tar.bz2
linux-4fe66d5a62fbe1b050e783e7a01f986632c08c44.zip
regulator: Add support for QCOM PMIC VBUS booster
Some Qualcomm PMICs have the capability to source the VBUS output to connected peripherals. This driver will register a regulator to the regulator list to enable or disable this source by an external driver. Signed-off-by: Wesley Cheng <wcheng@codeaurora.org> Link: https://lore.kernel.org/r/20200626185516.18018-5-wcheng@codeaurora.org Signed-off-by: Mark Brown <broonie@kernel.org>
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 c398e90e0e73..a63e02b7034d 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -836,6 +836,16 @@ config REGULATOR_QCOM_SPMI
Qualcomm SPMI PMICs as a module. The module will be named
"qcom_spmi-regulator".
+config REGULATOR_QCOM_USB_VBUS
+ tristate "Qualcomm USB Vbus regulator driver"
+ depends on SPMI || COMPILE_TEST
+ help
+ If you say yes to this option, support will be included for the
+ regulator used to enable the VBUS output.
+
+ Say M here if you want to include support for enabling the VBUS output
+ as a module. The module will be named "qcom_usb_vbus_regulator".
+
config REGULATOR_RC5T583
tristate "RICOH RC5T583 Power regulators"
depends on MFD_RC5T583