All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PCI: Add legacy interrupt support in pci-j721e
@ 2021-08-11 12:38 ` Kishon Vijay Abraham I
  0 siblings, 0 replies; 8+ messages in thread
From: Kishon Vijay Abraham I @ 2021-08-11 12:38 UTC (permalink / raw)
  To: Lorenzo Pieralisi, Marc Zyngier, Rob Herring, Bjorn Helgaas
  Cc: Lokesh Vutla, kishon, linux-pci, linux-kernel, linux-omap,
	linux-arm-kernel

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/20210325090936.9306-1-kishon@ti.com
[2] -> https://lore.kernel.org/linux-omap/20210811123336.31357-1-kishon@ti.com/

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(+)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-08-11 15:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 12:38 [PATCH 0/2] PCI: Add legacy interrupt support in pci-j721e Kishon Vijay Abraham I
2021-08-11 12:38 ` Kishon Vijay Abraham I
2021-08-11 12:38 ` [PATCH 1/2] dt-bindings: PCI: ti,j721e: Add bindings to specify legacy interrupts Kishon Vijay Abraham I
2021-08-11 12:38   ` [PATCH 1/2] dt-bindings: PCI: ti, j721e: " Kishon Vijay Abraham I
2021-08-11 12:38 ` [PATCH 2/2] PCI: j721e: Add PCI legacy interrupt support for J7200 Kishon Vijay Abraham I
2021-08-11 12:38   ` Kishon Vijay Abraham I
2021-08-11 14:58   ` Marc Zyngier
2021-08-11 14:58     ` Marc Zyngier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.