clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)
authorGabriel Fernandez <gabriel.fernandez@foss.st.com>
Mon, 16 May 2022 07:05:48 +0000 (09:05 +0200)
committerStephen Boyd <sboyd@kernel.org>
Sat, 21 May 2022 04:07:48 +0000 (21:07 -0700)
commit637cee5ffc71698eecf014a794e8d24a213b3c07
tree56e4474ba6c5ba3743e441780c72487162320840
parent722dc8a1d5c8691ab9923b723db4354537206f97
clk: stm32: Introduce STM32MP13 RCC drivers (Reset Clock Controller)

This driver manages Reset and Clock of STM32MP13 soc.
It uses a clk-stm32-core module to manage stm32 gate, mux and divider
for STM32MP13 and for new future soc.

All gates, muxes, dividers are identify by an index and information
are stored in array (register address, shift, with, flags...)
This is useful when we have two clocks with the same gate or
when one mux manages two output clocks.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
Link: https://lore.kernel.org/r/20220516070600.7692-3-gabriel.fernandez@foss.st.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/Kconfig
drivers/clk/Makefile
drivers/clk/stm32/Makefile [new file with mode: 0644]
drivers/clk/stm32/clk-stm32-core.c [new file with mode: 0644]
drivers/clk/stm32/clk-stm32-core.h [new file with mode: 0644]
drivers/clk/stm32/clk-stm32mp13.c [new file with mode: 0644]
drivers/clk/stm32/reset-stm32.c [new file with mode: 0644]
drivers/clk/stm32/reset-stm32.h [new file with mode: 0644]
drivers/clk/stm32/stm32mp13_rcc.h [new file with mode: 0644]