[PATCH v2 0/5] riscv: spacemit: Add PCIe RC controller support for K3
Inochi Amaoto
inochiama at gmail.com
Sat May 16 18:48:35 PDT 2026
The PCIe controller on Spacemit K3 is almost a standard Synopsys
Designware PCIe IP with extra control and external MSI controller
(IMSIC).
Add binding and driver support for PCIe RC controller support on K3.
Changed from v1:
patch 1:
1. Remove post_init callback.
patch 2:
1. Fix devm_kmalloc_array arguments order and error check.
patch 3:
1. Apply Rob's tag.
2. Change check from oneOf to anyOf.
3. Fix spelling mistakes in commit message.
patch 4:
1. Add comment about PHY handle.
2. Remove interrupt "app".
3. Fix spelling mistakes in commit message.
patch 5:
1. Remove all logic related to link up interrupt.
2. Clean up all unused macros.
3. Fix devm_kmalloc_array arguments order and error check.
4. Remove unnecessary start_link logic.
5. Make all magic number as a macro.
6. Fix spelling mistakes in code and commit message.
Inochi Amaoto (5):
PCI: spacemit-k1: Add device data support
PCI: spacemit-k1: Add multiple PHY handles support
dt-bindings: PCI: snps,dw-pcie: Add msi-parent for MSI handle check
dt-bindings: PCI: spacemit: Introduce Spacemit K3 PCIe host controller
PCI: spacemit-k1: Add Spacemit K3 PCIe host controller support
.../devicetree/bindings/pci/snps,dw-pcie.yaml | 7 +-
.../bindings/pci/spacemit,k3-pcie-host.yaml | 135 +++++++++++
drivers/pci/controller/dwc/Kconfig | 4 +-
drivers/pci/controller/dwc/pcie-spacemit-k1.c | 210 +++++++++++++++++-
4 files changed, 344 insertions(+), 12 deletions(-)
create mode 100644 Documentation/devicetree/bindings/pci/spacemit,k3-pcie-host.yaml
--
2.54.0
More information about the linux-riscv
mailing list