Skip to content

Commit 7839d56

Browse files
lweiss-fairphonerobherring
authored andcommitted
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>
1 parent 80f1c3c commit 7839d56

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Documentation/devicetree/bindings/ufs/qcom,ufs.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ properties:
7979
minItems: 1
8080
maxItems: 2
8181

82+
reg-names:
83+
items:
84+
- const: std
85+
- const: ice
86+
8287
required-opps:
8388
maxItems: 1
8489

@@ -134,6 +139,8 @@ allOf:
134139
reg:
135140
minItems: 1
136141
maxItems: 1
142+
reg-names:
143+
maxItems: 1
137144

138145
- if:
139146
properties:
@@ -162,6 +169,10 @@ allOf:
162169
reg:
163170
minItems: 2
164171
maxItems: 2
172+
reg-names:
173+
minItems: 2
174+
required:
175+
- reg-names
165176

166177
- if:
167178
properties:
@@ -190,6 +201,8 @@ allOf:
190201
reg:
191202
minItems: 1
192203
maxItems: 1
204+
reg-names:
205+
maxItems: 1
193206

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

0 commit comments

Comments
 (0)