[PATCH v4 0/8] pci: qcom: Add QCS8300 PCIe support
From: Ziyue Zhang
Date: Mon Mar 10 2025 - 02:32:46 EST
This series adds document, phy, configs support for PCIe in QCS8300.
The series depend on the following devicetree.
PCIe SMMU:
https://lore.kernel.org/all/20250206-qcs8300-pcie-smmu-v1-1-8eee0e3585bc@xxxxxxxxxxx/
Have follwing changes:
- Document the QMP PCIe PHY on the QCS8300 platform.
- Add dedicated schema for the PCIe controllers found on QCS8300.
- Add compatible for qcs8300 platform.
- Add configurations in devicetree for PCIe0, including registers, clocks, interrupts and phy setting sequence.
- Add configurations in devicetree for PCIe1, including registers, clocks, interrupts and phy setting sequence.
Signed-off-by: Krishna chaitanya chundru <quic_krichai@xxxxxxxxxxx>
Signed-off-by: Ziyue Zhang <quic_ziyuzhan@xxxxxxxxxxx>
---
Changes in v4:
- Add received tag
- Fixed compile error found by kernel test robot
- Link to v3: https://lore.kernel.org/lkml/202412211301.bQO6vXpo-lkp@xxxxxxxxx/T/#mdd63e5be39acbf879218aef91c87b12d4540e0f7
Changes in v3:
- Add received tag(Rob & Dmitry)
- Update pcie_phy in gcc node to soc dtsi(Dmitry & Konrad)
- remove pcieprot0 node(Konrad & Mani)
- Fix format comments(Konrad)
- Update base-commit to tag: next-20241213(Bjorn)
- Corrected of_device_id.data from 1.9.0 to 1.34.0.
- Link to v2: https://lore.kernel.org/all/20241128081056.1361739-1-quic_ziyuzhan@xxxxxxxxxxx/
Changes in v2:
- Fix some format comments and match the style in x1e80100(Konrad)
- Add global interrupt for PCIe0 and PCIe1(Konrad)
- split the soc dtsi and the platform dts into two changes(Konrad)
- Link to v1: https://lore.kernel.org/all/20241114095409.2682558-1-quic_ziyuzhan@xxxxxxxxxxx/
Ziyue Zhang (8):
dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Document the QCS8300 QMP
PCIe PHY Gen4 x2
phy: qcom-qmp-pcie: add dual lane PHY support for QCS8300
dt-bindings: PCI: qcom,pcie-sa8775p: document qcs8300
PCI: qcom: Add QCS8300 PCIe support
arm64: dts: qcom: qcs8300: enable pcie0
arm64: dts: qcom: qcs8300: enable pcie0 interface
arm64: dts: qcom: qcs8300: enable pcie1
arm64: dts: qcom: qcs8300: enable pcie1 interface
.../bindings/pci/qcom,pcie-sa8775p.yaml | 7 +-
.../phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 2 +
arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 80 +++++
arch/arm64/boot/dts/qcom/qcs8300.dtsi | 289 +++++++++++++++++-
drivers/pci/controller/dwc/pcie-qcom.c | 1 +
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 89 ++++++
6 files changed, 465 insertions(+), 3 deletions(-)
base-commit: cd3215bbcb9d4321def93fea6cfad4d5b42b9d1d
--
2.34.1