Skip to contentSkip to conversation

Enable stm32_pwr regulator driver for stm32mp157

PATCH In review Pascal Paillet 2 participants 4 messages Oct 24, 2019 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

cover Enable stm32_pwr regulator driver for stm32mp157

Enable the STM32 PWR regulator driver for stm32mp157 machine.

Pascal Paillet (1):
regulator: stm32_pwr: Enable driver for stm32mp157

 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 regulator: stm32_pwr: Enable driver for stm32mp157

Enable stm32 pwr regulators for stm32mp157 machine.

---
 drivers/regulator/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/regulator/Kconfig +1 -0
index 3ee63531f6d5..ed10f4f46fdf 100644
@@ -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.
Signature · 1 line
2.17.1
maintainer
#2 lore raw

Re: [PATCH 1/1] regulator: stm32_pwr: Enable driver for stm32mp157

drivers/regulator/Kconfig config REGULATOR_STM32_VREFBUF · line 879

Quoted 6 lines · Pascal Paillet
drivers/regulator/Kconfig +1 -0
@@ -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 isn't the sort of stuff we usually put in Kconfig, we usually just leave it in the defconfig - why do things differently here?

maintainer
#3 lore raw
In reply to Pascal Paillet
Quoted 1 line · Pascal Paillet

Enable the STM32 PWR regulator driver for stm32mp157 machine.

Please don't send cover letters for single patches, if there is anything that needs saying put it in the changelog of the patch or after the --- if it's administrative stuff. This reduces mail volume and ensures that any important information is recorded in the changelog rather than being lost.