ARM: OMAP: Add support for dmtimer v2 ip
authorTony Lindgren <tony@atomide.com>
Fri, 16 Sep 2011 22:44:20 +0000 (15:44 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 19 Sep 2011 17:28:10 +0000 (10:28 -0700)
commitee17f1147f010898e97dea2524b2aa3bcd2447a4
treeb8526aa2d3f8f6830ec6f9f6834fc206850d48bc
parentceb1c532ba6220900e61ec7073a9234661efa450
ARM: OMAP: Add support for dmtimer v2 ip

The registers are slightly different between v1 and v2 ip that
is available in omap4 and later for some timers.

Add support for v2 ip by mapping the interrupt related registers
separately and adding func_base for the functional registers.

Also disable dmtimer driver features on omap4 for now as
those need the hwmod conversion series to deal with enabling
the timers properly in omap_dm_timer_init.

Signed-off-by: Afzal Mohammed <afzal@ti.com>
Tested-by: Hemant Pedanekar <hemantp@ti.com>
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