Skip to content

Commit 29a6d12

Browse files
abelvesamartinkpetersen
authored andcommitted
scsi: ufs: dt-bindings: qcom: Add ICE phandle
Starting with SM8550, the ICE will have its own devicetree node so add the qcom,ice property to reference it. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Abel Vesa <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 3c9b49b commit 29a6d12

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

+24
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ properties:
7171
power-domains:
7272
maxItems: 1
7373

74+
qcom,ice:
75+
$ref: /schemas/types.yaml#/definitions/phandle
76+
description: phandle to the Inline Crypto Engine node
77+
7478
reg:
7579
minItems: 1
7680
maxItems: 2
@@ -189,6 +193,26 @@ allOf:
189193

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

196+
- if:
197+
properties:
198+
qcom,ice:
199+
maxItems: 1
200+
then:
201+
properties:
202+
reg:
203+
maxItems: 1
204+
clocks:
205+
minItems: 8
206+
maxItems: 8
207+
else:
208+
properties:
209+
reg:
210+
minItems: 2
211+
maxItems: 2
212+
clocks:
213+
minItems: 9
214+
maxItems: 11
215+
192216
unevaluatedProperties: false
193217

194218
examples:

0 commit comments

Comments
 (0)