Searched hist:aaa09b713c6f539fb5b2ee7e2dfd75f2d46875f5 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/drivers/st/clk/ |
| H A D | stm32mp1_clk.c | aaa09b713c6f539fb5b2ee7e2dfd75f2d46875f5 Wed Oct 27 16:16:59 UTC 2021 Yann Gautier <yann.gautier@st.com> 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>
|