Skip to content

GIC OF bindings

Rob Herring linux-arm-kernel linux-devicetree lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 22 repliesIn review

Changes from the previous version from the cover letter

- SPIs and PPIs are numbered starting at 0. Now the gic has it's own irq domain translate function instead of the simple domain one.
- interrupt cell format has changed based on Grant's proposal.
- Dropped "ARM: gic: allow irq_start to be 0". Instead, the first 16 irqs are skipped and the domain irq_base adjusted accordingly.
- Added a fix to of_irq_find_parent when the parent == child.
- Renamed intc_desc.parent to intc_desc.interrupt_parent.
- Implemented Grant's algorithm for walking the list of interrupt controllers. Added a return value to interrupt init functions, so they don't get added to the parent list on a init failure.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3of/irq: of_irq_find_parent: check for parent equal to childdrivers/of/irq.c+7 -71 reply
2/3of/irq: introduce of_irq_initdrivers/of/irq.c include/linux/of_irq.h+115 -08 replies
3/3ARM: gic: add OF based initializationDocumentation/devicetree/bindings/arm/gic.txt arch/arm/common/gic.c arch/arm/include/asm/hardware/gic.h+152 -412 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchShawn GuoBenoit Cousson
SeriesT-b
1/3
2/3
3/3Almost-Tested-by T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] GIC OF bindings

From: Rob Herring <[email protected]>

Hopefully, this is the final or near final version of GIC binding support.

Changes from the previous version:
- SPIs and PPIs are numbered starting at 0. Now the gic has it's own irq domain translate function instead of the simple domain one.
- interrupt cell format has changed based on Grant's proposal.
- Dropped "ARM: gic: allow irq_start to be 0". Instead, the first 16 irqs are skipped and the domain irq_base adjusted accordingly.
- Added a fix to of_irq_find_parent when the parent == child.
- Renamed intc_desc.parent to intc_desc.interrupt_parent.
- Implemented Grant's algorithm for walking the list of interrupt controllers. Added a return value to interrupt init functions, so they don't get added to the parent list on a init failure.

The changes are significant enough that I did not include previous acked/reviewed/tested-by's.

Rob

Rob Herring (3):
of/irq: of_irq_find_parent: check for parent equal to child of/irq: introduce of_irq_init
ARM: gic: add OF based initialization

 Documentation/devicetree/bindings/arm/gic.txt |   55 +++++++++++
 arch/arm/common/gic.c                         |   89 ++++++++++++++++-
 arch/arm/include/asm/hardware/gic.h           |   12 +++
 drivers/of/irq.c                              |  128 +++++++++++++++++++++++--
 include/linux/of_irq.h                        |    1 +
 5 files changed, 274 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/gic.txt
Signature · 1 line
1.7.5.4