On 2026-01-15 05:11 +02:00, chiffathefox wrote: > When referencing clocks in DTS registered by another driver, > clk_resolve_parent_clk() is supposed to return the name > of the child device that provides the requested clock. > However, in reality, it returns the name of the parent DTB > node (e.g. clock-controller@1a240000). Such devices, for > instance the exynos7870-cmu-peri driver, do not store any > clock information in their dev->uclass_priv_ because they > expect you to call dev->ops->get_rate with the appropriate > clk->id. So when you try to resolve a clock that depends on > an externally referenced clock, the resolution fails on the > parent clock because it doesn't have a dev->uclass_priv_. > With this change clk_resolve_parent_clk() will take an > extra step to actually resolve the child device. > > Signed-off-by: chiffathefox <[email protected]>
Tested-by: Kaustabh Chakraborty <[email protected]> # exynos-mobile/exynos7870

