[Linux-stm32] [PATCH 1/1] regulator: stm32_pwr: Enable driver for stm32mp157

Pascal Paillet p.paillet at st.com
Thu Oct 24 15:41:21 UTC 2019


Enable stm32 pwr regulators for stm32mp157 machine.

Signed-off-by: Pascal Paillet <p.paillet at st.com>
---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 3ee63531f6d5..ed10f4f46fdf 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -875,6 +875,7 @@ config REGULATOR_STM32_VREFBUF
 config REGULATOR_STM32_PWR
 	bool "STMicroelectronics STM32 PWR"
 	depends on ARCH_STM32 || COMPILE_TEST
+	default MACH_STM32MP157
 	help
 	  This driver supports internal regulators (1V1, 1V8, 3V3) in the
 	  STMicroelectronics STM32 chips.
-- 
2.17.1




More information about the Linux-stm32 mailing list