[PATCH v2 00/24] clk: Add clk_resolve_parent_clk() and fix up iMX clock drivers

Fabio Estevam festevam at gmail.com
Tue Mar 25 13:55:03 CET 2025


On Sun, Mar 23, 2025 at 1:02 PM Marek Vasut <marex at denx.de> wrote:
>
> Add clk_resolve_parent_clk() to resolve parent clock udevice name
> based on clock-names DT property. This is used in SoC clock drivers
> to look up the clock name in clock tables, which matches a clock
> name in DT clock-names property, and convert it into udevice name
> which is used by U-Boot clock framework to look up parent clock in
> e.g. clk_register() using uclass_get_device_by_name(UCLASS_CLK,
> parent_name, &parent);
>
> Pass struct udevice pointer through the various iMX clock drivers.

Applied to u-boot-imx/next, thanks.


More information about the U-Boot mailing list