]> err.no Git - linux-2.6/commit
sh: cpufreq: clock framework support.
authorPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 04:38:19 +0000 (13:38 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 20 Jul 2007 04:38:19 +0000 (13:38 +0900)
commitcb5ec75b8b0410bba4ae612d13a2f26e938bc49c
treedacfe59494055f6cfb862e49a033b6e03203c6d6
parentfe04d7798f611bca333df27d44484bdd62eef53f
sh: cpufreq: clock framework support.

This gets the SH cpufreq working again. We follow the changes
in the AVR32 implementation for wrapping in to the clock framework.
CPUs that wish to use this are required to define rate rounding
primitives in order to satisfy clk_round_rate().

This works well enough for the common case, though we should
look at unifying this driver across all of the platforms that
implement clock framework support in one capacity or another.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
arch/sh/kernel/cpufreq.c