Skip to content

Commit

Permalink
davinci: dm646x: Adds McASP clock
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chaithrika U S authored and Kevin Hilman committed Aug 26, 2009
1 parent 2bcb613 commit 75d0fa7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm/mach-davinci/dm646x.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,18 @@ static struct clk gpio_clk = {
.lpsc = DM646X_LPSC_GPIO,
};

static struct clk mcasp0_clk = {
.name = "mcasp0",
.parent = &pll1_sysclk3,
.lpsc = DM646X_LPSC_McASP0,
};

static struct clk mcasp1_clk = {
.name = "mcasp1",
.parent = &pll1_sysclk3,
.lpsc = DM646X_LPSC_McASP1,
};

static struct clk aemif_clk = {
.name = "aemif",
.parent = &pll1_sysclk3,
Expand Down Expand Up @@ -314,6 +326,8 @@ struct davinci_clk dm646x_clks[] = {
CLK(NULL, "uart2", &uart2_clk),
CLK("i2c_davinci.1", NULL, &i2c_clk),
CLK(NULL, "gpio", &gpio_clk),
CLK(NULL, "mcasp0", &mcasp0_clk),
CLK(NULL, "mcasp1", &mcasp1_clk),
CLK(NULL, "aemif", &aemif_clk),
CLK("davinci_emac.1", NULL, &emac_clk),
CLK(NULL, "pwm0", &pwm0_clk),
Expand Down

0 comments on commit 75d0fa7

Please sign in to comment.