Skip to content

Commit

Permalink
scsi: ufs: dt-bindings: qcom: Add ICE phandle
Browse files Browse the repository at this point in the history
Starting with SM8550, the ICE will have its own devicetree node so add the
qcom,ice property to reference it.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230612192847.1599416-2-abel.vesa@linaro.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Abel Vesa authored and Martin K. Petersen committed Jun 16, 2023
1 parent 3c9b49b commit 29a6d12
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ properties:
power-domains:
maxItems: 1

qcom,ice:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle to the Inline Crypto Engine node

reg:
minItems: 1
maxItems: 2
Expand Down Expand Up @@ -189,6 +193,26 @@ allOf:

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

- if:
properties:
qcom,ice:
maxItems: 1
then:
properties:
reg:
maxItems: 1
clocks:
minItems: 8
maxItems: 8
else:
properties:
reg:
minItems: 2
maxItems: 2
clocks:
minItems: 9
maxItems: 11

unevaluatedProperties: false

examples:
Expand Down

0 comments on commit 29a6d12

Please sign in to comment.