linux/arch
Jon Hunter fabcf41f3c ARM: OMAP4: Add timer clock aliases for device-tree
For OMAP4, the dmtimers are located in the Wake-up, ABE and Peripheral (PER)
power domains. Hence, when the dmtimer is configured to use the "timer_sys_ck"
as its functional clock the actual clock used is different depending on whether
the clock is in the Wake-up, ABE or PER domain. So when we look-up the dmtimer's
"timer_sys_ck" we need to specify the timer device name as well as clock alias
to find the right clock.

Currently, the device names for the timers have the format "omap_timer.X" where
X is the timer instance number. When using to device tree, the format of the
device name created by device-tree is different and has the format
"<reg-address>.<device-name>" (this is assuming that the device-tree "reg"
property is specified). This causes the look-up for the OMAP4 "timer_sys_ck" to
fail. To fix this add new timer clock alias for using device-tree.

Please note that adding a 2nd set of clock aliases for the same clocks to only
temporary until device-tree migration is complete. Then we can remove the legacy
aliases. Hence, I have marked the legacy aliases with a "TODO" to remove them.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
[paul@pwsan.com: updated to apply]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
2012-09-22 10:50:01 -06:00
..
alpha Merge 3.6-rc3 into tty-next 2012-08-27 07:13:33 -07:00
arm ARM: OMAP4: Add timer clock aliases for device-tree 2012-09-22 10:50:01 -06:00
avr32
blackfin Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lliubbo/blackfin 2012-09-12 07:12:53 +08:00
c6x Enable atomic64 ops in C6X 2012-08-17 08:10:12 -07:00
cris
frv
h8300
hexagon
ia64 Merge 3.6-rc3 into tty-next 2012-08-27 07:13:33 -07:00
m32r
m68k Merge 3.6-rc3 into tty-next 2012-08-27 07:13:33 -07:00
microblaze
mips Changes for GPMC (General Purpose Memory Controller) that take it 2012-09-12 18:05:19 -07:00
mn10300
openrisc
parisc Changes for GPMC (General Purpose Memory Controller) that take it 2012-09-12 18:05:19 -07:00
powerpc powerpc: Don't use __put_user() in patch_instruction 2012-09-05 16:05:23 +10:00
s390 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-09-14 17:43:45 -07:00
score
sh Merge branches 'sh/urgent' and 'sh/gpiolib' into sh-latest 2012-08-09 13:21:13 +09:00
sparc sparc64: Be less verbose during vmemmap population. 2012-08-15 00:37:29 -07:00
tile
um Changes for GPMC (General Purpose Memory Controller) that take it 2012-09-12 18:05:19 -07:00
unicore32
x86 Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-09-14 17:43:45 -07:00
xtensa TTY: use tty_port_link_device 2012-08-13 16:50:19 -07:00
.gitignore
Kconfig