]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
power: regulator: qcom: Correct dependenecies for DM_REGULATOR_QCOM_USB_VBUS
authorTom Rini <trini@konsulko.com>
Mon, 23 Mar 2026 19:53:02 +0000 (13:53 -0600)
committerCasey Connolly <casey.connolly@linaro.org>
Tue, 24 Mar 2026 10:42:19 +0000 (11:42 +0100)
The DM_REGULATOR_QCOM_USB_VBUS functionality can only work with DM_PMIC
enabled as well, so express this dependency in Kconfig.

Signed-off-by: Tom Rini <trini@konsulko.com>
Link: https://patch.msgid.link/20260323195302.2363577-1-trini@konsulko.com
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/power/regulator/Kconfig

index bd9ccd26981a7b0c15e3d6b6d95530a8da02a0a6..d8b3e0f62e650fcc8d109087bd5e21a7136432b1 100644 (file)
@@ -236,7 +236,7 @@ config DM_REGULATOR_QCOM_RPMH
 
 config DM_REGULATOR_QCOM_USB_VBUS
        bool "Enable driver model for Qualcomm USB vbus regulator"
-       depends on DM_REGULATOR
+       depends on DM_REGULATOR && DM_PMIC
        ---help---
          Enable support for the Qualcomm USB Vbus regulator. The driver
          implements get/set api for the regulator to be used by u-boot.