Re: [PATCH 4/4] ARM: multi_v7_defconfig: Add SCMI regulator support

From: Patrick DELAUNAY
Date: Wed Jul 26 2023 - 05:35:33 EST


Hi,

On 7/12/23 21:25, Krzysztof Kozlowski wrote:
On 12/07/2023 16:24, p.paillet@xxxxxxxxxxx wrote:
From: Pascal Paillet <p.paillet@xxxxxxxxxxx>

Enable ARM SCMI regulator support.

This we see from the diff. Please explain why, e.g. which boards use it.

Best regards,
Krzysztof


The STM32MP platforms rely on OP-TEE to boot: Clocks and regulators are handled in
the secure world by OP-TEE and exported to the non secure world (LINUX)
thanks to ARM SCMI protocol.

Today it is used in the ARMv7 STMicrolectronics stm32mp boards:
- for STM32MP13: stm32mp135f-dk
- the 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

This SCMI server provide access to "secured" resources protected in SoC
(for example with RCC_SECFGR); the resources need to be available early
for these board and the  SCMI server is associated with OP-TEE, already
activated by the commit 24c159793238  ("ARM: multi_v7_defconfig: Add
OPTEE support").

Regards

Patrick

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel