[RESEND PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks

gabriel.fernandez@foss.st.com posted 3 patches 1 year, 6 months ago
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(-)
[RESEND PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks
Posted by gabriel.fernandez@foss.st.com 1 year, 6 months ago
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).

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