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

Signed-off-by: Benoit Cousson <>
Acked-by: Laurent Pinchart <>
Signed-off-by: Mike Turquette <>
1 file changed