clk: meson: clean-up clk81 clocks
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 19 Feb 2018 11:21:46 +0000 (12:21 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Tue, 13 Mar 2018 09:10:00 +0000 (10:10 +0100)
commit5b13ef64eebdc9e989fac2a3eb9aaa252a3edda6
treea935c47e31f186223cf3ce735537d2600db3c415
parent05f814402d6174369b3b29832cbb5eb5ed287059
clk: meson: clean-up clk81 clocks

clk81 is a composite clock which parents all the peripheral clocks of the
platform. It is a critical clock which is used as provided by the
bootloader. We don't want to change its rate or reparent it, ever.

Remove the CLK_IGNORE_UNUSED on the mux and divider. These clock can't
gate so the flag is useless, and the gate is already critical, so the
clock won't ever be unused.

Remove CLK_SET_RATE_NO_REPARENT from mux, it is useless since the mux is
read-only.

Remove CLK_SET_RATE_PARENT from the gate and divider and use ro_ops for
the divider. A peripheral clock should not try to change the rate of
clk81. Stopping the rate propagation is good way to make sure such request
would be ignored.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
drivers/clk/meson/gxbb.c
drivers/clk/meson/meson8b.c