sh: add sh7724 kick callback to clk_div4_table
authorMagnus Damm <damm@opensource.se>
Fri, 19 Feb 2010 09:26:56 +0000 (09:26 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 22 Feb 2010 10:11:22 +0000 (19:11 +0900)
commit7be85c6eb4462cd973e680d9dcf897a7b5b26165
tree5da0ed4f9d6e24676cca7db071ba3380ee6c0cd7
parent0a5f337ecd20e70e84a5cfc0f2c24d0366087026
sh: add sh7724 kick callback to clk_div4_table

This patch adds a ->kick() callback to clk_div4_table
and ties it into sh_clk_div4_set_rate(). A sh7724
specific kick function is also added that updates the
KICK bit whenever div4 clocks in FRQCRA and FRQCRB
have been set. Allows us to set the VPU clock.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/clock.h
arch/sh/kernel/cpu/clock-cpg.c
arch/sh/kernel/cpu/sh4a/clock-sh7724.c