]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.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>
Fri, 18 Jul 2014 08:10:08 +0000 (16:10 +0800)
commit20484c13ca6c7f7d495800f19e39c038c7ab2dc5
treea65764d0b456d99c2ef120e9ee68206c119df5ce
parent18c1d989528d84f019ff4c9add05d6c384c5d065
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