clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
It was observed that the workaround introduced by commit 61c40f35 ("clk: mvebu: armada-37xx-periph: Fix switching CPU rate from 300Mhz to 1.2GHz") when base CPU frequency is 1.2 GHz is also required when base CPU frequency is 1 GHz. Otherwise switching CPU frequency directly from L2 (250 MHz) to L0 (1 GHz) causes a crash. When base CPU frequency is just 800 MHz no crashed were observed during switch from L2 to L0. Signed-off-by:Pali Rohár <pali@kernel.org> Acked-by:
Stephen Boyd <sboyd@kernel.org> Acked-by:
Gregory CLEMENT <gregory.clement@bootlin.com> Tested-by:
Tomasz Maciej Nowak <tmn505@gmail.com> Tested-by:
Anders Trier Olesen <anders.trier.olesen@gmail.com> Tested-by:
Philip Soares <philips@netisense.com> Fixes: 2089dc33 ("clk: mvebu: armada-37xx-periph: add DVFS support for cpu clocks") Signed-off-by:
Viresh Kumar <viresh.kumar@linaro.org>
Loading
Please sign in to comment