]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: OMAP: dmtimer: switch-over to platform device driver
authorTarun Kanti DebBarma <tarun.kanti@ti.com>
Tue, 20 Sep 2011 11:30:20 +0000 (17:00 +0530)
committerTony Lindgren <tony@atomide.com>
Wed, 21 Sep 2011 22:50:31 +0000 (15:50 -0700)
commit3392cdd33a0419e3226910a08b8bdc43b56c95d0
treea5cf298efd7c9d3fc0a19e713ff7926bcbb938e9
parentdf28472a1b28f5d2a6e5cf66265aa328995fde6b
ARM: OMAP: dmtimer: switch-over to platform device driver

Register timer devices by going through hwmod database using
hwmod API. The driver probes each of the registered devices.
Functionality which are already performed by hwmod framework
are removed from timer code. New set of timers present on
OMAP4 are now supported.

Signed-off-by: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Acked-by: Cousson, Benoit <b-cousson@ti.com>
[tony@atomide.com: folded in spinlock changes, left out is_omap2]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/timer.c
arch/arm/plat-omap/dmtimer.c
arch/arm/plat-omap/include/plat/dmtimer.h