]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
power: regulator: Fix dependency of SPL_DM_REGULATOR_GPIO
authorPeng Fan <peng.fan@nxp.com>
Thu, 11 Dec 2025 10:01:19 +0000 (18:01 +0800)
committerPeng Fan <peng.fan@nxp.com>
Wed, 24 Dec 2025 04:06:46 +0000 (12:06 +0800)
gpio-regulator uses dm gpio API, so it depends on SPL_DM_GPIO, not
SPL_GPIO.

Reported-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/power/regulator/Kconfig

index 124b0b34c4167a99d7abbf00e0c557cd588a5524..c6da459a212a0f8f3d4f50fdca1d00d2fc085ed6 100644 (file)
@@ -242,7 +242,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