]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: stm32mp1: add support of missing SPI clocks
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 9 Jul 2021 12:24:34 +0000 (14:24 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Tue, 27 Jul 2021 07:47:40 +0000 (09:47 +0200)
commitd974afe6861ae93c653ad91e3c0a93f9d40f7d29
treec5e651eea20a809a468fa3e617a39ece159575c2
parent2a7034c77d628627c9462e27865e2d9258aeadd0
clk: stm32mp1: add support of missing SPI clocks

Add the missing SPI clock even if these instances are not available
on STMicroelectronics boards: SPI2_K, SPI3_K, SPI4_K, SPI6_K.

With this patch, the SPI2 / SPI3 / SPI4 / SPI6 instances can be used on
customer design without the clock driver error:
  stm32mp1_clk_get_id: clk id 131 not found

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
drivers/clk/clk_stm32mp1.c