GIC OF bindings
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 50 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | irq: add declaration of irq_domain_simple_ops to irqdomain.hinclude/ | +1 | 0 replies | |
| 2/5 | irq: fix existing domain check in irq_domain_addkernel/ | +1 | 2 replies | |
| 3/5 | of/irq: introduce of_irq_initdrivers/ include/ | +97 | 4 replies | |
| 4/5 | ARM: gic: allow irq_start to be 0arch/ | +1 | 2 replies | |
| 5/5 | ARM: gic: add OF based initializationDocumentation/ arch/ arch/ | +114 | 40 replies |
Reviews trailers per patch
2 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jamie Iles | Arnd Bergmann | Shawn Guo |
|---|---|---|---|
| Series | R-b | T-b | |
| 1/5 | |||
| 2/5 | |||
| 3/5 | A-b | ||
| 4/5 | |||
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/5] GIC OF bindings
From: Rob Herring <[email protected]>
This series introduces of_irq_init to scan the device tree for interrupt controller nodes and call their init functions in proper order. The GIC init function is then called from this function. The platform code then looks something like this:
const static struct of_device_id irq_match[] = {
{ .compatible = "arm,cortex-a9-gic", .data = gic_of_init, },
{}
};static void __init highbank_init_irq(void)
{
of_irq_init(irq_match);
}The binding for GIC PPIs is now done with a 3rd interrupt cell to specify a cpu mask for which cpu the PPI is connected to. This was discussed at LPC and suggested by Grant.
I dropped the public intc_desc struct. The the interrupt controller's node and the interrupt parent's node are passed in directly to the controller's init function. The linux irq assignment is now done dynamically using irq_alloc_descs.
The first 2 patches are minor fixes to irqdomains.
Rob
Rob Herring (5):
irq: add declaration of irq_domain_simple_ops to irqdomain.h
irq: fix existing domain check in irq_domain_add of/irq: introduce of_irq_init
ARM: gic: allow irq_start to be 0
ARM: gic: add OF based initialization
Documentation/devicetree/bindings/arm/gic.txt | 53 ++++++++++++++ arch/arm/common/gic.c | 57 +++++++++++++-- arch/arm/include/asm/hardware/gic.h | 10 +++ drivers/of/irq.c | 96 +++++++++++++++++++++++++ include/linux/irqdomain.h | 1 + include/linux/of_irq.h | 1 + kernel/irq/irqdomain.c | 2 +- 7 files changed, 214 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/gic.txt
Signature · 1 line
1.7.5.4