Commit 50da4496 authored by Vinod Koul's avatar Vinod Koul
Browse files

dt-bindings: phy: qcom,qmp-ufs: fix the sc8180x regs



sc8180x ufs phy requires to describe five reg areas for the phy to work,
so move the description to the correct place documenting tx, rx lane
1, 2 and pcs.

Acked-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20230325122444.249507-8-vkoul@kernel.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 91e648fc
Loading
Loading
Loading
Loading
+1 −17
Original line number Original line Diff line number Diff line
@@ -160,6 +160,7 @@ allOf:
          contains:
          contains:
            enum:
            enum:
              - qcom,msm8998-qmp-ufs-phy
              - qcom,msm8998-qmp-ufs-phy
              - qcom,sc8180x-qmp-ufs-phy
              - qcom,sdm845-qmp-ufs-phy
              - qcom,sdm845-qmp-ufs-phy
              - qcom,sm6350-qmp-ufs-phy
              - qcom,sm6350-qmp-ufs-phy
              - qcom,sm8150-qmp-ufs-phy
              - qcom,sm8150-qmp-ufs-phy
@@ -178,23 +179,6 @@ allOf:
                - description: TX lane 2
                - description: TX lane 2
                - description: RX lane 2
                - description: RX lane 2


  - if:
      properties:
        compatible:
          contains:
            enum:
              - qcom,sc8180x-qmp-ufs-phy
    then:
      patternProperties:
        "^phy@[0-9a-f]+$":
          properties:
            reg:
              items:
                - description: TX
                - description: RX
                - description: PCS
                - description: PCS_MISC

  - if:
  - if:
      properties:
      properties:
        compatible:
        compatible: