aboutsummaryrefslogtreecommitdiff
path: root/drivers/power/regulator/Kconfig
diff options
context:
space:
mode:
authorPhilipp Tomsich2017-09-29 19:28:02 +0200
committerPhilipp Tomsich2017-10-01 00:33:35 +0200
commit9086eab8fea5f6b41de1f6ab1313f3acf3f3db76 (patch)
treea17fc0f65995ae48a371bd6ed6cfd24dcef6df3d /drivers/power/regulator/Kconfig
parent482cf22333dbfb7c706d6a7ec1ffbfa5409cc6a3 (diff)
power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig
The Makefile already tests for SPL_DM_REGULATOR_FIXED, but Kconfig does not provide it. This adds SPL_DM_REGULATOR_FIXED to Kconfig. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
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 2cfade1cb2d..8892fa14e02 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -77,6 +77,13 @@ config DM_REGULATOR_FIXED
features for fixed value regulators. The driver implements get/set api
for enable and get only for voltage value.
+config SPL_DM_REGULATOR_FIXED
+ bool "Enable Driver Model for REGULATOR Fixed value in SPL"
+ depends on DM_REGULATOR_FIXED
+ ---help---
+ This config enables implementation of driver-model regulator uclass
+ features for fixed value regulators in SPL.
+
config DM_REGULATOR_GPIO
bool "Enable Driver Model for GPIO REGULATOR"
depends on DM_REGULATOR