diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-08-28 15:23:06 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2020-01-05 19:12:58 -0800 |
commit | 37215da5553eb00616291a82decb958bb2d98fc1 (patch) | |
tree | ba6716cd3047ea4dae77349c36a91ff83b3c30ba /drivers/clk/meson/sclk-div.c | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) |
clk: Add support for setting clk_rate via debugfs
For testing, it is useful to be able to specify a clock rate manually.
As this is a dangerous feature, it is not enabled by default.
Users need to modify the source directly and #define
CLOCK_ALLOW_WRITE_DEBUGFS.
This follows the spirit of commit 09c6ecd394105c48 ("regmap: Add support
for writing to regmap registers via debugfs").
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lkml.kernel.org/r/20190828132306.19012-1-geert+renesas@glider.be
Suggested-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/meson/sclk-div.c')
0 files changed, 0 insertions, 0 deletions