Hi,
On 5/27/25 15:27, Patrice Chotard wrote:
From: Gabriel Fernandez <gabriel.fernan...@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.fernan...@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chot...@foss.st.com>
Cc: Lukasz Majewski <lu...@denx.de>
Cc: Sean Anderson <sean...@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.delau...@foss.st.com>
Thanks
Patrick