aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@linaro.org>2011-12-12 10:13:58 +0800
committerEric Miao <eric.miao@linaro.org>2012-01-12 10:16:06 +0800
commit87a43bbfd65587c1cae7f13d7caef87f21d7a5c0 (patch)
tree139addc8b8be0f5d8ddfafe423f27078471a7542
parent232ee49713f86460b46e7df3ef45d0e1d9cbb75b (diff)
downloadlinux-linaro-87a43bbfd65587c1cae7f13d7caef87f21d7a5c0.tar.gz
arm/imx6q: register arm_clk as cpu to clkdev
cpufreq needs cpu clock to change frequency. Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
-rw-r--r--arch/arm/mach-imx/clock-imx6q.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/clock-imx6q.c b/arch/arm/mach-imx/clock-imx6q.c
index b347a847c64..7af7c9a5962 100644
--- a/arch/arm/mach-imx/clock-imx6q.c
+++ b/arch/arm/mach-imx/clock-imx6q.c
@@ -1912,6 +1912,7 @@ static struct clk_lookup lookups[] = {
_REGISTER_CLOCK(NULL, "gpmi_io_clk", gpmi_io_clk),
_REGISTER_CLOCK(NULL, "usboh3_clk", usboh3_clk),
_REGISTER_CLOCK(NULL, "sata_clk", sata_clk),
+ _REGISTER_CLOCK(NULL, "cpu", arm_clk),
};
int imx6q_set_lpm(enum mxc_cpu_pwr_mode mode)