]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Simplify system timer clock definitions
authorJon Hunter <jon-hunter@ti.com>
Sat, 12 Jan 2013 01:17:38 +0000 (19:17 -0600)
committerJon Hunter <jon-hunter@ti.com>
Mon, 1 Apr 2013 18:49:09 +0000 (13:49 -0500)
commitcadac4ffdb88b05e689fdf3832f39fba4b141a07
tree7b539b438104447d508b7b37a075b84bf5070bf9
parentafe8f0374b3d160e320bb85f19de5e1f0c5631b8
ARM: OMAP2+: Simplify system timer clock definitions

In commit 35837bc (ARM: OMAP2+: Simplify dmtimer clock aliases), new
clock aliases for dmtimers were added to simplify the code. These clock
aliases can also be used when configuring the system timers and allow us
to remove the current definitions, simplifying the code.

Please note that for OMAP4/5 devices (unlike OMAP2/3 devices), there is
no clock alias for "timer_sys_ck" with NULL as the device name. Therefore
we still need to use the alias "sys_clkin_ck" for these devices.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/timer.c