clk: Add clk_parent entry in debugfs
authorLeonard Crestez <leonard.crestez@nxp.com>
Mon, 10 Jun 2019 11:06:38 +0000 (14:06 +0300)
committerStephen Boyd <sboyd@kernel.org>
Tue, 25 Jun 2019 21:53:10 +0000 (14:53 -0700)
commite5e89247a74bf35f0bbfd180a46f5bf75c086885
tree88f2c28a148ad995a84870baf6b34556502e8e0d
parenta188339ca5a396acc588e5851ed7e19f66b0ebd9
clk: Add clk_parent entry in debugfs

This allows to easily determine the parent in shell scripts without
parsing more complex files.

Add the clk_parent file for all clks which can have a parent, not just
muxes. This way it can be used to determine the clk tree structure
without parsing more complex files.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c