diff options
| author | Tom Rini <[email protected]> | 2025-10-03 14:39:24 -0600 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-10-10 10:59:41 +0800 |
| commit | 2a846e04c62297a909fc2828d9e0fe87dc0269cf (patch) | |
| tree | 52d71e78bf9c93f5510cb7aaf9a7d11246285a9a /drivers/power | |
| parent | 6304cfa5a7ea57725700556f8f64197a75f93066 (diff) | |
power: regulator: Correct dependencies on SPL_REGULATOR_PWM
In order to enable and build with SPL_REGULATOR_PWM we need to have both
SPL_DM_REGULATOR and SPL_DM_PWM enabled. Build-wise, we can have SPL
have PWM regulator support without enabling it in U-Boot itself so drop
that dependency.
Signed-off-by: Tom Rini <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'drivers/power')
| -rw-r--r-- | drivers/power/regulator/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index 65b99e89656..1875e61967c 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -143,7 +143,7 @@ config REGULATOR_PWM config SPL_REGULATOR_PWM bool "Enable Driver for PWM regulators in SPL" - depends on REGULATOR_PWM && SPL + depends on SPL_DM_REGULATOR && SPL && SPL_DM_PWM help This config enables implementation of driver-model regulator uclass features for PWM regulators in SPL. |
