Linux SOC development
 help / color / mirror / Atom feed
* [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support
@ 2023-11-03  8:54 Etienne Carriere
  2023-11-21  9:19 ` Alexandre TORGUE
  2023-12-06 17:17 ` patchwork-bot+linux-soc
  0 siblings, 2 replies; 4+ messages in thread
From: Etienne Carriere @ 2023-11-03  8:54 UTC (permalink / raw)
  To: linux-kernel
  Cc: Arnd Bergmann, Olof Johansson, Kevin Hilman, Alexandre Torgue,
	soc, arm, Etienne Carriere

SCMI reset controllers are used in the ARMv7 STMicroelectronics stm32mp
boards:
- for STM32MP13: stm32mp135f-dk
- for STM32MP15 boards with SCMI variant, introduced by commit 5b7e58313a77
  ("ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")
  * stm32mp157c-ev1-scmi
  * stm32mp157c-ed1-scmi
  * stm32mp157c-dk2-scmi
  * stm32mp157a-dk1-scmi

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
---
 arch/arm/configs/multi_v7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 23fc49f23d25..01b3797f9317 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -1189,6 +1189,7 @@ CONFIG_PWM_TEGRA=y
 CONFIG_PWM_VT8500=y
 CONFIG_KEYSTONE_IRQ=y
 CONFIG_RESET_MCHP_SPARX5=y
+CONFIG_RESET_SCMI=y
 CONFIG_PHY_SUN4I_USB=y
 CONFIG_PHY_SUN9I_USB=y
 CONFIG_PHY_BRCM_USB=m
-- 
2.25.1


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

* Re: [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support
  2023-11-03  8:54 [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support Etienne Carriere
@ 2023-11-21  9:19 ` Alexandre TORGUE
  2023-11-21 15:05   ` Etienne CARRIERE - foss
  2023-12-06 17:17 ` patchwork-bot+linux-soc
  1 sibling, 1 reply; 4+ messages in thread
From: Alexandre TORGUE @ 2023-11-21  9:19 UTC (permalink / raw)
  To: Etienne Carriere, linux-kernel
  Cc: Arnd Bergmann, Olof Johansson, Kevin Hilman, soc, arm

Hi Etienne

On 11/3/23 09:54, Etienne Carriere wrote:
> SCMI reset controllers are used in the ARMv7 STMicroelectronics stm32mp
> boards:
> - for STM32MP13: stm32mp135f-dk
> - for STM32MP15 boards with SCMI variant, introduced by commit 5b7e58313a77
>    ("ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")
>    * stm32mp157c-ev1-scmi
>    * stm32mp157c-ed1-scmi
>    * stm32mp157c-dk2-scmi
>    * stm32mp157a-dk1-scmi
> 
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
> Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
> ---
>   arch/arm/configs/multi_v7_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> index 23fc49f23d25..01b3797f9317 100644
> --- a/arch/arm/configs/multi_v7_defconfig
> +++ b/arch/arm/configs/multi_v7_defconfig
> @@ -1189,6 +1189,7 @@ CONFIG_PWM_TEGRA=y
>   CONFIG_PWM_VT8500=y
>   CONFIG_KEYSTONE_IRQ=y
>   CONFIG_RESET_MCHP_SPARX5=y
> +CONFIG_RESET_SCMI=y
>   CONFIG_PHY_SUN4I_USB=y
>   CONFIG_PHY_SUN9I_USB=y
>   CONFIG_PHY_BRCM_USB=m

Just one question before to apply this patch. CONFIG_RESET_SCMI is set 
by the following dependency in drivers/reset/Kconfig:

RESET_CONTROLLER [=y] && (ARM_SCMI_PROTOCOL [=y] || COMPILE_TEST [=n])

CONFIG_ARM_SCMI is already set in multi_v7_defconfig.
CONFIG_RESET_CONTROLLER seems to be set in each platform Kconfig.

So not sure we need to force CONFIG_RESET_SCMI in the multi_v7_defconfig.

Regards
Alex

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

* Re: [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support
  2023-11-21  9:19 ` Alexandre TORGUE
@ 2023-11-21 15:05   ` Etienne CARRIERE - foss
  0 siblings, 0 replies; 4+ messages in thread
From: Etienne CARRIERE - foss @ 2023-11-21 15:05 UTC (permalink / raw)
  To: Alexandre TORGUE - foss, linux-kernel@vger.kernel.org
  Cc: Arnd Bergmann, Olof Johansson, Kevin Hilman, soc@kernel.org,
	arm@kernel.org

Hi Alexandre,

> From: Alexandre TORGUE - foss
> Sent: Tuesday, November 21, 2023 10:19 AM
> 
> Hi Etienne
> 
> On 11/3/23 09:54, Etienne Carriere wrote:
> > SCMI reset controllers are used in the ARMv7 STMicroelectronics stm32mp
> > boards:
> > - for STM32MP13: stm32mp135f-dk
> > - for STM32MP15 boards with SCMI variant, introduced by commit 5b7e58313a77
> >    ("ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")
> >    * stm32mp157c-ev1-scmi
> >    * stm32mp157c-ed1-scmi
> >    * stm32mp157c-dk2-scmi
> >    * stm32mp157a-dk1-scmi
> >
> > Cc: Arnd Bergmann <arnd@arndb.de>
> > Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
> > Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
> > ---
> >   arch/arm/configs/multi_v7_defconfig | 1 +
> >   1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
> > index 23fc49f23d25..01b3797f9317 100644
> > --- a/arch/arm/configs/multi_v7_defconfig
> > +++ b/arch/arm/configs/multi_v7_defconfig
> > @@ -1189,6 +1189,7 @@ CONFIG_PWM_TEGRA=y
> >   CONFIG_PWM_VT8500=y
> >   CONFIG_KEYSTONE_IRQ=y
> >   CONFIG_RESET_MCHP_SPARX5=y
> > +CONFIG_RESET_SCMI=y
> >   CONFIG_PHY_SUN4I_USB=y
> >   CONFIG_PHY_SUN9I_USB=y
> >   CONFIG_PHY_BRCM_USB=m
> 
> Just one question before to apply this patch. CONFIG_RESET_SCMI is set
> by the following dependency in drivers/reset/Kconfig:
> 
> RESET_CONTROLLER [=y] && (ARM_SCMI_PROTOCOL [=y] || COMPILE_TEST [=n])
> 
> CONFIG_ARM_SCMI is already set in multi_v7_defconfig.
> CONFIG_RESET_CONTROLLER seems to be set in each platform Kconfig.
> 
> So not sure we need to force CONFIG_RESET_SCMI in the multi_v7_defconfig.

My bad. Thanks for noticing that to me. Indeed the default directive in
drivers/reset/Kconfig together with arm/multi_v7_defconfig makes CONFIG_RESET_SCMI
be enabled.

Sorry for the noise, you can discard my patch request.

Best regards,
Etienne


> 
> Regards
> Alex
> 

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

* Re: [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support
  2023-11-03  8:54 [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support Etienne Carriere
  2023-11-21  9:19 ` Alexandre TORGUE
@ 2023-12-06 17:17 ` patchwork-bot+linux-soc
  1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+linux-soc @ 2023-12-06 17:17 UTC (permalink / raw)
  To: Etienne CARRIERE - foss; +Cc: soc

Hello:

This patch was applied to soc/soc.git (for-next)
by Arnd Bergmann <arnd@arndb.de>:

On Fri, 3 Nov 2023 09:54:00 +0100 you wrote:
> SCMI reset controllers are used in the ARMv7 STMicroelectronics stm32mp
> boards:
> - for STM32MP13: stm32mp135f-dk
> - for STM32MP15 boards with SCMI variant, introduced by commit 5b7e58313a77
>   ("ARM: dts: stm32: Add SCMI version of STM32 boards (DK1/DK2/ED1/EV1)")
>   * stm32mp157c-ev1-scmi
>   * stm32mp157c-ed1-scmi
>   * stm32mp157c-dk2-scmi
>   * stm32mp157a-dk1-scmi
> 
> [...]

Here is the summary with links:
  - ARM: multi_v7_defconfig: Add SCMI reset support
    https://git.kernel.org/soc/soc/c/e88b859cab4b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2023-12-06 17:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03  8:54 [PATCH] ARM: multi_v7_defconfig: Add SCMI reset support Etienne Carriere
2023-11-21  9:19 ` Alexandre TORGUE
2023-11-21 15:05   ` Etienne CARRIERE - foss
2023-12-06 17:17 ` patchwork-bot+linux-soc

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