Martin Blumenstingl 8daeaea99c clk: meson: meson8b: make the CCF use the glitch-free mali mux
The "mali_0" or "mali_1" clock trees should not be updated while the
clock is running. Enforce this by setting CLK_SET_RATE_GATE on the
"mali_0" and "mali_1" gates. This makes the CCF switch to the "mali_1"
tree when "mali_0" is currently active and vice versa, which is exactly
what the vendor driver does when updating the frequency of the mali
clock.

This fixes a potential hang when changing the GPU frequency at runtime.

Fixes: 74e1f2521f16ff ("clk: meson: meson8b: add the GPU clock tree")
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
2020-01-07 11:30:50 +01:00
..
2019-10-17 16:36:11 +02:00
2019-05-30 16:33:37 -07:00
2019-05-16 09:19:14 -07:00
2019-10-03 10:51:11 -07:00
2018-12-11 09:57:47 -08:00
2018-07-06 13:44:06 -07:00
2019-07-15 20:18:40 -07:00
2019-12-05 11:38:40 -08:00