summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorPhilippe Reynes2015-07-26 23:37:48 +0200
committerShawn Guo2015-08-05 14:01:13 +0200
commit00a48fe341ed497be64df2c6875af0da45d6ae90 (patch)
treecba9badb1b74f7d49c3910596ea909d434692ccd /drivers/clk
parentclk: imx: add imx6ul clk tree support (diff)
downloadkernel-qcow2-linux-00a48fe341ed497be64df2c6875af0da45d6ae90.tar.gz
kernel-qcow2-linux-00a48fe341ed497be64df2c6875af0da45d6ae90.tar.xz
kernel-qcow2-linux-00a48fe341ed497be64df2c6875af0da45d6ae90.zip
clk: imx31: add a second rtc clock
The mxc rtc driver needs two clock. It was defined only one clock, so we define the second clock. Signed-off-by: Philippe Reynes <tremyfr@gmail.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/imx/clk-imx31.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx31.c b/drivers/clk/imx/clk-imx31.c
index fe66c40b7be2..1f8383475bb3 100644
--- a/drivers/clk/imx/clk-imx31.c
+++ b/drivers/clk/imx/clk-imx31.c
@@ -147,7 +147,8 @@ int __init mx31_clocks_init(unsigned long fref)
clk_register_clkdev(clk[cspi3_gate], NULL, "imx31-cspi.2");
clk_register_clkdev(clk[pwm_gate], "pwm", NULL);
clk_register_clkdev(clk[wdog_gate], NULL, "imx2-wdt.0");
- clk_register_clkdev(clk[rtc_gate], NULL, "imx21-rtc");
+ clk_register_clkdev(clk[ckil], "ref", "imx21-rtc");
+ clk_register_clkdev(clk[rtc_gate], "ipg", "imx21-rtc");
clk_register_clkdev(clk[epit1_gate], "epit", NULL);
clk_register_clkdev(clk[epit2_gate], "epit", NULL);
clk_register_clkdev(clk[nfc], NULL, "imx27-nand.0");