commit | 1a22ebaf9739b294f6e859c330a8d49639e6bcbc | [log] [tgz] |
---|---|---|
author | Tero Kristo <t-kristo@ti.com> | Fri Jun 11 11:45:07 2021 +0300 |
committer | Lokesh Vutla <lokeshvutla@ti.com> | Fri Jun 11 16:34:52 2021 +0530 |
tree | a3232bc38d95ba547115f1213a41727848cd5c22 | |
parent | de4ef9b3f9ea2e0d5dc11bd2657559ff41e2354d [diff] |
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>