ARM: at91: irqdomain and device tree for AIC and GPIO
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 6 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] ARM: at91: irqdomain and device tree for AIC and GPIO
On 12/16/2011 02:53 AM, Rob Herring :
Quoted 41 lines
Nicolas,
Quoted 24 lines · Nicolas Ferre
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: exportirq_domain_simple_opsfor !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 supportNicolas 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_irqgpio_chiphandler and reworkirq_to_gpio
ARM: at91/gpio: remove the static specification of gpio_chip.base
ARM: at91/board-dt: remove AIC irq domain from board fileQuoted 13 lines
.../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
Quoted 6 lines
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.gitpl061-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,
Signature · 1 line
Nicolas Ferre