]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
PCI: qcom: Add support for IPQ5018
authorNitheesh Sekar <quic_nsekar@quicinc.com>
Wed, 26 Mar 2025 08:10:58 +0000 (12:10 +0400)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 23 Apr 2025 07:21:20 +0000 (12:51 +0530)
Add IPQ5018 platform with is based on Qcom IP rev. 2.9.0 and Synopsys IP
rev. 5.00a.

The platform itself has two PCIe Gen2 controllers: one single-lane and
one dual-lane. So add the IPQ5018 compatible and re-use 2_9_0 ops.

Signed-off-by: Nitheesh Sekar <quic_nsekar@quicinc.com>
Signed-off-by: Sricharan R <quic_srichara@quicinc.com>
Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://patch.msgid.link/20250326-ipq5018-pcie-v7-4-e1828fef06c9@outlook.com
drivers/pci/controller/dwc/pcie-qcom.c

index dc98ae63362db0422384b1879a2b9a7dc564d091..e91bbe2185692871d1727274aea50f0f0c52a94b 100644 (file)
@@ -1840,6 +1840,7 @@ static const struct of_device_id qcom_pcie_match[] = {
        { .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 },
        { .compatible = "qcom,pcie-apq8084", .data = &cfg_1_0_0 },
        { .compatible = "qcom,pcie-ipq4019", .data = &cfg_2_4_0 },
+       { .compatible = "qcom,pcie-ipq5018", .data = &cfg_2_9_0 },
        { .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 },
        { .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 },
        { .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 },