[RESEND PATCH v3 00/11] Introduce STM32MP1 RCC in secured mode

From: gabriel.fernandez
Date: Thu Jun 17 2021 - 01:18:58 EST


From: Gabriel Fernandez <gabriel.fernandez@xxxxxxxxxxx>

Platform STM32MP1 can be used in configuration where some clocks and
IP resets can relate as secure resources.
These resources are moved from a RCC clock/reset handle to a SCMI
clock/reset_domain handle.

The RCC clock driver is now dependent of the SCMI driver, then we have
to manage now the probe defering.

v2 -> v3:
- use determine_rate op instead of round_rate for ck_rtc
- remove DT patches from patchset to keek Kernel device tree as there are in basic boot.
We will applied scmi clock phandle thanks dtbo in U-boot.
v1 -> v2:
- fix yamllint warnings.

Gabriel Fernandez (11):
clk: stm32mp1: merge 'clk-hsi-div' and 'ck_hsi' into one clock
clk: stm32mp1: merge 'ck_hse_rtc' and 'ck_rtc' into one clock
clk: stm32mp1: remove intermediate pll clocks
clk: stm32mp1: convert to module driver
clk: stm32mp1: move RCC reset controller into RCC clock driver
reset: stm32mp1: remove stm32mp1 reset
dt-bindings: clock: add IDs for SCMI clocks on stm32mp15
dt-bindings: reset: add IDs for SCMI reset domains on stm32mp15
dt-bindings: reset: add MCU HOLD BOOT ID for SCMI reset domains on
stm32mp15
dt-bindings: clock: stm32mp1 new compatible for secure rcc
clk: stm32mp1: new compatible for secure RCC support

.../bindings/clock/st,stm32mp1-rcc.yaml | 6 +-
drivers/clk/Kconfig | 10 +
drivers/clk/clk-stm32mp1.c | 500 +++++++++++++++---
drivers/reset/Kconfig | 6 -
drivers/reset/Makefile | 1 -
drivers/reset/reset-stm32mp1.c | 115 ----
include/dt-bindings/clock/stm32mp1-clks.h | 27 +
include/dt-bindings/reset/stm32mp1-resets.h | 15 +
8 files changed, 469 insertions(+), 211 deletions(-)
delete mode 100644 drivers/reset/reset-stm32mp1.c

--
2.17.1