All of lore.kernel.org
 help / color / mirror / Atom feed
From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: at91: add PWM clock
Date: Wed, 12 Mar 2014 18:17:27 +0100	[thread overview]
Message-ID: <532096A7.30202@atmel.com> (raw)
In-Reply-To: <1387425558-8589-2-git-send-email-voice.shen@atmel.com>

On 19/12/2013 04:59, Bo Shen :
> Add PWM clock for AT91 series SoC which include PWM controller.
> 
> Signed-off-by: Bo Shen <voice.shen@atmel.com>

This one was forgotten in previous update.

Stacked on at91-3.15-cleanup because of dependency on 9rl modifications.

Thanks.


> ---
>  arch/arm/mach-at91/at91sam9263.c |    1 +
>  arch/arm/mach-at91/at91sam9g45.c |    1 +
>  arch/arm/mach-at91/at91sam9n12.c |    1 +
>  arch/arm/mach-at91/at91sam9rl.c  |    1 +
>  arch/arm/mach-at91/at91sam9x5.c  |    1 +
>  5 files changed, 5 insertions(+)
> 
> diff --git a/arch/arm/mach-at91/at91sam9263.c b/arch/arm/mach-at91/at91sam9263.c
> index 37b90f4..fbd771d 100644
> --- a/arch/arm/mach-at91/at91sam9263.c
> +++ b/arch/arm/mach-at91/at91sam9263.c
> @@ -223,6 +223,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_DEV_ID(NULL, "fffff600.gpio", &pioCDE_clk),
>  	CLKDEV_CON_DEV_ID(NULL, "fffff800.gpio", &pioCDE_clk),
>  	CLKDEV_CON_DEV_ID(NULL, "fffffa00.gpio", &pioCDE_clk),
> +	CLKDEV_CON_DEV_ID(NULL, "fffb8000.pwm", &pwm_clk),
>  };
>  
>  static struct clk_lookup usart_clocks_lookups[] = {
> diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
> index 2f455ce..e9ba934 100644
> --- a/arch/arm/mach-at91/at91sam9g45.c
> +++ b/arch/arm/mach-at91/at91sam9g45.c
> @@ -284,6 +284,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_ID("pioE", &pioDE_clk),
>  	/* Fake adc clock */
>  	CLKDEV_CON_ID("adc_clk", &tsc_clk),
> +	CLKDEV_CON_DEV_ID(NULL, "fffb8000.pwm", &pwm_clk),
>  };
>  
>  static struct clk_lookup usart_clocks_lookups[] = {
> diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
> index 4ef088c..f2ea7b0 100644
> --- a/arch/arm/mach-at91/at91sam9n12.c
> +++ b/arch/arm/mach-at91/at91sam9n12.c
> @@ -182,6 +182,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	/* additional fake clock for macb_hclk */
>  	CLKDEV_CON_DEV_ID("hclk", "500000.ohci", &uhp_clk),
>  	CLKDEV_CON_DEV_ID("ohci_clk", "500000.ohci", &uhp_clk),
> +	CLKDEV_CON_DEV_ID(NULL, "f8034000.pwm", &pwm_clk),
>  };
>  
>  /*
> diff --git a/arch/arm/mach-at91/at91sam9rl.c b/arch/arm/mach-at91/at91sam9rl.c
> index 3651517..e577d37 100644
> --- a/arch/arm/mach-at91/at91sam9rl.c
> +++ b/arch/arm/mach-at91/at91sam9rl.c
> @@ -196,6 +196,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_ID("pioB", &pioB_clk),
>  	CLKDEV_CON_ID("pioC", &pioC_clk),
>  	CLKDEV_CON_ID("pioD", &pioD_clk),
> +	CLKDEV_CON_DEV_ID(NULL, "fffc8000.pwm", &pwm_clk),
>  };
>  
>  static struct clk_lookup usart_clocks_lookups[] = {
> diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c
> index 3e8ec26..9ad781d 100644
> --- a/arch/arm/mach-at91/at91sam9x5.c
> +++ b/arch/arm/mach-at91/at91sam9x5.c
> @@ -253,6 +253,7 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_CON_DEV_ID("ehci_clk", "700000.ehci", &uhphs_clk),
>  	CLKDEV_CON_DEV_ID("hclk", "500000.gadget", &utmi_clk),
>  	CLKDEV_CON_DEV_ID("pclk", "500000.gadget", &udphs_clk),
> +	CLKDEV_CON_DEV_ID(NULL, "f8034000.pwm", &pwm_clk),
>  };
>  
>  /*
> 


-- 
Nicolas Ferre

  reply	other threads:[~2014-03-12 17:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19  3:59 [PATCH 0/3] ARM: at91: add PWM clock and device node Bo Shen
2013-12-19  3:59 ` [PATCH 1/3] ARM: at91: add PWM clock Bo Shen
2014-03-12 17:17   ` Nicolas Ferre [this message]
2013-12-19  3:59 ` [PATCH 2/3] ARM: at91: add PWM device node Bo Shen
2013-12-19  3:59 ` [PATCH 3/3] arm: at91: at91sam9m10g45ek: switch to PWM leds Bo Shen

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=532096A7.30202@atmel.com \
    --to=nicolas.ferre@atmel.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.