]> git.baikalelectronics.ru Git - kernel.git/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)
commitb3cf05d5009050b0506806cf5ccacf85d01dd9c1
treed76ea7f7d8402b1a197312478677e76bbbbdc556
parentdb6e3e600e75de9ad0eadc14cb6cc1408aac7553
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