Re: [PATCH v2] clk: Add support for setting clk_rate via debugfs

From: Stephen Boyd
Date: Sun Jan 05 2020 - 22:13:30 EST


Quoting Geert Uytterhoeven (2019-08-28 06:23:06)
> 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@xxxxxxxxx>
> ---
> Stephen: you suggested this approach in
> https://lore.kernel.org/linux-clk/153029668040.143105.2059491089047180792@xxxxxxxxxxxxxxxxxxxxxxxxxx/

Ok. Let's do it!

Applied to clk-next.