[RESEND PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks
From: gabriel.fernandez
Date: Wed May 29 2024 - 09:15:16 EST
From: Gabriel Fernandez <gabriel.fernandez@xxxxxxxxxxx>
Use an STM32 access controller to filter the registration of clocks.
Don't register a clock if this clock is secured or declared as shared (this
clock is generally managed by the security world).
This series depends on the stm32_firewall framework (merged since
next-20240419) notably for the include file 'linux/bus/stm32_firewall_device.h'.
Changes in v2:
- rebased on next-20240514
- YAML patch was apllied on next
- use appropriate include
- manage the case if 'access-contoller' property is not present in the DT
- rename DT patch (RCC support part was merged)
Gabriel Fernandez (3):
clk: stm32mp2: use of STM32 access controller
clk: stm32mp25: add security clocks
arm64: dts: st: enable STM32 access controller for RCC
arch/arm64/boot/dts/st/stm32mp251.dtsi | 1 +
drivers/clk/stm32/clk-stm32-core.c | 2 +-
drivers/clk/stm32/clk-stm32-core.h | 2 +-
drivers/clk/stm32/clk-stm32mp13.c | 2 +-
drivers/clk/stm32/clk-stm32mp25.c | 516 +++++++++++++++----------
5 files changed, 325 insertions(+), 198 deletions(-)
--
2.25.1