Skip to content

Commit ae3bed7

Browse files
krzkherbertx
authored andcommitted
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 03b0248 commit ae3bed7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Documentation/devicetree/bindings/crypto/qcom-qce.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,17 @@ allOf:
131131
- clocks
132132
- clock-names
133133

134+
- if:
135+
properties:
136+
compatible:
137+
contains:
138+
enum:
139+
- qcom,sm8150-qce
140+
then:
141+
properties:
142+
clocks: false
143+
clock-names: false
144+
134145
required:
135146
- compatible
136147
- reg

0 commit comments

Comments
 (0)