Hi,

On 5/27/25 15:27, Patrice Chotard wrote:
From: Gabriel Fernandez <[email protected]>

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 <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Cc: Sean Anderson <[email protected]>
---

(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 <[email protected]>

Thanks
Patrick


Reply via email to