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

Wolfram Sang wsa+renesas at sang-engineering.com
Mon Nov 23 05:05:00 PST 2026


On Thu, Nov 19, 2026 at 02:40:35PM +0100, Geert Uytterhoeven wrote:
> 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>

Very minor: Maybe of_dev_clk_get_from_provider? It is still OF specific.
But in general:

Reviewed-by: Wolfram Sang <wsa+renesas at sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas at sang-engineering.com>




More information about the Linux-rockchip mailing list