2019-10-25 18:08:37

by Pascal Paillet

[permalink] [raw]
Subject: [PATCH 0/1] 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(+)

--
2.17.1


2019-10-25 18:08:38

by Pascal Paillet

[permalink] [raw]
Subject: [PATCH 1/1] regulator: stm32_pwr: Enable driver for stm32mp157

Enable stm32 pwr regulators for stm32mp157 machine.

Signed-off-by: Pascal Paillet <[email protected]>
---
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

2019-10-25 18:57:27

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH 0/1] Enable stm32_pwr regulator driver for stm32mp157

On Thu, Oct 24, 2019 at 05:41:20PM +0200, Pascal Paillet wrote:

> 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.


Attachments:
(No filename) (438.00 B)
signature.asc (499.00 B)
Download all attachments

2019-10-25 18:57:30

by Mark Brown

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

On Thu, Oct 24, 2019 at 05:41:21PM +0200, Pascal Paillet wrote:

> @@ -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?


Attachments:
(No filename) (411.00 B)
signature.asc (499.00 B)
Download all attachments