From: nicolas.ferre@atmel.com (Nicolas Ferre)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/6] ARM: at91: irqdomain and device tree for AIC and GPIO
Date: Fri, 16 Dec 2011 17:29:29 +0100 [thread overview]
Message-ID: <4EEB71E9.3050609@atmel.com> (raw)
In-Reply-To: <4EEAA4A7.3040902@gmail.com>
On 12/16/2011 02:53 AM, Rob Herring :
> Nicolas,
>
> On 12/15/2011 01:16 PM, Nicolas Ferre wrote:
>> Hi,
>>
>> This series adds irqdomain and device tree support for both the
>> interrupt and GPIO controllers of AT91 SoC.
>>
>> The AIC part has already been sent some time ago but has been
>> reworked to address Rob's comments. This reworked patch is marked
>> with a "v4" tag.
>>
>> The series can go on top of Jamie's patch
>> "irqdomain: export irq_domain_simple_ops for !CONFIG_OF"
>> and has been tested on top of 'v3.2-rc5' + 'arm-soc/at91/ioremap'
>> and 'arm-soc/at91/gpio'
>>
>> Jean-Christophe PLAGNIOL-VILLARD (1):
>> ARM: at91/gpio: add DT support
>>
>> Nicolas Ferre (5):
>> ARM: at91/aic: add irq domain and device tree support
>> ARM: at91/gpio: add irqdomain to gpio interrupts
>> ARM: at91/gpio: add .to_irq gpio_chip handler and rework irq_to_gpio
>> ARM: at91/gpio: remove the static specification of gpio_chip.base
>> ARM: at91/board-dt: remove AIC irq domain from board file
>>
>> .../devicetree/bindings/arm/atmel-aic.txt | 38 ++++
>> .../devicetree/bindings/gpio/gpio_at91.txt | 20 ++
>> arch/arm/Kconfig | 1 +
>> arch/arm/boot/dts/at91sam9g20.dtsi | 44 ++++-
>> arch/arm/boot/dts/at91sam9g45.dtsi | 59 +++++-
>> arch/arm/mach-at91/board-dt.c | 15 +--
>> arch/arm/mach-at91/gpio.c | 197 ++++++++++++++++----
>> arch/arm/mach-at91/include/mach/gpio.h | 12 --
>> arch/arm/mach-at91/include/mach/irqs.h | 3 +-
>> arch/arm/mach-at91/irq.c | 91 +++++++--
>> 10 files changed, 383 insertions(+), 97 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/arm/atmel-aic.txt
>> create mode 100644 Documentation/devicetree/bindings/gpio/gpio_at91.txt
>
> What about using generic irq chip as I previously mentioned? It looks to
> me like both the AIC and gpio controller could use it. I've added irq
> domain support to generic irq chip, so it should simplify your changes.
> The latest branch is here:
>
> git://sources.calxeda.com/kernel/linux.git pl061-domain-v2
Rob,
Yes, that definitively makes sense but I fear that this rework will
delay again the introduction of a couple of products and the work we
have to do to enable DT for other drivers.
The AIC and GPIO will definitively need a rework but I cannot start this
now and as I have a nearly working solution, I would prefer to start
this task later...
Best regards,
--
Nicolas Ferre
WARNING: multiple messages have this Message-ID (diff)
From: Nicolas Ferre <nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
To: Rob Herring <robherring2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
tglx-hfZtesqFncYOwBW4kG4KsQ@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 0/6] ARM: at91: irqdomain and device tree for AIC and GPIO
Date: Fri, 16 Dec 2011 17:29:29 +0100 [thread overview]
Message-ID: <4EEB71E9.3050609@atmel.com> (raw)
In-Reply-To: <4EEAA4A7.3040902-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
On 12/16/2011 02:53 AM, Rob Herring :
> Nicolas,
>
> On 12/15/2011 01:16 PM, Nicolas Ferre wrote:
>> Hi,
>>
>> This series adds irqdomain and device tree support for both the
>> interrupt and GPIO controllers of AT91 SoC.
>>
>> The AIC part has already been sent some time ago but has been
>> reworked to address Rob's comments. This reworked patch is marked
>> with a "v4" tag.
>>
>> The series can go on top of Jamie's patch
>> "irqdomain: export irq_domain_simple_ops for !CONFIG_OF"
>> and has been tested on top of 'v3.2-rc5' + 'arm-soc/at91/ioremap'
>> and 'arm-soc/at91/gpio'
>>
>> Jean-Christophe PLAGNIOL-VILLARD (1):
>> ARM: at91/gpio: add DT support
>>
>> Nicolas Ferre (5):
>> ARM: at91/aic: add irq domain and device tree support
>> ARM: at91/gpio: add irqdomain to gpio interrupts
>> ARM: at91/gpio: add .to_irq gpio_chip handler and rework irq_to_gpio
>> ARM: at91/gpio: remove the static specification of gpio_chip.base
>> ARM: at91/board-dt: remove AIC irq domain from board file
>>
>> .../devicetree/bindings/arm/atmel-aic.txt | 38 ++++
>> .../devicetree/bindings/gpio/gpio_at91.txt | 20 ++
>> arch/arm/Kconfig | 1 +
>> arch/arm/boot/dts/at91sam9g20.dtsi | 44 ++++-
>> arch/arm/boot/dts/at91sam9g45.dtsi | 59 +++++-
>> arch/arm/mach-at91/board-dt.c | 15 +--
>> arch/arm/mach-at91/gpio.c | 197 ++++++++++++++++----
>> arch/arm/mach-at91/include/mach/gpio.h | 12 --
>> arch/arm/mach-at91/include/mach/irqs.h | 3 +-
>> arch/arm/mach-at91/irq.c | 91 +++++++--
>> 10 files changed, 383 insertions(+), 97 deletions(-)
>> create mode 100644 Documentation/devicetree/bindings/arm/atmel-aic.txt
>> create mode 100644 Documentation/devicetree/bindings/gpio/gpio_at91.txt
>
> What about using generic irq chip as I previously mentioned? It looks to
> me like both the AIC and gpio controller could use it. I've added irq
> domain support to generic irq chip, so it should simplify your changes.
> The latest branch is here:
>
> git://sources.calxeda.com/kernel/linux.git pl061-domain-v2
Rob,
Yes, that definitively makes sense but I fear that this rework will
delay again the introduction of a couple of products and the work we
have to do to enable DT for other drivers.
The AIC and GPIO will definitively need a rework but I cannot start this
now and as I have a nearly working solution, I would prefer to start
this task later...
Best regards,
--
Nicolas Ferre
next prev parent reply other threads:[~2011-12-16 16:29 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-15 19:16 [PATCH 0/6] ARM: at91: irqdomain and device tree for AIC and GPIO Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2011-12-15 19:16 ` [PATCH v4 1/6] ARM: at91/aic: add irq domain and device tree support Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2012-01-04 19:40 ` Grant Likely
2012-01-04 19:40 ` Grant Likely
2012-01-05 16:26 ` Nicolas Ferre
2012-01-05 16:26 ` Nicolas Ferre
2012-01-05 18:02 ` Grant Likely
2012-01-05 18:02 ` Grant Likely
2011-12-15 19:16 ` [PATCH 2/6] ARM: at91/gpio: add irqdomain to gpio interrupts Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2012-01-04 19:42 ` Grant Likely
2012-01-04 19:42 ` Grant Likely
2011-12-15 19:16 ` [PATCH 3/6] ARM: at91/gpio: add DT support Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2011-12-16 10:11 ` Jamie Iles
2011-12-16 10:11 ` Jamie Iles
2012-01-03 16:25 ` Nicolas Ferre
2012-01-03 16:25 ` Nicolas Ferre
2012-01-03 18:34 ` [PATCH v2 " Nicolas Ferre
2012-01-03 18:34 ` Nicolas Ferre
2012-01-04 19:45 ` Grant Likely
2012-01-04 19:45 ` Grant Likely
2012-01-04 22:04 ` Russell King - ARM Linux
2012-01-04 22:04 ` Russell King - ARM Linux
2012-01-05 19:42 ` [PATCH v3 " Nicolas Ferre
2012-01-05 19:42 ` Nicolas Ferre
2012-01-05 17:50 ` Nicolas Ferre
2012-01-05 17:50 ` Nicolas Ferre
2012-01-05 20:03 ` [PATCH v4 " Nicolas Ferre
2012-01-05 20:03 ` Nicolas Ferre
2011-12-15 19:16 ` [PATCH 4/6] ARM: at91/gpio: add .to_irq gpio_chip handler and rework irq_to_gpio Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2012-01-04 19:47 ` Grant Likely
2012-01-04 19:47 ` Grant Likely
2011-12-15 19:16 ` [PATCH 5/6] ARM: at91/gpio: remove the static specification of gpio_chip.base Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2012-01-04 19:47 ` Grant Likely
2012-01-04 19:47 ` Grant Likely
2011-12-15 19:16 ` [PATCH 6/6] ARM: at91/board-dt: remove AIC irq domain from board file Nicolas Ferre
2011-12-15 19:16 ` Nicolas Ferre
2012-01-04 19:48 ` Grant Likely
2012-01-04 19:48 ` Grant Likely
2011-12-16 1:53 ` [PATCH 0/6] ARM: at91: irqdomain and device tree for AIC and GPIO Rob Herring
2011-12-16 1:53 ` Rob Herring
2011-12-16 16:29 ` Nicolas Ferre [this message]
2011-12-16 16:29 ` 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=4EEB71E9.3050609@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.