mbox series

[0/4] Use STM32 access controller for STM32MP25 clocks

Message ID 20240419152723.570159-1-gabriel.fernandez@foss.st.com (mailing list archive)
Headers show
Series Use STM32 access controller for STM32MP25 clocks | expand

Message

Gabriel FERNANDEZ April 19, 2024, 3:27 p.m. UTC
From: Gabriel Fernandez <gabriel.fernandez@foss.st.com>

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).

Gabriel Fernandez (4):
  dt-bindings: clocks: stm32mp25: add access-controllers description
  clk: stm32mp2: use of STM32 access controller
  clk: stm32mp25: add security clocks
  arm64: dts: st: add rcc support for STM32MP25

 .../bindings/clock/st,stm32mp25-rcc.yaml      |   4 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi        | 145 +++--
 arch/arm64/boot/dts/st/stm32mp255.dtsi        |   4 +-
 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             | 509 +++++++++++-------
 7 files changed, 432 insertions(+), 236 deletions(-)