diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-10-08 10:00:11 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-10-11 09:30:31 -0400 |
commit | 8a8d20600dce01553c8505b7c576f8d4307e4ba8 (patch) | |
tree | 465b61cd90efd7b5f1e4c29cbb023be2847dcf89 /arch/arm/mach-mx5 | |
parent | 67520f3a896acb1635894fd25626f7fa7c91e61c (diff) |
ARM: imx: fix/define clocks and create devices for imx dma
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5')
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51.c b/arch/arm/mach-mx5/clock-mx51.c index e6c17d78189c..21cecc040172 100644 --- a/arch/arm/mach-mx5/clock-mx51.c +++ b/arch/arm/mach-mx5/clock-mx51.c | |||
@@ -977,6 +977,10 @@ DEFINE_CLOCK(cspi_ipg_clk, 0, MXC_CCM_CCGR4, MXC_CCM_CCGRx_CG9_OFFSET, | |||
977 | DEFINE_CLOCK(cspi_clk, 0, MXC_CCM_CCGR4, MXC_CCM_CCGRx_CG13_OFFSET, | 977 | DEFINE_CLOCK(cspi_clk, 0, MXC_CCM_CCGR4, MXC_CCM_CCGRx_CG13_OFFSET, |
978 | NULL, NULL, &ipg_clk, &cspi_ipg_clk); | 978 | NULL, NULL, &ipg_clk, &cspi_ipg_clk); |
979 | 979 | ||
980 | /* SDMA */ | ||
981 | DEFINE_CLOCK(sdma_clk, 1, MXC_CCM_CCGR4, MXC_CCM_CCGRx_CG15_OFFSET, | ||
982 | NULL, NULL, &ahb_clk, NULL); | ||
983 | |||
980 | #define _REGISTER_CLOCK(d, n, c) \ | 984 | #define _REGISTER_CLOCK(d, n, c) \ |
981 | { \ | 985 | { \ |
982 | .dev_id = d, \ | 986 | .dev_id = d, \ |
@@ -1003,6 +1007,7 @@ static struct clk_lookup lookups[] = { | |||
1003 | _REGISTER_CLOCK("mxc_nand", NULL, nfc_clk) | 1007 | _REGISTER_CLOCK("mxc_nand", NULL, nfc_clk) |
1004 | _REGISTER_CLOCK("imx-ssi.0", NULL, ssi1_clk) | 1008 | _REGISTER_CLOCK("imx-ssi.0", NULL, ssi1_clk) |
1005 | _REGISTER_CLOCK("imx-ssi.1", NULL, ssi2_clk) | 1009 | _REGISTER_CLOCK("imx-ssi.1", NULL, ssi2_clk) |
1010 | _REGISTER_CLOCK("imx-sdma", NULL, sdma_clk) | ||
1006 | _REGISTER_CLOCK(NULL, "ckih", ckih_clk) | 1011 | _REGISTER_CLOCK(NULL, "ckih", ckih_clk) |
1007 | _REGISTER_CLOCK(NULL, "ckih2", ckih2_clk) | 1012 | _REGISTER_CLOCK(NULL, "ckih2", ckih2_clk) |
1008 | _REGISTER_CLOCK(NULL, "gpt_32k", gpt_32k_clk) | 1013 | _REGISTER_CLOCK(NULL, "gpt_32k", gpt_32k_clk) |