Skip to content

Commit 15d63a8

Browse files
krzkkwilczynski
authored andcommitted
dt-bindings: PCI: qcom: Fix SDX65 compatible
Commit c0aba9f ("dt-bindings: PCI: qcom: Add SDX65 SoC") adding SDX65 was never tested and is clearly bogus. The qcom,sdx65-pcie-ep compatible is followed by a fallback in DTS, and there is no driver matched by this compatible. Driver matches by its fallback qcom,sdx55-pcie-ep. This also fixes dtbs_check warnings like: qcom-sdx65-mtp.dtb: pcie-ep@1c00000: compatible: ['qcom,sdx65-pcie-ep', 'qcom,sdx55-pcie-ep'] is too long [kwilczynski: commit log] Fixes: c0aba9f ("dt-bindings: PCI: qcom: Add SDX65 SoC") Link: https://lore.kernel.org/linux-pci/20230827085351.21932-1-krzysztof.kozlowski@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Cc: stable@vger.kernel.org
1 parent d60379d commit 15d63a8

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
enum:
15-
- qcom,sdx55-pcie-ep
16-
- qcom,sdx65-pcie-ep
17-
- qcom,sm8450-pcie-ep
14+
oneOf:
15+
- enum:
16+
- qcom,sdx55-pcie-ep
17+
- qcom,sm8450-pcie-ep
18+
- items:
19+
- const: qcom,sdx65-pcie-ep
20+
- const: qcom,sdx55-pcie-ep
1821

1922
reg:
2023
items:
@@ -110,7 +113,6 @@ allOf:
110113
contains:
111114
enum:
112115
- qcom,sdx55-pcie-ep
113-
- qcom,sdx65-pcie-ep
114116
then:
115117
properties:
116118
clocks:

0 commit comments

Comments
 (0)