[PATCH v2 0/3] Introduce STM32MP13 RCC driver

Gabriel Fernandez gabriel.fernandez at foss.st.com
Wed Oct 26 18:44:11 CEST 2022


This serie adds support of clock and reset for STM32MP13.

Changes in v2:
- deference check_security() call back
- use of ccf_clk_(enable/disable/get_rate/set_rate) ops
- fix gate refcounting
- documented structures in clock-core API
- remove useless spinlocks
- cosmetic changes
- remove useless defines

Gabriel Fernandez (3):
  dt-bindings: stm32mp13: add clock & reset support for STM32MP13
  clk: stm32mp13: introduce STM32MP13 RCC driver
  arm: dts: stm32mp13: add support of RCC driver

 MAINTAINERS                                  |   2 +
 arch/arm/dts/stm32mp13-u-boot.dtsi           |   4 +
 arch/arm/dts/stm32mp131.dtsi                 | 119 +--
 arch/arm/dts/stm32mp133.dtsi                 |   4 +-
 arch/arm/dts/stm32mp13xc.dtsi                |   3 +-
 arch/arm/dts/stm32mp13xf.dtsi                |   3 +-
 drivers/clk/stm32/Kconfig                    |  15 +
 drivers/clk/stm32/Makefile                   |   2 +
 drivers/clk/stm32/clk-stm32-core.c           | 271 ++++++
 drivers/clk/stm32/clk-stm32-core.h           | 223 +++++
 drivers/clk/stm32/clk-stm32mp13.c            | 841 +++++++++++++++++++
 drivers/clk/stm32/stm32mp13_rcc.h            | 288 +++++++
 include/dt-bindings/clock/stm32mp13-clks.h   | 229 +++++
 include/dt-bindings/reset/stm32mp13-resets.h | 100 +++
 14 files changed, 2025 insertions(+), 79 deletions(-)
 create mode 100644 drivers/clk/stm32/clk-stm32-core.c
 create mode 100644 drivers/clk/stm32/clk-stm32-core.h
 create mode 100644 drivers/clk/stm32/clk-stm32mp13.c
 create mode 100644 drivers/clk/stm32/stm32mp13_rcc.h
 create mode 100644 include/dt-bindings/clock/stm32mp13-clks.h
 create mode 100644 include/dt-bindings/reset/stm32mp13-resets.h

-- 
2.25.1



More information about the U-Boot mailing list