sh: add pll_clk to sh7785
authorMagnus Damm <damm@igel.co.jp>
Mon, 25 May 2009 08:10:19 +0000 (08:10 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 26 May 2009 08:08:36 +0000 (17:08 +0900)
commitc9904dd15922f349b5f06839e34b1723d4a75940
tree7d141fd2b4a106e6a139e341051b8677e9797099
parent36aa1e32f451b664adaf3fc9a77d8279b7a833b2
sh: add pll_clk to sh7785

This patch converts the sh7785 pll implementation from the
all-in-one code in frqmr_recalc() and frqmr_build_rate_table()
to a separate struct clk. This allows us to remove the processor
specific multiplier and use generic rate table functions.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/clock-sh7785.c