Skip to content

PCI: Add legacy interrupt support in pci-j721e

Kishon Vijay Abraham I linux-arm-kernel linux-devicetree linux-omap linux-pci lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 12 repliesIn review
  2. v14 patches 3 repliesSuperseded

Changes in v2 from the cover letter

1) Only the legacy interrupt specific part is sent as part of this series. Rest are split and sent as a separate series [2]
2) Created irq_chip for legacy interrupt and used it's ops for enabling, disabling the interrupts.

[1] -> http://lore.kernel.org/r/[email protected]
[2] -> http://lore.kernel.org/r/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: PCI: ti,j721e: Add bindings to specify legacy interruptsDocumentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml+15 -06 replies
2/3PCI: j721e: Add PCI legacy interrupt support for J721Edrivers/pci/controller/cadence/pci-j721e.c+85 -06 replies
3/3PCI: j721e: Add PCI legacy interrupt support for J7200drivers/pci/controller/cadence/pci-j721e.c+71 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] PCI: Add legacy interrupt support in pci-j721e

Patch series adds support for legacy interrupt in pci-j721e. There are two HW implementations of legacy interrupt controller, one specific to J721E and the other for J7200/AM64.

In both these implementations, the legacy interrupt is connect to pulse interrupt of GIC and level to pulse is handled by configuring EOI register. EOI to convert level to pulse is broken in J721E due to an errata but is functional in J7200.

v1 of the patch series can be found @ [1]
Patch series is created on top of [2]

Changes from v1:
1) Only the legacy interrupt specific part is sent as part of this series. Rest are split and sent as a separate series [2]
2) Created irq_chip for legacy interrupt and used it's ops for enabling, disabling the interrupts.

[1] -> http://lore.kernel.org/r/[email protected]
[2] -> http://lore.kernel.org/r/[email protected]

Kishon Vijay Abraham I (3):
dt-bindings: PCI: ti,j721e: Add bindings to specify legacy interrupts
PCI: j721e: Add PCI legacy interrupt support for J721E
PCI: j721e: Add PCI legacy interrupt support for J7200

 .../bindings/pci/ti,j721e-pci-host.yaml       |  15 ++
 drivers/pci/controller/cadence/pci-j721e.c    | 150 ++++++++++++++++++
 2 files changed, 165 insertions(+)
Signature · 1 line
2.17.1