diff options
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/power/regulator/Kconfig | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig index 1875e61967c..c6da459a212 100644 --- a/drivers/power/regulator/Kconfig +++ b/drivers/power/regulator/Kconfig @@ -133,7 +133,7 @@ config DM_REGULATOR_PFUZE100 config REGULATOR_PWM bool "Enable driver for PWM regulators" - depends on DM_REGULATOR + depends on DM_REGULATOR && DM_PWM ---help--- Enable support for the PWM regulator functions which voltage are controlled by PWM duty ratio. Some of Rockchip board using this kind @@ -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 @@ -249,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 |
