summaryrefslogtreecommitdiff
path: root/drivers/power/regulator/Kconfig
diff options
context:
space:
mode:
authorChristoph Muellner <christoph.muellner@theobroma-systems.com>2019-01-02 15:09:16 +0100
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2019-01-02 22:38:09 +0100
commitddc824f89aa81d2e6749a9c6967eeb70a2fcdbb1 (patch)
treea0321b5330df4c9d68bf102b3930a0756de71471 /drivers/power/regulator/Kconfig
parent00268e68667349ad30783523838b0bd49abe7c70 (diff)
power: regulator: Allow PWM regulator to be omitted from SPL.
This patch allows to enable the PWM regulator driver independent for U-Boot and SPL. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/power/regulator/Kconfig')
-rw-r--r--drivers/power/regulator/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig
index 09b311de8b..3ed0dd2264 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -61,6 +61,13 @@ 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 REGULATOR_PWM
+ help
+ This config enables implementation of driver-model regulator uclass
+ features for PWM regulators in SPL.
+
config DM_REGULATOR_MAX77686
bool "Enable Driver Model for REGULATOR MAX77686"
depends on DM_REGULATOR && DM_PMIC_MAX77686