summaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/clock.h
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-01-19 14:14:31 +0300
committerPaul Mundt <lethal@linux-sh.org>2010-01-19 14:23:00 +0300
commit31c3af503eb75488aafb7a3d292b9e00962f2cee (patch)
treec7a7905b50cc524d9ce0f92ad5aa9f80d04fad42 /arch/sh/include/asm/clock.h
parent14965f16b4bb8f3e51b09c1d8f61b8e98f9d12db (diff)
downloadlinux-31c3af503eb75488aafb7a3d292b9e00962f2cee.tar.xz
sh: support SIU sourcing from external clock on sh7722
Implement .set_rate() for all SH "div4 clocks," .enable(), .disable(), and .set_parent() for those, that support them. This allows, among other uses, reparenting of SIU clocks to the external source, and enabling and disabling of the IrDA clock on sh7722. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/clock.h')
-rw-r--r--arch/sh/include/asm/clock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/include/asm/clock.h b/arch/sh/include/asm/clock.h
index 9fe7d7f8af40..501d0b076283 100644
--- a/arch/sh/include/asm/clock.h
+++ b/arch/sh/include/asm/clock.h
@@ -148,6 +148,10 @@ int sh_clk_mstp32_register(struct clk *clks, int nr);
int sh_clk_div4_register(struct clk *clks, int nr,
struct clk_div_mult_table *table);
+int sh_clk_div4_enable_register(struct clk *clks, int nr,
+ struct clk_div_mult_table *table);
+int sh_clk_div4_reparent_register(struct clk *clks, int nr,
+ struct clk_div_mult_table *table);
#define SH_CLK_DIV6(_name, _parent, _reg, _flags) \
{ \