linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Enable rk356x PCIe controller
@ 2022-04-13 13:37 Peter Geis
  2022-04-13 13:37 ` [PATCH v2 1/4] dt-bindings: pci: remove fallback from Rockchip DesignWare binding Peter Geis
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Peter Geis @ 2022-04-13 13:37 UTC (permalink / raw)
  Cc: linux-rockchip, heiko, Peter Geis, linux-pci, devicetree,
	linux-arm-kernel, linux-kernel

This series enables the DesignWare based PCIe controller on the rk356x
series of chips.
We drop the fallback to the core driver due to compatibility issues.
We add support for legacy interrupts for cards that lack MSI support
(which is partially broken currently).
We then add the device tree nodes to enable PCIe on the Quartz64 Model
A.

Patch 1 drops the snps,dw,pcie fallback from the dt-binding
Patch 2 adds legacy interrupt support to the driver
Patch 3 adds the device tree binding to the rk356x.dtsi
Patch 4 enables the PCIe controller on the Quartz64-A

Changelog:
v2:
- Define PCIE_CLIENT_INTR_STATUS_LEGACY
- Fix PCIE_LEGACY_INT_ENABLE to only enable the RC interrupts
- Add legacy interrupt enable/disable support

Peter Geis (4):
  dt-bindings: pci: remove fallback from Rockchip DesignWare binding
  PCI: dwc: rockchip: add legacy interrupt support
  arm64: dts: rockchip: add rk3568 pcie2x1 controller
  arm64: dts: rockchip: enable pcie controller on quartz64-a

 .../bindings/pci/rockchip-dw-pcie.yaml        |   3 +-
 .../boot/dts/rockchip/rk3566-quartz64-a.dts   |  34 +++++
 arch/arm64/boot/dts/rockchip/rk356x.dtsi      |  68 +++++++++-
 drivers/pci/controller/dwc/pcie-dw-rockchip.c | 123 +++++++++++++++++-
 4 files changed, 221 insertions(+), 7 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-04-15 20:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 13:37 [PATCH v2 0/4] Enable rk356x PCIe controller Peter Geis
2022-04-13 13:37 ` [PATCH v2 1/4] dt-bindings: pci: remove fallback from Rockchip DesignWare binding Peter Geis
2022-04-14 17:53   ` Rob Herring
2022-04-15 20:14     ` Peter Geis
2022-04-13 13:37 ` [PATCH v2 2/4] PCI: dwc: rockchip: add legacy interrupt support Peter Geis
2022-04-14 20:36   ` Marc Zyngier
2022-04-15 20:07     ` Peter Geis
2022-04-13 13:37 ` [PATCH v2 3/4] arm64: dts: rockchip: add rk3568 pcie2x1 controller Peter Geis
2022-04-13 13:37 ` [PATCH v2 4/4] arm64: dts: rockchip: enable pcie controller on quartz64-a Peter Geis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).