U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] power: spl: add SPL_DM_REGULATOR_GPIO in Kconfig
@ 2018-10-24 15:36 Lokesh Vutla
  2018-11-02 20:30 ` [U-Boot] " Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Lokesh Vutla @ 2018-10-24 15:36 UTC (permalink / raw)
  To: u-boot

The Makefile already tests for SPL_DM_REGULATOR_GPIO, but Kconfig
does not provide it. This adds SPL_DM_REGULATOR_GPIO to Kconfig.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 drivers/power/regulator/Kconfig | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/drivers/power/regulator/Kconfig b/drivers/power/regulator/Kconfig
index 414f4a53f7..2561a8a856 100644
--- a/drivers/power/regulator/Kconfig
+++ b/drivers/power/regulator/Kconfig
@@ -86,12 +86,19 @@ config SPL_DM_REGULATOR_FIXED
 
 config DM_REGULATOR_GPIO
 	bool "Enable Driver Model for GPIO REGULATOR"
-	depends on DM_REGULATOR
+	depends on DM_REGULATOR && DM_GPIO
 	---help---
 	This config enables implementation of driver-model regulator uclass
 	features for gpio regulators. The driver implements get/set for
 	voltage value.
 
+config SPL_DM_REGULATOR_GPIO
+	bool "Enable Driver Model for GPIO REGULATOR in SPL"
+	depends on DM_REGULATOR_GPIO && SPL_GPIO_SUPPORT
+	---help---
+	This config enables implementation of driver-model regulator uclass
+	features for gpio regulators in SPL.
+
 config REGULATOR_RK8XX
 	bool "Enable driver for RK8XX regulators"
 	depends on DM_REGULATOR && PMIC_RK8XX
-- 
2.19.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-02 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-24 15:36 [U-Boot] [PATCH] power: spl: add SPL_DM_REGULATOR_GPIO in Kconfig Lokesh Vutla
2018-11-02 20:30 ` [U-Boot] " Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox