diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-08-27 10:43:30 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-23 10:54:07 +0200 |
commit | 1c2a23346bd1fa727837bea9be657f4b6f28d53d (patch) | |
tree | 7cba5204cc36e2e4552536c28be17cec4680b7d8 /include/linux/clk.h | |
parent | a1b04c33faacbcc5bc4e7e3855914c51616a3a98 (diff) | |
download | barebox-1c2a23346bd1fa727837bea9be657f4b6f28d53d.tar.gz barebox-1c2a23346bd1fa727837bea9be657f4b6f28d53d.tar.xz |
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 <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r-- | include/linux/clk.h | 1 |
1 files changed, 1 insertions, 0 deletions
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, |