devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks
@ 2024-05-29 13:13 gabriel.fernandez
  2024-05-29 13:13 ` [RESEND PATCH v2 1/3] clk: stm32mp2: use of STM32 access controller gabriel.fernandez
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: gabriel.fernandez @ 2024-05-29 13:13 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Michael Turquette, Stephen Boyd, Maxime Ripard,
	Gabriel Fernandez, Dan Carpenter
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	linux-clk

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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks
@ 2024-05-16 15:24 gabriel.fernandez
  2024-05-16 15:24 ` [PATCH v2 3/3] arm64: dts: st: enable STM32 access controller for RCC gabriel.fernandez
  0 siblings, 1 reply; 8+ messages in thread
From: gabriel.fernandez @ 2024-05-16 15:24 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue, Michael Turquette, Stephen Boyd, Maxime Ripard,
	Gabriel Fernandez, Dan Carpenter
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	linux-clk

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-06-05  7:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-29 13:13 [RESEND PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks gabriel.fernandez
2024-05-29 13:13 ` [RESEND PATCH v2 1/3] clk: stm32mp2: use of STM32 access controller gabriel.fernandez
2024-06-03 21:36   ` Stephen Boyd
2024-05-29 13:13 ` [RESEND PATCH v2 2/3] clk: stm32mp25: add security clocks gabriel.fernandez
2024-06-03 21:36   ` Stephen Boyd
2024-05-29 13:13 ` [PATCH v2 3/3] arm64: dts: st: enable STM32 access controller for RCC gabriel.fernandez
2024-06-05  7:32   ` Alexandre TORGUE
  -- strict thread matches above, loose matches on Subject: below --
2024-05-16 15:24 [PATCH v2 0/3] Use STM32 access controller for STM32MP25 clocks gabriel.fernandez
2024-05-16 15:24 ` [PATCH v2 3/3] arm64: dts: st: enable STM32 access controller for RCC gabriel.fernandez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).