All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 1/6] ARM: DaVinci: ASoC: Adds McASP clock support for TI DM646X processor
@ 2009-05-28  9:09 Chaithrika U S
  2009-05-30  0:19 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Chaithrika U S @ 2009-05-28  9:09 UTC (permalink / raw)
  To: alsa-devel; +Cc: Chaithrika U S, davinci-linux-open-source, Naresh Medisetty

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>
---
This patch applies to the DaVinci git tree available at
http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git

 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 f95b5e9..07c8d88 100644
--- a/arch/arm/mach-davinci/dm646x.c
+++ b/arch/arm/mach-davinci/dm646x.c
@@ -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,
@@ -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),
-- 
1.5.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v3 1/6] ARM: DaVinci: ASoC: Adds McASP clock support for TI DM646X processor
  2009-05-28  9:09 [PATCH v3 1/6] ARM: DaVinci: ASoC: Adds McASP clock support for TI DM646X processor Chaithrika U S
@ 2009-05-30  0:19 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2009-05-30  0:19 UTC (permalink / raw)
  To: Chaithrika U S; +Cc: alsa-devel, davinci-linux-open-source, Naresh Medisetty

Chaithrika U S <chaithrika@ti.com> writes:

> 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>
> ---
> This patch applies to the DaVinci git tree available at
> http://git.kernel.org/?p=linux/kernel/git/khilman/linux-davinci.git

Thanks, pushing to DaVinci git today.

Kevin

>  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 f95b5e9..07c8d88 100644
> --- a/arch/arm/mach-davinci/dm646x.c
> +++ b/arch/arm/mach-davinci/dm646x.c
> @@ -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,
> @@ -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),
> -- 
> 1.5.6
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-30  0:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-28  9:09 [PATCH v3 1/6] ARM: DaVinci: ASoC: Adds McASP clock support for TI DM646X processor Chaithrika U S
2009-05-30  0:19 ` Kevin Hilman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.