public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel•com (Nicolas Ferre)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH v3 2/3] ARM: at91: add clocks for DT entries
Date: Tue, 22 May 2012 14:56:03 +0200	[thread overview]
Message-ID: <4FBB8CE3.5010104@atmel.com> (raw)
In-Reply-To: <1337681352-18521-3-git-send-email-ludovic.desroches@atmel.com>

On 05/22/2012 12:09 PM, ludovic.desroches at atmel.com :
> From: Ludovic Desroches <ludovic.desroches@atmel•com>
> 
> Add clocks to clock lookup table for DT entries.
> 
> Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel•com>

Acked-by: Nicolas Ferre <nicolas.ferre@atmel•com>

This one will probably go through arm-soc git tree...

> ---
>  arch/arm/mach-at91/at91sam9260.c |    1 +
>  arch/arm/mach-at91/at91sam9g45.c |    2 ++
>  arch/arm/mach-at91/at91sam9x5.c  |    2 ++
>  3 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c
> index 46f7742..c356471 100644
> --- a/arch/arm/mach-at91/at91sam9260.c
> +++ b/arch/arm/mach-at91/at91sam9260.c
> @@ -218,6 +218,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_DEV_ID("t1_clk", "fffdc000.timer", &tc4_clk),
>  	CLKDEV_CON_DEV_ID("t2_clk", "fffdc000.timer", &tc5_clk),
>  	CLKDEV_CON_DEV_ID("hclk", "500000.ohci", &ohci_clk),
> +	CLKDEV_CON_DEV_ID("mci_clk", "fffa8000.mmc", &mmc_clk),
>  	/* fake hclk clock */
>  	CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk),
>  	CLKDEV_CON_ID("pioA", &pioA_clk),
> diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
> index d222f83..0a2c662 100644
> --- a/arch/arm/mach-at91/at91sam9g45.c
> +++ b/arch/arm/mach-at91/at91sam9g45.c
> @@ -235,6 +235,8 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_DEV_ID("t0_clk", "fffd4000.timer", &tcb0_clk),
>  	CLKDEV_CON_DEV_ID("hclk", "700000.ohci", &uhphs_clk),
>  	CLKDEV_CON_DEV_ID("ehci_clk", "800000.ehci", &uhphs_clk),
> +	CLKDEV_CON_DEV_ID("mci_clk", "fff80000.mmc", &mmc0_clk),
> +	CLKDEV_CON_DEV_ID("mci_clk", "fffd0000.mmc", &mmc1_clk),
>  	/* fake hclk clock */
>  	CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &uhphs_clk),
>  	CLKDEV_CON_ID("pioA", &pioA_clk),
> diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
> index 13c8cae..39cbef3 100644
> --- a/arch/arm/mach-at91/at91sam9x5.c
> +++ b/arch/arm/mach-at91/at91sam9x5.c
> @@ -225,6 +225,8 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_DEV_ID("t0_clk", "f800c000.timer", &tcb0_clk),
>  	CLKDEV_CON_DEV_ID("dma_clk", "ffffec00.dma-controller", &dma0_clk),
>  	CLKDEV_CON_DEV_ID("dma_clk", "ffffee00.dma-controller", &dma1_clk),
> +	CLKDEV_CON_DEV_ID("mci_clk", "f0008000.mmc", &mmc0_clk),
> +	CLKDEV_CON_DEV_ID("mci_clk", "f000c000.mmc", &mmc1_clk),
>  	CLKDEV_CON_ID("pioA", &pioAB_clk),
>  	CLKDEV_CON_ID("pioB", &pioAB_clk),
>  	CLKDEV_CON_ID("pioC", &pioCD_clk),


-- 
Nicolas Ferre

  reply	other threads:[~2012-05-22 12:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-22 10:09 [PATCH v3 0/3] atmel-mci device tree support ludovic.desroches at atmel.com
2012-05-22 10:09 ` [PATCH v3 1/3] mmc: atmel-mci: add " ludovic.desroches at atmel.com
2012-05-22 12:55   ` Nicolas Ferre
2012-05-22 14:08   ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-22 14:48     ` ludovic.desroches
2012-05-22 15:10       ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-22 15:18         ` Nicolas Ferre
2012-05-23  7:23   ` [PATCH v4 " ludovic.desroches at atmel.com
2012-05-24  9:43     ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-24 14:40       ` Chris Ball
2012-05-22 10:09 ` [PATCH v3 2/3] ARM: at91: add clocks for DT entries ludovic.desroches at atmel.com
2012-05-22 12:56   ` Nicolas Ferre [this message]
2012-05-22 14:11   ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-23 19:38   ` [PATCH v4 " ludovic.desroches at atmel.com
2012-05-24  9:43     ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-22 10:09 ` [PATCH v3 3/3] ARM: dts: add nodes for atmel hsmci controllers for atmel platforms ludovic.desroches at atmel.com
2012-05-22 13:11   ` Nicolas Ferre
2012-05-22 14:13   ` Jean-Christophe PLAGNIOL-VILLARD
2012-05-22 14:41     ` ludovic.desroches
2012-05-23 19:42   ` [PATCH v4 " ludovic.desroches at atmel.com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FBB8CE3.5010104@atmel.com \
    --to=nicolas.ferre@atmel$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox