arm-trusted-firmware/plat/st/stm32mp1
Etienne Carriere fdaaaeb431 stm32mp1: SCMI clock and reset service in SP_MIN
This change implements platform services for stm32mp1 to expose clock
and reset controllers over SCMI clock and reset domain protocols
in sp_min firmware.

Requests execution use a fastcall SMC context using a SiP function ID.
The setup allows the create SCMI channels by assigning a specific
SiP SMC function ID for each channel/agent identifier defined. In this
change, stm32mp1 exposes a single channel and hence expects single
agent at a time.

The input payload in copied in secure memory before the message
in passed through the SCMI server drivers. BL32/sp_min is invoked
for a single SCMI message processing and always returns with a
synchronous response message passed back to the caller agent.

This change fixes and updates STM32_COMMON_SIP_NUM_CALLS that was
previously wrongly set 4 whereas only 1 SiP SMC function ID was to
be counted. STM32_COMMON_SIP_NUM_CALLS is now set to 3 since the
2 added SiP SMC function IDs for SCMI services.

Change-Id: Icb428775856b9aec00538172aea4cf11e609b033
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
2020-07-16 17:36:18 +02:00
..
include stm32mp1: SCMI clock and reset service in SP_MIN 2020-07-16 17:36:18 +02:00
services stm32mp1: SCMI clock and reset service in SP_MIN 2020-07-16 17:36:18 +02:00
sp_min stm32mp1: SCMI clock and reset service in SP_MIN 2020-07-16 17:36:18 +02:00
bl2_plat_setup.c drivers: stm32_reset adapt interface to timeout argument 2020-06-01 08:38:20 +02:00
plat_bl2_mem_params_desc.c stm32mp1: add OP-TEE support 2019-04-23 13:34:12 +02:00
plat_image_load.c stm32mp1: dynamically map DDR later and non-cacheable during its test 2020-03-26 18:33:39 +01:00
platform.mk stm32mp1: disable neon in sp_min 2020-06-23 09:21:21 +02:00
stm32mp1.S stm32mp1: Link BL2, BL32 and DTB in one binary 2018-07-24 17:18:41 +02:00
stm32mp1.ld.S stm32mp1: add OP-TEE support 2019-04-23 13:34:12 +02:00
stm32mp1_boot_device.c Enable -Wredundant-decls warning check 2020-01-28 11:09:02 -06:00
stm32mp1_context.c stm32mp1: update clock driver 2019-02-14 11:20:23 +01:00
stm32mp1_dbgmcu.c stm32mp1: print information about SoC 2019-09-02 17:49:30 +02:00
stm32mp1_def.h stm32mp1: SCMI clock and reset service in SP_MIN 2020-07-16 17:36:18 +02:00
stm32mp1_gic.c stm32mp1: split code between common and private parts 2019-02-14 11:20:23 +01:00
stm32mp1_helper.S stm32mp1: remove some dependencies on clocks and reset in drivers 2019-02-14 11:20:23 +01:00
stm32mp1_pm.c stm32mp1: check stronger the secondary CPU entry point 2020-06-23 09:21:56 +02:00
stm32mp1_private.c stm32mp1: use last page of SYSRAM as SCMI shared memory 2020-06-23 09:22:45 +02:00
stm32mp1_scmi.c stm32mp1: SCMI clock and reset service in SP_MIN 2020-07-16 17:36:18 +02:00
stm32mp1_security.c stm32mp1: use stm32mp_get_ddr_ns_size() function 2020-03-26 18:34:01 +01:00
stm32mp1_shared_resources.c stm32mp1: register shared resource per GPIO bank/pin 2020-07-08 12:56:09 +02:00
stm32mp1_stack_protector.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_syscfg.c stm32mp1: add general SYSCFG management 2019-06-17 14:03:51 +02:00
stm32mp1_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00