]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: Add clk_min/max_rate entries in debugfs
authorLeonard Crestez <leonard.crestez@nxp.com>
Tue, 2 Jul 2019 13:27:09 +0000 (16:27 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Aug 2019 15:02:00 +0000 (08:02 -0700)
commit1bd37a46770017e89943769112c5f09e5a7b24c1
tree53a164032c3f6e13d6d4142fe1ce4b084443a008
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
clk: Add clk_min/max_rate entries in debugfs

Add two files to expose min/max clk rates as determined by
clk_core_get_boundaries, taking all consumer requests into account.

This information does not appear to be otherwise exposed to userspace.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Link: https://lkml.kernel.org/r/68e96af2df96512300604d797ade2088d7e6e496.1562073871.git.leonard.crestez@nxp.com
[sboyd@kernel.org: Drop if statements for JSON printing]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c