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>
This commit is contained in:
committed by
Paul Mundt
parent
14965f16b4
commit
31c3af503e
@@ -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) \
|
||||
{ \
|
||||
|
||||
Reference in New Issue
Block a user