[PATCH v4 2/3] clk: stm32mp13: introduce STM32MP13 RCC driver

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Dec 7 16:46:46 CET 2022



On 11/24/22 11:36, Gabriel Fernandez wrote:
> STM32MP13 RCC driver uses Common Clock Framework and also a
> 'clk-stm32-core' API. Then STM32MPx RCC driver will contain only data
> configuration (gates, mux, dividers and the way to check security)
> or some specific clocks.
> This API will be used by all new other generations of ST Socs.
> 
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez at foss.st.com>
> Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Reviewed-by: Sean Anderson <seanga2 at gmail.com>
> Tested-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
> 
> ---
> 
> (no changes since v3)
> 
> Changes in v3:
> - fix cosmetic
> - add comments in commit message
> - explanation of stm32 clock gating
> 
> Changes in v2:
> - deference check_security() call back
> - use of ccf_clk_(enable/disable/get_rate/set_rate) ops
> - fix gate refcounting
> - documented structures in clock-core API
> - remove useless spinlocks
> - cosmetic changes
> - remove useless defines
> 
>  drivers/clk/stm32/Kconfig          |  15 +
>  drivers/clk/stm32/Makefile         |   2 +
>  drivers/clk/stm32/clk-stm32-core.c | 268 +++++++++
>  drivers/clk/stm32/clk-stm32-core.h | 276 ++++++++++
>  drivers/clk/stm32/clk-stm32mp13.c  | 841 +++++++++++++++++++++++++++++
>  drivers/clk/stm32/stm32mp13_rcc.h  | 288 ++++++++++
>  6 files changed, 1690 insertions(+)
>  create mode 100644 drivers/clk/stm32/clk-stm32-core.c
>  create mode 100644 drivers/clk/stm32/clk-stm32-core.h
>  create mode 100644 drivers/clk/stm32/clk-stm32mp13.c
>  create mode 100644 drivers/clk/stm32/stm32mp13_rcc.h
> 

[...]

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>
Thanks 
Patrice


More information about the U-Boot mailing list