clocksource: SuperH MTU2 Timer driver
authorMagnus Damm <damm@igel.co.jp>
Thu, 30 Apr 2009 07:02:49 +0000 (07:02 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sun, 3 May 2009 08:36:02 +0000 (17:36 +0900)
commitd5ed4c2e5ce9f5f6fd6a5a39ee1196a1f8a46eed
tree350f5a61bb75368a01f26ea2f0fa612b05cfc9bf
parent7563431107f6debf57c1dbecfb9498cf31a1c036
clocksource: SuperH MTU2 Timer driver

This patch adds a MTU2 driver for the SuperH architecture.

The MTU2 driver is a platform driver with early platform
support to allow using a MTU2 channel as only clockevent
during system bootup.

Clocksource on sh2a is currently unsupported due to code
generation issues with 64-bit math, so at this point only
periodic clockevent support is in place.

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_mtu2.c [new file with mode: 0644]
include/linux/sh_mtu2.h [new file with mode: 0644]