diff options
author | Chaithrika U S <chaithrika@ti.com> | 2009-05-28 05:09:21 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-08-26 03:56:56 -0400 |
commit | 75d0fa70e748629b786c25530f7c5ae76587da35 (patch) | |
tree | b728b2d83c6dd718c8de1f95a3a372f7815d9029 | |
parent | 2bcb613a7919a0a6a7a00408fbfd1c8e471fe060 (diff) |
davinci: dm646x: Adds McASP clock
Adds McASP clock support for the two instances of mcasp (mcasp0,mcasp1). This
patch is part of the audio support for dm646x series.
Signed-off-by: Naresh Medisetty <naresh@ti.com>
Signed-off-by: Chaithrika U S <chaithrika@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
-rw-r--r-- | arch/arm/mach-davinci/dm646x.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/dm646x.c b/arch/arm/mach-davinci/dm646x.c index 19e989db6f70..1391513b7381 100644 --- a/arch/arm/mach-davinci/dm646x.c +++ b/arch/arm/mach-davinci/dm646x.c | |||
@@ -227,6 +227,18 @@ static struct clk gpio_clk = { | |||
227 | .lpsc = DM646X_LPSC_GPIO, | 227 | .lpsc = DM646X_LPSC_GPIO, |
228 | }; | 228 | }; |
229 | 229 | ||
230 | static struct clk mcasp0_clk = { | ||
231 | .name = "mcasp0", | ||
232 | .parent = &pll1_sysclk3, | ||
233 | .lpsc = DM646X_LPSC_McASP0, | ||
234 | }; | ||
235 | |||
236 | static struct clk mcasp1_clk = { | ||
237 | .name = "mcasp1", | ||
238 | .parent = &pll1_sysclk3, | ||
239 | .lpsc = DM646X_LPSC_McASP1, | ||
240 | }; | ||
241 | |||
230 | static struct clk aemif_clk = { | 242 | static struct clk aemif_clk = { |
231 | .name = "aemif", | 243 | .name = "aemif", |
232 | .parent = &pll1_sysclk3, | 244 | .parent = &pll1_sysclk3, |
@@ -314,6 +326,8 @@ struct davinci_clk dm646x_clks[] = { | |||
314 | CLK(NULL, "uart2", &uart2_clk), | 326 | CLK(NULL, "uart2", &uart2_clk), |
315 | CLK("i2c_davinci.1", NULL, &i2c_clk), | 327 | CLK("i2c_davinci.1", NULL, &i2c_clk), |
316 | CLK(NULL, "gpio", &gpio_clk), | 328 | CLK(NULL, "gpio", &gpio_clk), |
329 | CLK(NULL, "mcasp0", &mcasp0_clk), | ||
330 | CLK(NULL, "mcasp1", &mcasp1_clk), | ||
317 | CLK(NULL, "aemif", &aemif_clk), | 331 | CLK(NULL, "aemif", &aemif_clk), |
318 | CLK("davinci_emac.1", NULL, &emac_clk), | 332 | CLK("davinci_emac.1", NULL, &emac_clk), |
319 | CLK(NULL, "pwm0", &pwm0_clk), | 333 | CLK(NULL, "pwm0", &pwm0_clk), |