]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
clk: add clk_possible_parents debugfs file
authorPeter De Schrijver <pdeschrijver@nvidia.com>
Tue, 21 Mar 2017 13:20:31 +0000 (15:20 +0200)
committerMichael Turquette <mturquette@baylibre.com>
Wed, 12 Apr 2017 16:51:38 +0000 (18:51 +0200)
commit92031575c3e60c2f641aacf752bd7494d65e70f7
tree727484d5f81a9508109d02c7f01bde06c1baf3df
parent1905719556c077bc5619821e7840cac4f743ac73
clk: add clk_possible_parents debugfs file

For validation purposes, it's often useful to be able to retrieve the list
of possible parents in userspace. Add a debugfs file for every clock which
has more than 1 possible parent.

Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
[sboyd@codeaurora.org: Remove useless cast from void and extra
newline]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@baylibre.com>
drivers/clk/clk.c