Commit 43a6a29b authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Vinod Koul
Browse files

dt-bindings: phy: qcom,qmp-pcie: add sm8350 bindings

parent 1b929c02
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -19,15 +19,18 @@ properties:
      - qcom,sc8280xp-qmp-gen3x1-pcie-phy
      - qcom,sc8280xp-qmp-gen3x2-pcie-phy
      - qcom,sc8280xp-qmp-gen3x4-pcie-phy
      - qcom,sm8350-qmp-gen3x1-pcie-phy

  reg:
    minItems: 1
    maxItems: 2

  clocks:
    minItems: 5
    maxItems: 6

  clock-names:
    minItems: 5
    items:
      - const: aux
      - const: cfg_ahb
@@ -104,6 +107,25 @@ allOf:
        reg:
          maxItems: 1

  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,sm8350-qmp-gen3x1-pcie-phy
    then:
      properties:
        clocks:
          maxItems: 5
        clock-names:
          maxItems: 5
    else:
      properties:
        clocks:
          minItems: 6
        clock-names:
          minItems: 6

examples:
  - |
    #include <dt-bindings/clock/qcom,gcc-sc8280xp.h>