Skip to content

Commit d6cbfcd

Browse files
jhovoldLorenzo Pieralisi
authored andcommitted
PCI: qcom: Sort device-id table
Sort the device-id table entries alphabetically by compatible string to make it easier to find entries and add new ones. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Brian Masney <[email protected]> Acked-by: Stanimir Varbanov <[email protected]>
1 parent 2231173 commit d6cbfcd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

drivers/pci/controller/dwc/pcie-qcom.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1732,24 +1732,24 @@ static int qcom_pcie_probe(struct platform_device *pdev)
17321732
}
17331733

17341734
static const struct of_device_id qcom_pcie_match[] = {
1735+
{ .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 },
17351736
{ .compatible = "qcom,pcie-apq8084", .data = &cfg_1_0_0 },
1737+
{ .compatible = "qcom,pcie-ipq4019", .data = &cfg_2_4_0 },
1738+
{ .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 },
17361739
{ .compatible = "qcom,pcie-ipq8064", .data = &cfg_2_1_0 },
17371740
{ .compatible = "qcom,pcie-ipq8064-v2", .data = &cfg_2_1_0 },
1738-
{ .compatible = "qcom,pcie-apq8064", .data = &cfg_2_1_0 },
1739-
{ .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 },
17401741
{ .compatible = "qcom,pcie-ipq8074", .data = &cfg_2_3_3 },
1741-
{ .compatible = "qcom,pcie-ipq4019", .data = &cfg_2_4_0 },
1742+
{ .compatible = "qcom,pcie-msm8996", .data = &cfg_2_3_2 },
17421743
{ .compatible = "qcom,pcie-qcs404", .data = &cfg_2_4_0 },
17431744
{ .compatible = "qcom,pcie-sa8540p", .data = &cfg_1_9_0 },
1745+
{ .compatible = "qcom,pcie-sc7280", .data = &cfg_1_9_0 },
1746+
{ .compatible = "qcom,pcie-sc8180x", .data = &cfg_1_9_0 },
1747+
{ .compatible = "qcom,pcie-sc8280xp", .data = &cfg_1_9_0 },
17441748
{ .compatible = "qcom,pcie-sdm845", .data = &cfg_2_7_0 },
17451749
{ .compatible = "qcom,pcie-sm8150", .data = &cfg_1_9_0 },
17461750
{ .compatible = "qcom,pcie-sm8250", .data = &cfg_1_9_0 },
1747-
{ .compatible = "qcom,pcie-sc8180x", .data = &cfg_1_9_0 },
1748-
{ .compatible = "qcom,pcie-sc8280xp", .data = &cfg_1_9_0 },
17491751
{ .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 },
17501752
{ .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 },
1751-
{ .compatible = "qcom,pcie-sc7280", .data = &cfg_1_9_0 },
1752-
{ .compatible = "qcom,pcie-ipq6018", .data = &cfg_2_9_0 },
17531753
{ }
17541754
};
17551755

0 commit comments

Comments
 (0)