Skip to content

Commit 45a3ec8

Browse files
anderssonLorenzo Pieralisi
authored andcommitted
PCI: qcom: Add sc8180x compatible
The SC8180x platform comes with 4 PCIe controllers, typically used for things such as NVME storage or connecting a SDX55 5G modem. Add a compatible for this, that just reuses the 1.9.0 ops. Link: https://lore.kernel.org/linux-arm-msm/20210725040038.3966348-4-bjorn.andersson@linaro.org/ Link: https://lore.kernel.org/r/20210823154958.305677-2-bjorn.andersson@linaro.org Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> [lorenzo.pieralisi@arm.com: updated match data structure] Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Rob Herring <robh@kernel.org>
1 parent aa9c0df commit 45a3ec8

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Documentation/devicetree/bindings/pci/qcom,pcie.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
- "qcom,pcie-ipq4019" for ipq4019
1313
- "qcom,pcie-ipq8074" for ipq8074
1414
- "qcom,pcie-qcs404" for qcs404
15+
- "qcom,pcie-sc8180x" for sc8180x
1516
- "qcom,pcie-sdm845" for sdm845
1617
- "qcom,pcie-sm8250" for sm8250
1718
- "qcom,pcie-ipq6018" for ipq6018
@@ -156,7 +157,7 @@
156157
- "pipe" PIPE clock
157158

158159
- clock-names:
159-
Usage: required for sm8250
160+
Usage: required for sc8180x and sm8250
160161
Value type: <stringlist>
161162
Definition: Should contain the following entries
162163
- "aux" Auxiliary clock
@@ -245,7 +246,7 @@
245246
- "ahb" AHB reset
246247

247248
- reset-names:
248-
Usage: required for sdm845 and sm8250
249+
Usage: required for sc8180x, sdm845 and sm8250
249250
Value type: <stringlist>
250251
Definition: Should contain the following entries
251252
- "pci" PCIe core reset

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1627,6 +1627,7 @@ static const struct of_device_id qcom_pcie_match[] = {
16271627
{ .compatible = "qcom,pcie-qcs404", .data = &ipq4019_cfg },
16281628
{ .compatible = "qcom,pcie-sdm845", .data = &sdm845_cfg },
16291629
{ .compatible = "qcom,pcie-sm8250", .data = &sm8250_cfg },
1630+
{ .compatible = "qcom,pcie-sc8180x", .data = &sm8250_cfg },
16301631
{ .compatible = "qcom,pcie-sc7280", .data = &sc7280_cfg },
16311632
{ }
16321633
};

0 commit comments

Comments
 (0)