summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-12-12 11:00:44 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-12-22 12:30:19 +0800
commitae3bed72ac00e07637bd9e40fce84ff1a20fbf3d (patch)
tree9e07ed4c150ec5590469a2c4c02d1343acc0edad /Documentation
parent03b024887da4db8041fb64438cb02e55a409f007 (diff)
downloadlinux-stable-ae3bed72ac00e07637bd9e40fce84ff1a20fbf3d.tar.gz
linux-stable-ae3bed72ac00e07637bd9e40fce84ff1a20fbf3d.tar.bz2
linux-stable-ae3bed72ac00e07637bd9e40fce84ff1a20fbf3d.zip
dt-bindings: crypto: qcom-qce: constrain clocks for SM8150-compatible QCE
All devices compatible with SM8150 QCE (so SM8250 and newer) do not have clock inputs (clocks are handled by secure firmware), so explicitly disallow the clocks in the bindings. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/crypto/qcom-qce.yaml11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
index 6435708da202..e8c418b614dc 100644
--- a/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom-qce.yaml
@@ -131,6 +131,17 @@ allOf:
- clocks
- clock-names
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ - qcom,sm8150-qce
+ then:
+ properties:
+ clocks: false
+ clock-names: false
+
required:
- compatible
- reg