]> 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)
commit5a340b983993a37abb0905d0bff716dfbd560de9
tree7b539b438104447d508b7b37a075b84bf5070bf9
parent00389192175975adf67744cc9986b1073389bcee
ARM: OMAP2+: Simplify system timer clock definitions

In commit 86c6825 (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