On Wed, 31 Dec 2025 at 12:52, Yang Xiwen via B4 Relay
<[email protected]> wrote:
>
> From: Yang Xiwen <[email protected]>
>
> Don't mandate the parent device exists when registering a clock.
>
> Instead, cache the parent name in the core clk struct and resolve the
> parent in clk_get_parent(), which is called lazily upon real use.
>
> Disable this feature for xPLs by default to save size.
>
> Signed-off-by: Yang Xiwen <[email protected]>
> ---
>  drivers/clk/Kconfig      | 12 ++++++++++++
>  drivers/clk/clk-uclass.c | 44 ++++++++++++++++++++++++++++++++++++++++++--
>  drivers/clk/clk.c        | 14 ++++++++++++--
>  include/clk.h            |  2 ++
>  4 files changed, 68 insertions(+), 4 deletions(-)

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

Reply via email to