]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: axg: mark fdiv2 and fdiv3 as critical
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 8 Nov 2018 09:31:23 +0000 (10:31 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Nov 2018 18:21:21 +0000 (10:21 -0800)
commitd36a66728cdf182c67f2d81b0291b3c8dd25c049
treef46b733beba54a394e26b21e630954d50b64e991
parent1a835a358d80e98192c5fb0c8832705066b2b0fd
clk: meson: axg: mark fdiv2 and fdiv3 as critical

Similar to gxbb and gxl platforms, axg SCPI Cortex-M co-processor
uses the fdiv2 and fdiv3 to, among other things, provide the cpu
clock.

Until clock hand-off mechanism makes its way to CCF and the generic
SCPI claims platform specific clocks, these clocks must be marked as
critical to make sure they are never disabled when needed by the
co-processor.

Fixes: 3d584f7f76cc ("clk: meson: add fdiv clock gates")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/meson/axg.c