aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/ufs
diff options
context:
space:
mode:
authorGravatar Luca Weiss <luca.weiss@fairphone.com> 2023-08-14 12:14:13 +0200
committerGravatar Rob Herring <robh@kernel.org> 2023-08-24 12:11:28 -0500
commit7839d566c653bc5a6c858a70c66e2e123cad0b0b (patch)
tree04c384d7859ed721dca3c2ddc321324b6b88db96 /Documentation/devicetree/bindings/ufs
parentdt-bindings: yamllint: Enable quoted string check (diff)
downloadlinux-7839d566c653bc5a6c858a70c66e2e123cad0b0b.tar.gz
linux-7839d566c653bc5a6c858a70c66e2e123cad0b0b.tar.bz2
linux-7839d566c653bc5a6c858a70c66e2e123cad0b0b.zip
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: Luca Weiss <luca.weiss@fairphone.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20230814-dt-binding-ufs-v6-1-fd94845adeda@fairphone.com Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/ufs')
-rw-r--r--Documentation/devicetree/bindings/ufs/qcom,ufs.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
index bdfa86a0cc98..4cc3f8f03b33 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
@@ -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