]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
PCI: qcom-ep: Enable EP mode support for SAR2130P
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 21 Feb 2025 15:52:04 +0000 (17:52 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 24 Feb 2025 19:05:00 +0000 (19:05 +0000)
Enable PCIe Endpoint mode support for the Qualcomm SAR2130P platform.

This is needed, as it is not possible to use a compatible fallback on
any other platform since SAR2130P uses slightly different set of clocks.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20250221-sar2130p-pci-v3-6-61a0fdfb75b4@linaro.org
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/dwc/pcie-qcom-ep.c

index 01d3862d7003ff35d54ca67c7dc3dc4ad62dc1a4..d1f777945680579ecfb6cea08e51925d03a880e1 100644 (file)
@@ -937,6 +937,7 @@ static const struct of_device_id qcom_pcie_ep_match[] = {
        { .compatible = "qcom,sa8775p-pcie-ep", .data = &cfg_1_34_0},
        { .compatible = "qcom,sdx55-pcie-ep", },
        { .compatible = "qcom,sm8450-pcie-ep", },
+       { .compatible = "qcom,sar2130p-pcie-ep", },
        { }
 };
 MODULE_DEVICE_TABLE(of, qcom_pcie_ep_match);