rt-thread/components/drivers/clk
GUI 9d04b6baab
[dm][clk] fixup the work flow of CLK (#11673)
* [dm][clk] fixup the work flow of CLK

Add RT_CLK_F_SET_RATE_NO_REPARENT so clock providers can preserv
the currently selected parent during rate changes.
Round and re-read the effective clock rate after parent handling,
skip redundant gate toggles and hardware programming when
the target is already active, and fix error handling for parent-clock allocation failures.

Signed-off-by: GuEe-GUI <2991707448@qq.com>

* style: format code with clang-format

* style: format complete changed files with clang-format

---------

Signed-off-by: GuEe-GUI <2991707448@qq.com>
2026-08-08 18:25:02 +08:00
..
Kconfig [dm][firmware][scmi] support ARM-SCMI interface #11069 2025-12-19 21:20:17 +08:00
SConscript [dm][firmware][scmi] support ARM-SCMI interface #11069 2025-12-19 21:20:17 +08:00
clk-fixed-rate.c [dm][clk] refactoring the CLK framework 2025-12-12 13:33:28 +08:00
clk-scmi.c [dm][clk][rockchip] fixup rockchip clk 2026-03-24 22:56:54 +08:00
clk.c [dm][clk] fixup the work flow of CLK (#11673) 2026-08-08 18:25:02 +08:00