[PATCH 2/6] clk: Add dev_clk_get_from_provider()

Brian Masney masneyb at kernel.org
Thu Nov 19 17:40:22 PST 2026


> Clocks obtained through of_clk_get_from_provider() show up as
> "deviceless" in the consumer column of the clk_summary file in debugfs.
> Add a new variant dev_clk_get_from_provider() that also takes a consumer
> device, so callers can provide it, and consumer's name will be shown in
> the clk_summary output.
> 
> Reimplement of_clk_get_from_provider() on top of
> dev_clk_get_from_provider().
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Reviewed-by: Brian Masney <masneyb at kernel.org>

-- 
Brian Masney <masneyb at kernel.org>



More information about the Linux-rockchip mailing list