From 1c2a23346bd1fa727837bea9be657f4b6f28d53d Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 27 Aug 2020 10:43:30 +0200 Subject: clk_dump command: Allow printing a single clock So far the clk_dump command can only print all clocks. With this patch we can limit the output to ancestors and children of a given clock. This makes it easier to find the desired information in big clock trees. Signed-off-by: Sascha Hauer --- include/linux/clk.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/clk.h b/include/linux/clk.h index 868bf3e4ed..3d66343e8d 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -456,6 +456,7 @@ int clk_register(struct clk *clk); struct clk *clk_lookup(const char *name); void clk_dump(int verbose); +void clk_dump_one(struct clk *clk, int verbose); struct clk *clk_register_composite(const char *name, const char * const *parent_names, int num_parents, -- cgit v1.2.3