]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: stm32mp1: Add support for USART1 clock
authorAnatolij Gustschin <agust@denx.de>
Fri, 29 Sep 2023 11:34:37 +0000 (13:34 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 4 Oct 2023 11:26:03 +0000 (13:26 +0200)
commit062ee99e0a72cf0714fc5fffb567fa502e8ee855
tree102020b5638df7675ee64d967101a9371ab8c1f2
parent07cdd22c38608e2f57d4612f20c8990ecf6c889b
clk: stm32mp1: Add support for USART1 clock

Add USART1 clock parents and mux configuration. This allows
support for configuring the USART1 as the serial console in
SPL and U-Boot via device tree. Without this patch the SPL
with usart1 serial console enabled crashes because it can
not find the clock specified in the device tree for usart1.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/clk/stm32/clk-stm32mp1.c