diff options
author | Magnus Damm <damm@opensource.se> | 2010-02-19 04:26:56 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-02-22 05:11:22 -0500 |
commit | 7be85c6eb4462cd973e680d9dcf897a7b5b26165 (patch) | |
tree | 5da0ed4f9d6e24676cca7db071ba3380ee6c0cd7 /arch/sh/include | |
parent | 0a5f337ecd20e70e84a5cfc0f2c24d0366087026 (diff) |
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>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h index dbb5746e88f6..11da4c5beb68 100644 --- a/arch/sh/include/asm/clock.h +++ b/arch/sh/include/asm/clock.h | |||
@@ -148,6 +148,7 @@ int sh_clk_mstp32_register(struct clk *clks, int nr); | |||
148 | 148 | ||
149 | struct clk_div4_table { | 149 | struct clk_div4_table { |
150 | struct clk_div_mult_table *div_mult_table; | 150 | struct clk_div_mult_table *div_mult_table; |
151 | void (*kick)(struct clk *clk); | ||
151 | }; | 152 | }; |
152 | 153 | ||
153 | int sh_clk_div4_register(struct clk *clks, int nr, | 154 | int sh_clk_div4_register(struct clk *clks, int nr, |