Skip to content

Commit 37ae850

Browse files
Gabriel-Fernandzbebarino
authored andcommitted
clk: stm32: introduce clocks for STM32MP21 platform
This driver is intended for the STM32MP21 clock family. Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Reviewed-by: Alok Tiwari <alok.a.tiwari@oracle.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 49f6c8b commit 37ae850

4 files changed

Lines changed: 2245 additions & 0 deletions

File tree

drivers/clk/stm32/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ config COMMON_CLK_STM32MP157
2525
help
2626
Support for stm32mp15x SoC family clocks.
2727

28+
config COMMON_CLK_STM32MP215
29+
bool "Clock driver for stm32mp21x clocks"
30+
depends on ARM || ARM64 || COMPILE_TEST
31+
default y
32+
help
33+
Support for stm32mp21x SoC family clocks
34+
2835
config COMMON_CLK_STM32MP257
2936
bool "Clock driver for stm32mp25x clocks"
3037
depends on ARM64 || COMPILE_TEST

drivers/clk/stm32/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
obj-$(CONFIG_COMMON_CLK_STM32MP135) += clk-stm32mp13.o clk-stm32-core.o reset-stm32.o
22
obj-$(CONFIG_COMMON_CLK_STM32MP157) += clk-stm32mp1.o reset-stm32.o
3+
obj-$(CONFIG_COMMON_CLK_STM32MP215) += clk-stm32mp21.o clk-stm32-core.o reset-stm32.o
34
obj-$(CONFIG_COMMON_CLK_STM32MP257) += clk-stm32mp25.o clk-stm32-core.o reset-stm32.o

0 commit comments

Comments
 (0)