sh: shared div4 clock code
authorMagnus Damm <damm@igel.co.jp>
Thu, 28 May 2009 13:11:31 +0000 (13:11 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 1 Jun 2009 09:07:37 +0000 (18:07 +0900)
commita1153e27eec25e9963f5843ba8932952bd9847ac
tree76ef9b57aa5734797a862ad576f4f4e74ab8a3f0
parente89d53e60593ee7066e1d36ab5c1ccf2648f5f53
sh: shared div4 clock code

Add shared code for 4-bit divisor clocks.

Processor specific code can use SH_CLK_DIV4()
to initialize div4 clocks, and then use
sh_clk_div4_register() for registration.

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