[PATCH 00/11] PCI: qcom-ep: Add Nord PCIe Endpoint controller support
Krishna Chaitanya Chundru
krishna.chundru at oss.qualcomm.com
Sat Nov 21 18:56:13 PST 2026
The Qualcomm Nord platform has four PCIe controllers (A/B/C/D) that can
operate either as root complex or as endpoint. The root-complex support
was added earlier; this series enables endpoint mode on top of it.
Bringing up endpoint mode touches several subsystems, so the series is
arranged as a set of generic, independently-useful changes followed by
the Nord-specific enablement:
Generic (useful to any platform, can be reviewed/applied on their own):
- PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi()
Fix a pre-existing double-encoding of the MSI count; a prerequisite
for the MSI-X patch below to request the correct vector count.
- PCI: qcom-ep: Add MSI-X support
Advertise an MSI-X-capable epc_features variant and route
PCI_IRQ_MSIX in ->raise_irq(). No change for existing SoCs.
- PCI: dwc: Preserve glue-provided eDMA HDMA channel separation
dw_pcie_edma_init_data() hardcoded the HDMA channel register
separation (ch_space_sz) to 256 bytes, overwriting anything a glue
driver programmed. Only apply the default when it is unset, so a
glue driver can describe hardware that spaces the per-channel
register blocks further apart. Builds on the recently merged
Channel Separation support.
- PCI: epf-mhi: Add MSI-X support
Let the MHI endpoint function raise MSI-X when the controller
supports it, using a dedicated MSI-X BAR from an optional "msix"
region. Falls back to MSI otherwise.
- phy: qcom: qmp-pcie: Add PCIe endpoint mode support
Add a .set_mode() hook and an optional per-config EP-mode table
delta, applied as a second pass over the PLL/TXRXZ/PCS blocks when
the PHY is put into endpoint mode before power-on.
Nord-specific enablement:
- dt-bindings: PCI: qcom-ep: Add Nord PCIe Endpoint
- PCI: qcom-ep: Add Nord PCIe Endpoint controller support
(HDMA, NO_SNOOP override, MHI RAM parity-check disable, MSI-X, and
the 4K HDMA channel separation via edma.ch_space_sz)
- PCI: epf-mhi: Add Nord endpoint support
- bus: mhi: host: pci_generic: Add support for Qualcomm Nord
(lets a Linux host enumerate and drive the Nord endpoint over MHI)
- phy: qcom: qmp-pcie: Add Nord endpoint mode init sequences
- arm64: dts: qcom: nord: Add PCIe endpoint nodes (disabled by default)
Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru at oss.qualcomm.com>
---
Anvita T (2):
PCI: qcom-ep: Add MSI-X support
PCI: epf-mhi: Add MSI-X support
Krishna Chaitanya Chundru (9):
PCI: epf-mhi: Pass the actual number of MSI vectors to pci_epc_set_msi()
PCI: dwc: Preserve glue-provided eDMA HDMA channel separation
phy: qcom: qmp-pcie: Add PCIe endpoint mode support
phy: qcom: qmp-pcie: Add Nord endpoint mode init sequences
dt-bindings: PCI: qcom-ep: Add Nord PCIe Endpoint
PCI: qcom-ep: Add Nord PCIe Endpoint controller support
PCI: epf-mhi: Add Nord endpoint support
bus: mhi: host: pci_generic: Add support for Qualcomm Nord
arm64: dts: qcom: nord: Add PCIe endpoint nodes
.../devicetree/bindings/pci/qcom,pcie-ep.yaml | 38 ++-
arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 369 +++++++++++++++++++++
drivers/bus/mhi/host/pci_generic.c | 13 +
drivers/pci/controller/dwc/pcie-designware.c | 5 +-
drivers/pci/controller/dwc/pcie-qcom-ep.c | 33 ++
drivers/pci/endpoint/functions/pci-epf-mhi.c | 74 ++++-
drivers/phy/qualcomm/phy-qcom-qmp-pcie-multiphy.c | 123 +++++++
.../qualcomm/phy-qcom-qmp-qserdes-com-pcie-v6_40.h | 7 +
8 files changed, 654 insertions(+), 8 deletions(-)
---
base-commit: f3ad6a695e245798f9a5bb34f2c7616880bac3d6
change-id: 20261027-nord_ep-f6e8d7b9c107
Best regards,
--
Krishna Chaitanya Chundru <krishna.chundru at oss.qualcomm.com>
More information about the linux-phy
mailing list