linux_dsm_epyc7002/arch/arm/plat-omap
Jon Hunter ae6672cb47 ARM: OMAP: Clean-up dmtimer reset code
Only OMAP1 devices use the omap_dm_timer_reset() and so require the
omap_dm_timer_wait_for_reset() and __omap_dm_timer_reset() functions.
Therefore combine these into a single function called omap_dm_timer_reset()
and simplify the code.

The omap_dm_timer_reset() function is now the only place that is using the
omap_dm_timer structure member "sys_stat". Therefore, remove this member and
just use the register offset definition to simplify and clean-up the code. The
TISTAT register is only present on revision 1 timers and so check for this in
the omap_dm_timer_reset() function.

Please note that for OMAP1 devices, the TIOCP_CFG register does not have the
clock-activity field and so when we reset the timer for an OMAP1 device we
only need to configure the idle-mode field in the TIOCP_CFG register.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
2012-11-16 10:35:05 -06:00
..
include ARM: OMAP: Clean-up dmtimer reset code 2012-11-16 10:35:05 -06:00
counter_32k.c ARM: OMAP: Remove plat-omap/common.h 2012-10-31 15:37:13 -07:00
debug-devices.c ARM: OMAP: Remove unnecessary mach and plat includes 2012-11-02 12:00:36 -07:00
debug-leds.c ARM: OMAP: Fix relative includes for fpga.h 2012-10-31 15:37:14 -07:00
dma.c ARM: OMAP: Remove cpu_is_omap usage from plat-omap/dma.c 2012-10-31 15:37:13 -07:00
dmtimer.c ARM: OMAP: Clean-up dmtimer reset code 2012-11-16 10:35:05 -06:00
fb.c ARM: OMAP: Remove unnecessary mach and plat includes 2012-11-02 12:00:36 -07:00
i2c.c ARM: OMAP: Remove unnecessary mach and plat includes 2012-11-02 12:00:36 -07:00
Kconfig ARM: OMAP2+: Fix location of select PINCTRL 2012-10-22 13:37:34 -07:00
mailbox.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00
Makefile ARM: OMAP: Remove omap_init_consistent_dma_size() 2012-11-06 16:01:19 -08:00
sram.c ARM: OMAP: Move omap2+ specific parts of sram.c to mach-omap2 2012-10-31 10:14:14 -07:00