Re: [PATCH 0/4] clk: implement sync_state support
From: Alexandre Mergnat
Date: Mon Nov 09 2026 - 09:39:07 EST
> The existing support for disabling unused clks runs in the late initcall
> stage, and it has been known for a long time that this is broken since
> it runs too early in the boot up process. It doesn't work for kernel
> modules, and it also doesn't work if all of the consumers haven't fully
> probed yet. Folks have long recommended to boot certain platforms with
> clk_ignore_unused to work around issues with disabling unused clks.
>
> This series fixes this by adding support for sync_state to the clk
> subsystem.
Hi Brian,
Tested on an MT8196 board with the GPU enabled: with the series, the
MFG PLLs are swept once their consumer has probed, which let me drop
two local workarounds (mfg_eb marked critical and a parent enable in
the unprepare sweep).
Tested-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>
--
Alexandre Mergnat <amergnat@xxxxxxxxxxxx>