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/1] ARM: at91: at91sam9n12: move external irq declatation to DT
Date: Fri, 24 May 2013 10:26:41 +0200	[thread overview]
Message-ID: <519F2441.4010000@atmel.com> (raw)
In-Reply-To: <1369349956-22985-1-git-send-email-plagnioj@jcrosoft.com>

On 24/05/2013 00:59, Jean-Christophe PLAGNIOL-VILLARD :
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>

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

Stacked on at91-3.10-fixes. Thanks.


> ---
>   arch/arm/boot/dts/at91sam9n12.dtsi |    1 +
>   arch/arm/mach-at91/at91sam9n12.c   |    6 ------
>   2 files changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index 566af32..d864f7a9 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -60,6 +60,7 @@
>   				compatible = "atmel,at91rm9200-aic";
>   				interrupt-controller;
>   				reg = <0xfffff000 0x200>;
> +				atmel,external-irqs = <31>;
>   			};
>
>   			ramc0: ramc at ffffe800 {
> diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
> index 13cdbcd..c7d670d1 100644
> --- a/arch/arm/mach-at91/at91sam9n12.c
> +++ b/arch/arm/mach-at91/at91sam9n12.c
> @@ -223,13 +223,7 @@ static void __init at91sam9n12_map_io(void)
>   	at91_init_sram(0, AT91SAM9N12_SRAM_BASE, AT91SAM9N12_SRAM_SIZE);
>   }
>
> -void __init at91sam9n12_initialize(void)
> -{
> -	at91_extern_irq = (1 << AT91SAM9N12_ID_IRQ0);
> -}
> -
>   AT91_SOC_START(at91sam9n12)
>   	.map_io = at91sam9n12_map_io,
>   	.register_clocks = at91sam9n12_register_clocks,
> -	.init = at91sam9n12_initialize,
>   AT91_SOC_END
>


-- 
Nicolas Ferre

WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
To: Jean-Christophe PLAGNIOL-VILLARD
	<plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 1/1] ARM: at91: at91sam9n12: move external irq declatation to DT
Date: Fri, 24 May 2013 10:26:41 +0200	[thread overview]
Message-ID: <519F2441.4010000@atmel.com> (raw)
In-Reply-To: <1369349956-22985-1-git-send-email-plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>

On 24/05/2013 00:59, Jean-Christophe PLAGNIOL-VILLARD :
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj-sclMFOaUSTBWk0Htik3J/w@public.gmane.org>
> Cc: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

Acked-by: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>

Stacked on at91-3.10-fixes. Thanks.


> ---
>   arch/arm/boot/dts/at91sam9n12.dtsi |    1 +
>   arch/arm/mach-at91/at91sam9n12.c   |    6 ------
>   2 files changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91sam9n12.dtsi b/arch/arm/boot/dts/at91sam9n12.dtsi
> index 566af32..d864f7a9 100644
> --- a/arch/arm/boot/dts/at91sam9n12.dtsi
> +++ b/arch/arm/boot/dts/at91sam9n12.dtsi
> @@ -60,6 +60,7 @@
>   				compatible = "atmel,at91rm9200-aic";
>   				interrupt-controller;
>   				reg = <0xfffff000 0x200>;
> +				atmel,external-irqs = <31>;
>   			};
>
>   			ramc0: ramc@ffffe800 {
> diff --git a/arch/arm/mach-at91/at91sam9n12.c b/arch/arm/mach-at91/at91sam9n12.c
> index 13cdbcd..c7d670d1 100644
> --- a/arch/arm/mach-at91/at91sam9n12.c
> +++ b/arch/arm/mach-at91/at91sam9n12.c
> @@ -223,13 +223,7 @@ static void __init at91sam9n12_map_io(void)
>   	at91_init_sram(0, AT91SAM9N12_SRAM_BASE, AT91SAM9N12_SRAM_SIZE);
>   }
>
> -void __init at91sam9n12_initialize(void)
> -{
> -	at91_extern_irq = (1 << AT91SAM9N12_ID_IRQ0);
> -}
> -
>   AT91_SOC_START(at91sam9n12)
>   	.map_io = at91sam9n12_map_io,
>   	.register_clocks = at91sam9n12_register_clocks,
> -	.init = at91sam9n12_initialize,
>   AT91_SOC_END
>


-- 
Nicolas Ferre

  reply	other threads:[~2013-05-24  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23 22:59 [PATCH 1/1] ARM: at91: at91sam9n12: move external irq declatation to DT Jean-Christophe PLAGNIOL-VILLARD
2013-05-23 22:59 ` Jean-Christophe PLAGNIOL-VILLARD
2013-05-24  8:26 ` Nicolas Ferre [this message]
2013-05-24  8:26   ` Nicolas Ferre

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=519F2441.4010000@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.