[PATCH v2 10/13] clk: stm32: fix clock counter
Patrick DELAUNAY
patrick.delaunay at foss.st.com
Tue Jun 3 19:32:15 CEST 2025
Hi,
On 5/27/25 15:27, Patrice Chotard wrote:
> From: Gabriel Fernandez <gabriel.fernandez at foss.st.com>
>
> In RCC the ops of the CCF registered CLK device can be called directly,
> this patch avoid recursive call of clk_ function done by CCF clock
> framework which update the clock information, for example
> clk_enable is called 2 times, clkp->enable_count is increased 2 times.
>
> Signed-off-by: Gabriel Fernandez <gabriel.fernandez at foss.st.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Lukasz Majewski <lukma at denx.de>
> Cc: Sean Anderson <seanga2 at gmail.com>
> ---
>
> (no changes since v1)
>
> drivers/clk/stm32/clk-stm32-core.c | 68 ++++++++++++++++++++++++++++--
> 1 file changed, 64 insertions(+), 4 deletions(-)
>
this patch is working with clk_get_by_id() and many clock provider
(SCMI, PHY, clock fixed, ....)
so the CONFIG_CLK_AUTO_ID is mandatory....
Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>
Thanks
Patrick
More information about the U-Boot
mailing list