On Tue, 20 Jan 2026 at 08:07, Yang Xiwen via B4 Relay
<[email protected]> wrote:
>
> From: Yang Xiwen <[email protected]>
>
> Add a test for the newly introduced CLK_LAZY_REPARENT feature.
>
> Modify clk_sandbox_ccf driver to register two clocks(i2s and i2s_root)
> in reversed order.
>
> The test function then try to acquire the clocks and asserts that their
> internal states are maintained correctly.
>
> Ensure clk->parent_name is NULL in all "normal" cases so existing
> drivers are not broken by this feature.
>
> Signed-off-by: Yang Xiwen <[email protected]>
> ---
>  drivers/clk/clk_sandbox_ccf.c | 10 ++++++++++
>  include/sandbox-clk.h         |  2 ++
>  test/dm/clk_ccf.c             | 40 ++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 52 insertions(+)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to