]> git.ipfire.org Git - thirdparty/u-boot.git/commit
clk: stm32mp13: Add SPL support and clock tree init to STM32MP13 RCC driver
authorMarek Vasut <marek.vasut@mailbox.org>
Mon, 12 May 2025 17:08:29 +0000 (19:08 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 11 Jun 2025 07:42:56 +0000 (09:42 +0200)
commit0298696b1efcbaf05317e5559bdc99cbac36293c
tree14f09a06717419d5db67353e912bb729bc50bf6c
parentb2c50bd30b78aa3b45b37b4f2b662d0c1b9d8e80
clk: stm32mp13: Add SPL support and clock tree init to STM32MP13 RCC driver

Add SPL support and clock tree init to STM32MP13 RCC driver. This
consists of two parts, make SCMI into an optional dependency and
add clock tree initialization. The SCMI dependency is made optional
first by registering the few core clock provided by SCMI clock as
fixed clock, and second by letting the clock core parse out the
clock configuration from SoC registers. The clock initialization
code is derived from STM32MP15xx clock tree initialization code,
which is almost identical, except for the use of new PLL2000 for
PLL1 on STM32MP13xx .

Signed-off-by: Marek Vasut <marek.vasut@mailbox.org>
drivers/clk/stm32/clk-stm32-core.h
drivers/clk/stm32/clk-stm32mp13.c
drivers/clk/stm32/stm32mp13_rcc.h
include/dt-bindings/clock/stm32mp13-clksrc.h [new file with mode: 0644]