RFC ARM: at91: move aic driver to drivers/irqchips
Get series with b4
b4 am [email protected]Versions newest first
- v2 RFC Latest10 patches 8 repliesIn review
Changes in v2 from the cover letter
- rework the irq-mux bindings
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | genirq: generic chip: export irq_map_generic_chip functioninclude/ kernel/ | +5 | 0 replies | |
| 2/10 | irqchip: atmel-aic: add new atmel AIC driverdrivers/ drivers/ | +852 | 0 replies | |
| 3/10 | ARM: at91: introduce OLD_IRQ_AT91 Kconfig optionarch/ arch/ arch/ | +16 | 3 replies | |
| 4/10 | ARM: at91: enclose at91_aic_xx calls in IS_ENABLED(CONFIG_OLD_IRQ_AT91) blocksarch/ arch/ | +22 | 0 replies | |
| 5/10 | ARM: at91: make use of the new AIC driver for dt enabled boardsarch/ arch/ arch/ +1 more | +7 | 2 replies | |
| 6/10 | irqchip: atmel-aic: move binding doc to interrupt-controller directoryDocumentation/ | +0 | 0 replies | |
| 7/10 | irqchip: atmel-aic: document new dt properties and children nodesDocumentation/ | +41 | 3 replies | |
| 8/10 | ARM: at91: remove old irq materialarch/ | +6 | 0 replies | |
| 9/10 | ARM: at91/dt: add new AIC irq mux definitions for sam9x5 SoCsarch/ | +108 | 0 replies | |
| 10/10 | ARM: at91/dt: add new AIC irq mux definitions for sama5 SoCsarch/ arch/ | +57 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [RFC PATCH v2 00/10] ARM: at91: move aic driver to drivers/irqchips
Hello,
This series is a proposal to move AIC driver to the irqchip directory.
It also changes the implementation design of the interrupt controller in several ways:
- make use of the generic chip framework whenever possible
- add support for irq muxing definition to prevent spurious interrupts during system startup (see https://lkml.org/lkml/2013/3/8/175)
- only support dt enabled boards
Best Regards,
Boris
Changes since v1:
- rework the irq-mux bindings
Boris BREZILLON (10):
genirq: generic chip: export irq_map_generic_chip function
irqchip: atmel-aic: add new atmel AIC driver
ARM: at91: introduce OLD_IRQ_AT91 Kconfig option
ARM: at91: enclose at91_aic_xx calls in
IS_ENABLED(CONFIG_OLD_IRQ_AT91) blocks
ARM: at91: make use of the new AIC driver for dt enabled boards
irqchip: atmel-aic: move binding doc to interrupt-controller
directory
irqchip: atmel-aic: document new dt properties and children nodes
ARM: at91: remove old irq material
ARM: at91/dt: add new AIC irq mux definitions for sam9x5 SoCs
ARM: at91/dt: add new AIC irq mux definitions for sama5 SoCs
.../devicetree/bindings/arm/atmel-aic.txt | 42 - .../bindings/interrupt-controller/atmel,aic.txt | 82 ++ arch/arm/boot/dts/at91sam9x5.dtsi | 108 +++ arch/arm/boot/dts/sama5d3.dtsi | 37 + arch/arm/boot/dts/sama5d3_tcb1.dtsi | 20 + arch/arm/mach-at91/Kconfig | 11 + arch/arm/mach-at91/Kconfig.non_dt | 7 + arch/arm/mach-at91/Makefile | 3 +- arch/arm/mach-at91/board-dt-rm9200.c | 13 - arch/arm/mach-at91/board-dt-sam9.c | 14 - arch/arm/mach-at91/board-dt-sama5.c | 13 - arch/arm/mach-at91/irq.c | 270 +------ arch/arm/mach-at91/pm.c | 32 +- arch/arm/mach-at91/setup.c | 3 +- drivers/irqchip/Makefile | 1 + drivers/irqchip/irq-atmel-aic.c | 851 ++++++++++++++++++++ include/linux/irq.h | 2 + kernel/irq/generic-chip.c | 5 +- 18 files changed, 1152 insertions(+), 362 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/atmel-aic.txt create mode 100644 Documentation/devicetree/bindings/interrupt-controller/atmel,aic.txt create mode 100644 drivers/irqchip/irq-atmel-aic.c
Signature · 1 line
1.7.9.5