]> git.itanic.dy.fi Git - linux-stable/commit
ARM: imx6q: move low-power code out of clock driver
authorShawn Guo <shawn.guo@linaro.org>
Wed, 25 Sep 2013 15:09:36 +0000 (23:09 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 21 Oct 2013 01:39:24 +0000 (09:39 +0800)
commit9e8147bb5ec5d1dda2141da70f96b98985a306cb
treed76ea7f7d8402b1a197312478677e76bbbbdc556
parent803648db201f6c5f45e74a646f8f17bdeeb7b7e6
ARM: imx6q: move low-power code out of clock driver

The LPM (Low Power Mode) code that currently sits in imx6q clock driver
will be reused by imx6sl.  Let's move it into pm-imx6q.c, so that we
can keep clock driver SoC specific and reuse pm-imx6q.c on imx6sl.

In order to avoid adding another ioremap for CCM block,
imx6q_pm_set_ccm_base() is created to let clock driver set up ccm_base
for pm code.

During the move, the unused CCGR macros get removed.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/clk-imx6q.c
arch/arm/mach-imx/common.h
arch/arm/mach-imx/pm-imx6q.c