Commit 7839d566 authored by Luca Weiss's avatar Luca Weiss Committed by Rob Herring
Browse files

dt-bindings: ufs: qcom: Add reg-names property for ICE



The code in ufs-qcom-ice.c needs the ICE reg to be named "ice". Add this
in the bindings so the existing dts can validate successfully.

Signed-off-by: default avatarLuca Weiss <luca.weiss@fairphone.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230814-dt-binding-ufs-v6-1-fd94845adeda@fairphone.com


Signed-off-by: default avatarRob Herring <robh@kernel.org>
parent 80f1c3c7
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -79,6 +79,11 @@ properties:
    minItems: 1
    maxItems: 2

  reg-names:
    items:
      - const: std
      - const: ice

  required-opps:
    maxItems: 1

@@ -134,6 +139,8 @@ allOf:
        reg:
          minItems: 1
          maxItems: 1
        reg-names:
          maxItems: 1

  - if:
      properties:
@@ -162,6 +169,10 @@ allOf:
        reg:
          minItems: 2
          maxItems: 2
        reg-names:
          minItems: 2
      required:
        - reg-names

  - if:
      properties:
@@ -190,6 +201,8 @@ allOf:
        reg:
          minItems: 1
          maxItems: 1
        reg-names:
          maxItems: 1

    # TODO: define clock bindings for qcom,msm8994-ufshc