[PATCH v4 0/3] Introduce Clock and Reset Driver for STM32MP21 Platform

From: Gabriel Fernandez
Date: Mon Jun 02 2025 - 08:23:40 EST


This patchset implements a new driver to manage clock and reset functionalities
for the STM32MP21 platform.

Changes in v4:
- add missing fix : replace double '::' by ':' from dt-bindings documentation of STM32MP21
- Link to v3: https://lore.kernel.org/r/20250521-upstream_rcc_mp21-v3-0-cac9d8f63d20@xxxxxxxxxxx

Changes in v3:
- Fixes dt-bindings documentation
- drop minItems for access-controllers
- remove rcc label from example
- remove double '::' from 'See also::'
- Add patch to report these fixes to STM32MP25
- Fixes typos in RCC drivers (Alock)
- Link to v2: https://lore.kernel.org/r/20250520-upstream_rcc_mp21-v2-0-3c776a6e5862@xxxxxxxxxxx

Changes in v2:
- add list item for access-controlers and fix maxItems value from bindings
- drop STM32MP21_LAST_CLK and STM32MP21_LAST_RESET defines from bindings
- typo fixes from ALOK TIWARI


Signed-off-by: Gabriel Fernandez <gabriel.fernandez@xxxxxxxxxxx>
---
Gabriel Fernandez (3):
dt-bindings: stm32: add STM32MP21 clocks and reset bindings
clk: stm32: introduce clocks for STM32MP21 platform
dt-bindings: stm32: cosmetic fixes for STM32MP25 clock and reset bindings

.../bindings/clock/st,stm32mp21-rcc.yaml | 199 +++
.../bindings/clock/st,stm32mp25-rcc.yaml | 13 +-
drivers/clk/stm32/Kconfig | 7 +
drivers/clk/stm32/Makefile | 1 +
drivers/clk/stm32/clk-stm32mp21.c | 1586 ++++++++++++++++++++
drivers/clk/stm32/stm32mp21_rcc.h | 651 ++++++++
include/dt-bindings/clock/st,stm32mp21-rcc.h | 426 ++++++
include/dt-bindings/reset/st,stm32mp21-rcc.h | 138 ++
8 files changed, 3014 insertions(+), 7 deletions(-)
---
base-commit: 8566fc3b96539e3235909d6bdda198e1282beaed
change-id: 20250520-upstream_rcc_mp21-d0862e7dc769

Best regards,
--
Gabriel Fernandez <gabriel.fernandez@xxxxxxxxxxx>