summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/ufs
diff options
context:
space:
mode:
authorAbel Vesa <abel.vesa@linaro.org>2023-06-12 22:28:45 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2023-06-16 12:04:31 -0400
commit29a6d1215b7cd5fdff9c3c31ea26076a694ee0a3 (patch)
tree56ba014ca72efc79d5f86752b5d08ecd21364129 /Documentation/devicetree/bindings/ufs
parent3c9b49be666679d64191b05c6f3e3fcc9259040d (diff)
downloadlinux-29a6d1215b7cd5fdff9c3c31ea26076a694ee0a3.tar.gz
linux-29a6d1215b7cd5fdff9c3c31ea26076a694ee0a3.tar.bz2
linux-29a6d1215b7cd5fdff9c3c31ea26076a694ee0a3.zip
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 <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>
Diffstat (limited to 'Documentation/devicetree/bindings/ufs')
-rw-r--r--Documentation/devicetree/bindings/ufs/qcom,ufs.yaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
index b1c00424c2b0..943dafb69529 100644
--- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
+++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml
@@ -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
@@ -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: