clk: fixed-factor: Allow for a few clocks to change the parent rate
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 22 Jun 2016 09:15:54 +0000 (11:15 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Sat, 2 Jul 2016 00:16:59 +0000 (17:16 -0700)
commite6cbf9984ee7340a6d428217ca30d353b4ccf1c5
treee45e35d4bb40f29fdfbd2cc35dbc53326fad0dc8
parent6db8c762c807cb71163f8591b5521ab5fd850567
clk: fixed-factor: Allow for a few clocks to change the parent rate

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 <maxime.ripard@free-electrons.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/clock/fixed-factor-clock.txt
drivers/clk/clk-fixed-factor.c