sh: CMT clockevent platform driver
commit3fb1b6ad0679ad671bd496712b2a088550ee86b2
authorMagnus Damm <damm@igel.co.jp>
Thu, 22 Jan 2009 09:55:59 +0000 (22 09:55 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 29 Jan 2009 07:56:32 +0000 (29 16:56 +0900)
treec8cbdb83a2ee6f3d1b9078d7b87e92e7dc1d9764
parent07821d3310996746a2cf1e9c705ffe64223d1112
sh: CMT clockevent platform driver

SuperH CMT clockevent driver.

Both 16-bit and 32-bit CMT versions are supported, but only 32-bit
is tested. This driver contains support for both clockevents and
clocksources, but no unregistration is supported at this point.

Works fine as clock source and/or event in periodic or oneshot mode.
Tested on sh7722 and sh7723, but should work with any cpu/architecture.

This version is lacking clocksource and early platform driver support
for now - this to minimize the amount of dependencies.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/sh_cmt.c [new file with mode: 0644]
include/linux/sh_cmt.h [new file with mode: 0644]