Skip to content

PCI: Add legacy interrupt support in pci-j721e

Kishon Vijay Abraham I linux-arm-kernel linux-omap linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Changes from v2 from the cover letter

1) Dropped legacy interrupt support for J721e
2) Enable legacy interrupts registers in .irq_enable callback

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: PCI: ti,j721e: Add bindings to specify legacy interruptsDocumentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml+15 -00 replies
2/2PCI: j721e: Add PCI legacy interrupt support for J7200drivers/pci/controller/cadence/pci-j721e.c+119 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/2] 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. Hence legacy interrupt support is not added for J721E

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

Changes from v2:
1) Dropped legacy interrupt support for J721e
2) Enable legacy interrupts registers in .irq_enable callback

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] -> https://lore.kernel.org/linux-omap/[email protected]/

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

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