Unverified Commit 15d63a89 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Krzysztof Wilczyński
Browse files

dt-bindings: PCI: qcom: Fix SDX65 compatible

Commit c0aba9f3 ("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: c0aba9f3 ("dt-bindings: PCI: qcom: Add SDX65 SoC")
Link: https://lore.kernel.org/linux-pci/20230827085351.21932-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Cc: stable@vger.kernel.org
parent d60379d6
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -11,10 +11,13 @@ maintainers:

properties:
  compatible:
    enum:
    oneOf:
      - enum:
          - qcom,sdx55-pcie-ep
      - qcom,sdx65-pcie-ep
          - qcom,sm8450-pcie-ep
      - items:
          - const: qcom,sdx65-pcie-ep
          - const: qcom,sdx55-pcie-ep

  reg:
    items:
@@ -110,7 +113,6 @@ allOf:
          contains:
            enum:
              - qcom,sdx55-pcie-ep
              - qcom,sdx65-pcie-ep
    then:
      properties:
        clocks: