PCI: qcom-ep: Add PCIe Endpoint support for Monaco
Get series with b4
b4 am [email protected] change-id 20260918-monaco_ep-fb14fafd0eccVersions newest first
- v3 Latest6 patches 0 repliesNew
- v26 patches 3 repliesSuperseded
- v16 patches 6 repliesSuperseded
Changes in v3 from the cover letter
- Rebased to tip.
- Link to v2: https://patch.msgid.link/[email protected]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add qcs8300 16 GT/s PHYDocumentation/ | +4 | 0 replies | |
| 2/6 | dt-bindings: PCI: qcom-ep: Add QCS8300 compatibleDocumentation/ | +4 | 0 replies | |
| 3/6 | phy: qcom: qmp-pcie: Add endpoint PHY configuration for QCS8300drivers/ | +105 | 0 replies | |
| 4/6 | PCI: qcom-ep: Set initial interconnect bandwidth before enabling clocksdrivers/ | +18 | 0 replies | |
| 5/6 | arm64: qcom: monaco: Fix pcie1_phy compatible to list qcs8300 firstarch/ | +2 | 0 replies | |
| 6/6 | arm64: qcom: monaco: Add PCIe Endpoint nodesarch/ | +147 | 0 replies |
Reviews trailers per patch
4 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Manivannan Sadhasivam | Konrad Dybcio |
|---|---|---|---|
| 1/6 | R-b | ||
| 2/6 | R-b | ||
| 3/6 | R-b | ||
| 4/6 | |||
| 5/6 | R-b | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/6] PCI: qcom-ep: Add PCIe Endpoint support for Monaco
This series adds PCIe Endpoint mode support for the Monaco (QCS8300) SoC, which has two PCIe controllers capable of operating as Endpoints.
- Patch 1 documents the dedicated 16 GT/s x4 QMP PCIe PHY compatible for QCS8300, correcting an earlier gap where this PHY variant had no QCS8300-specific compatible of its own.
- Patch 2 documents the QCS8300 compatible for the PCIe Endpoint controller binding, with SA8775P as its fallback.
- Patch 3 adds the corresponding Endpoint PHY register configuration to the QMP PCIe PHY driver, reusing the existing SA8775P programming for the 16 GT/s x2 PHY and adding a new configuration for the 16 GT/s x4 PHY.
- Patch 4 fixes clock-enable ordering in the qcom-ep controller driver:
some platforms require the interconnect bandwidth vote to be set before enabling clocks, otherwise certain clocks can get stuck off.
- Patch 5 fixes the existing pcie1_phy node's compatible string to list the new QCS8300-specific compatible first, ahead of the SA8775P fallback, matching the order used elsewhere in this series.
- Patch 6 adds the Endpoint device tree nodes for both Monaco PCIe controllers, covering register regions, clocks, interrupts, interconnects, IOMMU mappings, resets, power domains, and PHY connections.
---
Changes in v3:
- Rebased to tip.
- Link to v2: https://patch.msgid.link/[email protected]
Changes in v2:
- dt-bindings: PCI: qcom-ep: Drop qcs8300 compatible from the standalone enum list(Krzysztof)
- PCI: qcom-ep: Fix qcom_pcie_disable_resources() to tear down resources
in strict LIFO order (phy -> clocks -> interconnect bandwidth),
matching the enable path's error-unwind sequence. (Sashiko AI review)
- arm64: qcom: monaco: Add reset-gpios and wake-gpios to the pcie0_ep and pcie1_ep nodes so the EP driver owns and correctly manages the PERST#
and WAKE# lines; drop the output-low override from the wake-pins
pinctrl state that was permanently asserting WAKE#. (Sashiko AI review)
- phy: qcom: qmp-pcie: Reword commit message to clarify the new RX
tuning sequence for the 16 GT/s x4 PHY is common to RC and EP modes,
not EP-only.
- Link to v1: https://patch.msgid.link/[email protected]
---
Krishna Chaitanya Chundru (6):
dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add qcs8300 16 GT/s PHY
dt-bindings: PCI: qcom-ep: Add QCS8300 compatible
phy: qcom: qmp-pcie: Add endpoint PHY configuration for QCS8300
PCI: qcom-ep: Set initial interconnect bandwidth before enabling clocks
arm64: qcom: monaco: Fix pcie1_phy compatible to list qcs8300 first
arm64: qcom: monaco: Add PCIe Endpoint nodes
.../devicetree/bindings/pci/qcom,pcie-ep.yaml | 4 + .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 4 + arch/arm64/boot/dts/qcom/monaco.dtsi | 150 ++++++++++++++++++++- drivers/pci/controller/dwc/pcie-qcom-ep.c | 36 ++--- drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 105 +++++++++++++++ 5 files changed, 280 insertions(+), 19 deletions(-)
---
base-commit: d0cf0853ff6b71724a399a87ca028fc57be9ccca
change-id: 20260918-monaco_ep-fb14fafd0ecc
Best regards,
Signature · 1 line
Krishna Chaitanya Chundru <[email protected]>