[PATCH] sh: Simplistic clock framework
authorPaul Mundt <lethal@linux-sh.org>
Tue, 17 Jan 2006 06:14:17 +0000 (22:14 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 17 Jan 2006 07:15:28 +0000 (23:15 -0800)
commit36ddf31b689a8c11d424e43565d2aa440b77bbf4
tree8cc1e98a496811126c41a9ec31f894c64bae13df
parentb66c1a3919abb40f9bd8fb92a0d9fd77eb899c54
[PATCH] sh: Simplistic clock framework

This adds a relatively simplistic clock framework for sh.  The initial goal
behind this is to clean up the arch/sh/kernel/time.c mess and to get the CPU
subtype-specific frequency setting and calculation code moved somewhere more
sensible.

This only deals with the core clocks at the moment, though it's trivial for
other drivers to define their own clocks as desired.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Cc: john stultz <johnstul@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
19 files changed:
arch/sh/boards/overdrive/Makefile
arch/sh/boards/overdrive/setup.c
arch/sh/boards/overdrive/time.c [deleted file]
arch/sh/kernel/cpu/clock.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh3/Makefile
arch/sh/kernel/cpu/sh3/clock-sh3.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh3/clock-sh7300.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh3/clock-sh7705.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh3/clock-sh7709.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh4/Makefile
arch/sh/kernel/cpu/sh4/clock-sh4-202.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh4/clock-sh4.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh4/clock-sh73180.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh4/clock-sh7770.c [new file with mode: 0644]
arch/sh/kernel/cpu/sh4/clock-sh7780.c [new file with mode: 0644]
arch/sh/kernel/time.c
include/asm-sh/clock.h [new file with mode: 0644]
include/asm-sh/cpu-sh4/freq.h
include/asm-sh/freq.h