sh: add enable()/disable()/set_rate() to div6 code
authorMagnus Damm <damm@igel.co.jp>
Thu, 4 Jun 2009 05:31:41 +0000 (05:31 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 11 Jun 2009 06:12:58 +0000 (09:12 +0300)
commit098dee99d14e8324d3793df442d6078d0c134140
treed2fedbcb58a917bc70a0244bc1da63ec8be97b23
parentc01641b42a88c475fd4b72cff2b10e42262a80fe
sh: add enable()/disable()/set_rate() to div6 code

This patch updates the div6 clock helper code to add support
for enable(), disable() and set_rate() callbacks.

Needed by the camera clock enabling board code on Migo-R.

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
arch/sh/kernel/cpu/clock.c