]> www.infradead.org Git - users/hch/configfs.git/commitdiff
PCI: qcom: Add X1E80100 PCIe support
authorAbel Vesa <abel.vesa@linaro.org>
Fri, 1 Mar 2024 16:59:02 +0000 (18:59 +0200)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Sun, 10 Mar 2024 17:55:07 +0000 (17:55 +0000)
Add the compatible and the driver data for X1E80100 PCIe controller.

There are 5 controller instances found on this platform, out of which
2 are Gen3 with speeds of up to 8.0GT/s, while the other 3 are Gen4 with
speeds of up to 16GT/s.

The version of the controller is 1.38.0 for all instances, but they are
compatible with 1.9.0 config. The max link width is x8 for one
controller, x4 for two of others and x2 for the two left.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20240301-x1e80100-pci-v4-2-7ab7e281d647@linaro.org
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/dwc/pcie-qcom.c

index 02bfe415c7ac89019dd8c65252c1f53539d601ed..8ef33c86f244197a54833be15cc40cbc1dc67e99 100644 (file)
@@ -1679,6 +1679,7 @@ static const struct of_device_id qcom_pcie_match[] = {
        { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 },
        { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 },
        { .compatible = "qcom,pcie-sm8550", .data = &cfg_1_9_0 },
+       { .compatible = "qcom,pcie-x1e80100", .data = &cfg_1_9_0 },
        { }
 };