clocksource: em_sti: Emma Mobile STI driver
authorMagnus Damm <magnus.damm@gmail.com>
Fri, 25 May 2012 07:03:44 +0000 (16:03 +0900)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 25 May 2012 09:32:06 +0000 (11:32 +0200)
commitb9dbf9517784084ee9496f9f17f9754c1d021a9e
tree9b51e9d9becd1d9ed40ffaf34e960bc22970fae8
parente5400321a6f15ce0fe77c8455954f213ef7dcc54
clocksource: em_sti: Emma Mobile STI driver

The STI hardware is based on a single 48-bit 32kHz
counter that together with two individual compare
registers can generate interrupts. There are no
timer operating modes selectable which means that
the timer can not clear on match.

This driver is providing clocksource support for the
48-bit counter. Clockevents are also supported using
the same timer in oneshot mode.

Signed-off-by: Magnus Damm <damm@opensource.se>
Cc: horms@verge.net.au
Cc: arnd@arndb.de
Cc: johnstul@us.ibm.com
Cc: rjw@sisk.pl
Cc: lethal@linux-sh.org
Cc: gregkh@linuxfoundation.org
Cc: olof@lixom.net
Link: http://lkml.kernel.org/r/20120525070344.23443.69756.sendpatchset@w520
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/arm/mach-shmobile/Kconfig
drivers/clocksource/Makefile
drivers/clocksource/em_sti.c [new file with mode: 0644]