]> git.baikalelectronics.ru Git - uboot.git/commit
clk: fix clock tree dump to properly dump out every registered clock
authorTero Kristo <t-kristo@ti.com>
Fri, 11 Jun 2021 08:45:07 +0000 (11:45 +0300)
committerLokesh Vutla <lokeshvutla@ti.com>
Fri, 11 Jun 2021 11:04:52 +0000 (16:34 +0530)
commit62e52d5a9bb4ea24c13e1c24e142f9bf6c58f6ff
treea3232bc38d95ba547115f1213a41727848cd5c22
parent3e72ee1ddc8daf39b6a32fed97393f71fe7ffed3
clk: fix clock tree dump to properly dump out every registered clock

Some clocks are not associated to a DM node, so just parsing the DM is not
enough. This is especially true for root clocks, which typically don't have
any parents. Instead, fetch every registered UCLASS_CLK instance, and dump
these out.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Tero Kristo <kristo@kernel.org>
cmd/clk.c