[PATCH] power: regulator: Fix dependency of SPL_DM_REGULATOR_GPIO

Peng Fan (OSS) peng.fan at oss.nxp.com
Thu Dec 11 11:01:19 CET 2025


From: Peng Fan <peng.fan at nxp.com>

gpio-regulator uses dm gpio API, so it depends on SPL_DM_GPIO, not
SPL_GPIO.

Reported-by: Tom Rini <trini at konsulko.com>
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 drivers/power/regulator/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig
index 1875e61967c..9a535126c7c 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -249,7 +249,7 @@ config DM_REGULATOR_QCOM_USB_VBUS
 
 config SPL_DM_REGULATOR_GPIO
 	bool "Enable Driver Model for GPIO REGULATOR in SPL"
-	depends on DM_REGULATOR_GPIO && SPL_GPIO
+	depends on DM_REGULATOR_GPIO && SPL_DM_GPIO
 	select SPL_DM_REGULATOR_COMMON
 	---help---
 	This config enables implementation of driver-model regulator uclass
-- 
2.51.0



More information about the U-Boot mailing list