diff options
| author | Quentin Schulz <[email protected]> | 2025-12-12 19:13:20 +0100 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-12-24 12:06:45 +0800 |
| commit | 8d3e8af93649f4b2d8e00475695bdf59545fd589 (patch) | |
| tree | 2eb252ab657b16c1bc538a8de6b2d93f958120b7 /drivers/power | |
| parent | 2c01c4b72064e8832ab1076c0384ff52aab8cd7d (diff) | |
power: regulator: remove SPL_REGULATOR_PWM due to unmeetable SPL_DM_PWM dependency
SPL_DM_PWM option simply doesn't exist. Moreover, drivers/pwm is only
included by drivers/Makefile for non-xPL stages so making
SPL_REGULATOR_PWM properly build for SPL/xPL is more involved than just
adding an SPL_DM_PWM option.
Reading the original commit (ddc824f89aa8 ("power: regulator: Allow PWM
regulator to be omitted from SPL."), the intent seemingly wasn't to
allow building support in XPL but rather to allow removing it which is
done by using $(PHASE_) ($(SPL_) at that time) in the Makefile. If
anyone needs that, let them figure out what they need to do without
misleading potential users of this symbol by simply removing it.
Fixes: 2a846e04c622 ("power: regulator: Correct dependencies on SPL_REGULATOR_PWM")
Signed-off-by: Quentin Schulz <[email protected]>
Reviewed-by: Anshul Dalal <[email protected]>
Reviewed-by: Kory Maincent <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'drivers/power')
| -rw-r--r-- | drivers/power/regulator/Kconfig | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index d6b451ca407..124b0b34c41 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -141,13 +141,6 @@ config REGULATOR_PWM This driver is controlled by a device tree node which includes voltage limits. -config SPL_REGULATOR_PWM - bool "Enable Driver for PWM regulators in 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. - config DM_REGULATOR_MAX8907 bool "Enable Driver Model for REGULATOR MAX8907" depends on DM_REGULATOR && DM_PMIC_MAX8907 |
