]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: stop rate propagation for audio clocks
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 20 Jun 2018 10:06:09 +0000 (12:06 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Mon, 9 Jul 2018 11:48:59 +0000 (13:48 +0200)
commitbf9298e1d3b970ce65ebfe377839da944d2e59b3
tree27ba4b2131fed5d501691c9afcec491466f5fc86
parent1a2c66f22d322106ed0f7098b314968fe95b3bc1
clk: meson: stop rate propagation for audio clocks

It is actually a lot easier to setup the PLL with carefully chosen rates
than relying on CCF clock propagation for this audio use case.
This way, we can make sure we will always be able to provide the common
audio clock rates, while having the PLL in the optimal operating range.

For this, we stop the rate propagation at the mux picking the
PLL and let it round to the closest matching PLL.

Doing so, we can use the generic divider for the i2s clock.
clk-audio-divider is no longer required. It was a (poor) attempt
to use CCF rate propagation while making sure the PLL rate would
be high enough to work with audio use cases.

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