Skip to content
Commit d9120198 authored by Benoit Cousson's avatar Benoit Cousson Committed by Mike Turquette
Browse files

clk: shmobile: rcar-gen2: Use kick bit to allow Z clock frequency change



The Z clock frequency change is effective only after setting the kick
bit located in the FRQCRB register.
Without that, the CA15 CPUs clock rate will never change.

Fix that by checking if the kick bit is cleared and enable it to make
the clock rate change effective. The bit is cleared automatically upon
completion.

Signed-off-by: default avatarBenoit Cousson <bcousson+renesas@baylibre.com>
Acked-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 0414855f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment