diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2011-07-26 10:54:26 -0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-08-23 02:55:02 -0400 |
commit | 5bc59bff8c3ee0971fbddb8d6885cb5f30f91c5a (patch) | |
tree | 3db7b2f548c58d0458ddd92e2703261e76f86758 /arch/arm/mach-mx5/clock-mx51-mx53.c | |
parent | a45adf1ce8012f67fe6014175f666ab2960e0350 (diff) |
imx51: add pata clock
Define the clock used by the imx51 pata device.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/clock-mx51-mx53.c')
-rw-r--r-- | arch/arm/mach-mx5/clock-mx51-mx53.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock-mx51-mx53.c b/arch/arm/mach-mx5/clock-mx51-mx53.c index 7f20308c4dbd..b6531333ba15 100644 --- a/arch/arm/mach-mx5/clock-mx51-mx53.c +++ b/arch/arm/mach-mx5/clock-mx51-mx53.c | |||
@@ -1414,6 +1414,10 @@ DEFINE_CLOCK(ipu_di0_clk, 0, MXC_CCM_CCGR6, MXC_CCM_CCGRx_CG5_OFFSET, | |||
1414 | DEFINE_CLOCK(ipu_di1_clk, 0, MXC_CCM_CCGR6, MXC_CCM_CCGRx_CG6_OFFSET, | 1414 | DEFINE_CLOCK(ipu_di1_clk, 0, MXC_CCM_CCGR6, MXC_CCM_CCGRx_CG6_OFFSET, |
1415 | NULL, NULL, &pll3_sw_clk, NULL); | 1415 | NULL, NULL, &pll3_sw_clk, NULL); |
1416 | 1416 | ||
1417 | /* PATA */ | ||
1418 | DEFINE_CLOCK(pata_clk, 0, MXC_CCM_CCGR4, MXC_CCM_CCGRx_CG0_OFFSET, | ||
1419 | NULL, NULL, &ipg_clk, &spba_clk); | ||
1420 | |||
1417 | #define _REGISTER_CLOCK(d, n, c) \ | 1421 | #define _REGISTER_CLOCK(d, n, c) \ |
1418 | { \ | 1422 | { \ |
1419 | .dev_id = d, \ | 1423 | .dev_id = d, \ |
@@ -1470,6 +1474,7 @@ static struct clk_lookup mx51_lookups[] = { | |||
1470 | _REGISTER_CLOCK("imx-ipuv3", "di0", ipu_di0_clk) | 1474 | _REGISTER_CLOCK("imx-ipuv3", "di0", ipu_di0_clk) |
1471 | _REGISTER_CLOCK("imx-ipuv3", "di1", ipu_di1_clk) | 1475 | _REGISTER_CLOCK("imx-ipuv3", "di1", ipu_di1_clk) |
1472 | _REGISTER_CLOCK(NULL, "gpc_dvfs", gpc_dvfs_clk) | 1476 | _REGISTER_CLOCK(NULL, "gpc_dvfs", gpc_dvfs_clk) |
1477 | _REGISTER_CLOCK("pata_imx", NULL, pata_clk) | ||
1473 | }; | 1478 | }; |
1474 | 1479 | ||
1475 | static struct clk_lookup mx53_lookups[] = { | 1480 | static struct clk_lookup mx53_lookups[] = { |