[PATCH V7 0/4] Add PCIe support for IPQ9574

Sricharan R
2024-08-01T05:48:37Z

This series adds support for enabling the PCIe host devices (PCIe0, PCIe1,
PCIe2, PCIe3) found on IPQ9574 platform. The PCIe0 & PCIe1 are 1-lane Gen3
host and PCIe2 & PCIe3 are 2-lane Gen3 host.

[V7] - Fixed review comments from Konrad, Krysztof, Manivannan and picked up review tags
Rebased patch 4 on top of [1] for avoiding DBI/ATU mirroring
Both dt_binding_check and dtbs_check passed and tested on ipq9574-rdp433

[1] - https://lore.kernel.org/linux-arm-msm/a01404d2-2f4d-4fb8-af9d-3db66d39acf7@quicinc.com/

[V6]
- Dropped patches [1] and [2] for clks, since its already merged.
- Addressed all comments from Krzysztof, Manivannan, Bjorn Helgaas.
Specifically dropped defining a new macro for SLV_ADDR_SPACE_SZ.
Letting it at reset value is fine.

Both dt_binding_check and dtbs_check passed and tested on ipq9574-rdp433

[1] - https://patchwork.kernel.org/project/linux-pci/patch/20240512082858.1806694-2-quic_devipriy@quicinc.com/
[2] - https://patchwork.kernel.org/project/linux-pci/patch/20240512082858.1806694-3-quic_devipriy@quicinc.com/

[V5]
Change logs are added to the respective patches
This series depends on the below series which adds support for
Interconnect driver[1] and fetching clocks from the Device Tree[2]
[1] - https://lore.kernel.org/linux-arm-msm/20240430064214.2030013-1-quic_varada@quicinc.com/
[2] - https://lore.kernel.org/linux-pci/20240417-pci-qcom-clk-bulk-v1-1-52ca19b3d6b2@linaro.org/
[V4]
https://lore.kernel.org/linux-arm-msm/20230528142111.GC2814@thinkpad/

[V3]
https://lore.kernel.org/linux-arm-msm/20230421124938.21974-1-quic_devipriy@quicinc.com/
- Dropped the phy driver and binding patches as they have been
posted as a separate series.
- Dropped the pinctrl binding fix patch as it is unrelated to the series
dt-bindings: pinctrl: qcom: Add few missing functions.
- Rebased on linux-next/master.
- Detailed change logs are added to the respective patches.

[V2]
https://lore.kernel.org/linux-arm-msm/20230404164828.8031-1-quic_devipriy@quicinc.com/
- Reordered the patches and split the board DT changes
into a separate patch as suggested
- Detailed change logs are added to the respective patches
[V1]
https://lore.kernel.org/linux-arm-msm/20230214164135.17039-1-quic_devipriy@quicinc.com/

devi priya (4):
dt-bindings: PCI: qcom: Document the IPQ9574 PCIe controller
arm64: dts: qcom: ipq9574: Add PCIe PHYs and controller nodes
arm64: dts: qcom: ipq9574: Enable PCIe PHYs and controllers
PCI: qcom: Add support for IPQ9574

.../devicetree/bindings/pci/qcom,pcie.yaml | 50 +++
arch/arm64/boot/dts/qcom/ipq9574-rdp433.dts | 113 +++++
arch/arm64/boot/dts/qcom/ipq9574.dtsi | 421 +++++++++++++++++-
drivers/pci/controller/dwc/pcie-qcom.c | 1 +
4 files changed, 581 insertions(+), 4 deletions(-)

--
2.34.1