arm-trusted-firmware/drivers/st
Yann Gautier aaa09b713c feat(st-clock): define secure and non-secure gate clocks
Array stm32mp1_clk_gate[] defines the clock resources. This change
add a secure attribute to the clock: secure upon RCC[TZEN] (SEC),
secure upon RCC[TZEN] and RCC[MCKPROT] (MKP) or always accessible
from non-secure (N_S).

At init, lookup clock tree to check if any of the secure clocks
is derived from PLL3 in which case PLL3 shall be secure.

Note that this change does not grow byte size of stm32mp1_clk_gate[].

Change-Id: I933d8a30007f3c72f755aa1ef6d7e6bcfabbfa9e
Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
Signed-off-by: Yann Gautier <yann.gautier@st.com>
2022-01-27 18:06:36 +01:00
..
bsec bsec: move bsec_mode_is_closed_device() service to platform 2019-09-20 23:21:10 +02:00
clk feat(st-clock): define secure and non-secure gate clocks 2022-01-27 18:06:36 +01:00
crypto feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
ddr fix(st-ddr): add missing debug.h 2022-01-19 15:13:18 +01:00
etzpc drivers: introduce ST ETZPC driver 2020-06-03 15:53:46 +02:00
fmc feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
gpio feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
i2c feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
io Merge changes from topic "io_stm32image" into integration 2021-06-18 15:40:20 +02:00
iwdg feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
mmc fix(st-sdmmc2): check regulator enable/disable return 2022-01-04 15:25:04 +01:00
pmic refactor(st-pmic): use regulator framework for DDR init 2021-12-22 14:04:32 +01:00
regulator feat(st-drivers): introduce fixed regulator driver 2021-12-22 14:04:32 +01:00
reset drivers: stm32_reset adapt interface to timeout argument 2020-06-01 08:38:20 +02:00
spi feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
uart feat(drivers/st/uart): add uart driver for STM32MP1 2021-12-03 09:26:11 +01:00
usb feat(drivers/st/usb): add device driver for STM32MP1 2021-10-29 16:43:43 +02:00