[PATCH 1/2] clk: fixed-factor: Allow for a few clocks to change the parent rate
From: robh@kernel.org (Rob Herring)
Date: 2016-06-24 15:52:44
Also in:
linux-clk, linux-devicetree
From: robh@kernel.org (Rob Herring)
Date: 2016-06-24 15:52:44
Also in:
linux-clk, linux-devicetree
On Wed, Jun 22, 2016 at 11:15:54AM +0200, Maxime Ripard wrote:
The only way for a fixed factor clock to change its rate would be to change its parent rate. Since passing blindly CLK_SET_RATE_PARENT might break a lot of platforms that were relying on the fact that the parent rate wouldn't change, introduce a compatible-based whitelist that will allow clocks to opt-in that flag. Signed-off-by: Maxime Ripard <redacted> --- .../devicetree/bindings/clock/fixed-factor-clock.txt | 4 ++++
I don't think we should be copying clk flags to DT as suggested. Acked-by: Rob Herring <robh@kernel.org>
drivers/clk/clk-fixed-factor.c | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-)