Commits
![Geert Uytterhoeven](https://secure.gravatar.com/avatar/248d9d88063a2309eb75c72691fd429b.jpg?s=96&d=mm)
Geert Uytterhoeven committed 4f6963580ac
clk: Add support for setting clk_rate via debugfs commit 37215da5553eb00616291a82decb958bb2d98fc1 upstream. 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>