Skip to contentSkip to conversation

power: regulator: qcom: Correct dependenecies for DM_REGULATOR_QCOM_USB_VBUS

PATCH Applied Tom Rini 2 participants 2 messages Mar 23 – Mar 24

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 power: regulator: qcom: Correct dependenecies for DM_REGULATOR_QCOM_USB_VBUS

The DM_REGULATOR_QCOM_USB_VBUS functionality can only work with DM_PMIC enabled as well, so express this dependency in Kconfig.

---
Cc: Casey Connolly <[email protected]>

---
 drivers/power/regulator/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/power/regulator/Kconfig +1 -1
index 4f39e46cebd5..a4ee5f1335ad 100644
@@ -244,7 +244,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.
Signature · 1 line
2.43.0