From: Pascal Paillet 
Date: Fri, 5 Jul 2024 13:45:54 +0000 (+0200)
Subject: arm64: stm32: enable scmi regulator for stm32
X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=e9a316affb9a80db824c436d9298a01eeff185cb;p=users%2Fdwmw2%2Flinux.git
arm64: stm32: enable scmi regulator for stm32
Add SCMI ARM REGULATOR configuration for stm32.
Signed-off-by: Pascal Paillet 
Signed-off-by: Alexandre Torgue 
Acked-by: Mark Brown 
Link: https://lore.kernel.org/r/20240705134554.2833835-1-alexandre.torgue@foss.st.com
Signed-off-by: Arnd Bergmann 
---
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index a52618073de2f..3738a9fc2d6c2 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -312,6 +312,8 @@ config ARCH_STM32
 	select STM32_EXTI
 	select ARM_SMC_MBOX
 	select ARM_SCMI_PROTOCOL
+	select REGULATOR
+	select REGULATOR_ARM_SCMI
 	select COMMON_CLK_SCMI
 	select STM32_FIREWALL
 	help