]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx5: use dynamic mapping for DPLL block
authorShawn Guo <shawn.guo@freescale.com>
Tue, 20 May 2014 05:08:45 +0000 (13:08 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 3 Jun 2014 07:37:12 +0000 (15:37 +0800)
commit6c1c13544f175a5523ba4f33659f7de968d6c783
tree1ac15c1b3339f2593aeea6abf5cdf483f444f8e4
parentdcb1887fbd99f862a9f6dbeb8a7191ef3ffff767
ARM: imx5: use dynamic mapping for DPLL block

Replace the static mapping of DPLL block with dynamic mapping by
calling ioremap().  Ideally, this should be done by calling of_iomap(),
so that the physical address of DPLL can also be retrieved from device
tree.  But unfortunately, DPLL blocks are not defined in DT in the first
place.  So to maintain the compatibility of existing DTB, we use
ioremap() with physical address defines in the code.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/clk-imx51-imx53.c