Skip to content

Commit 85b9bf9

Browse files
superna9999herbertx
authored andcommitted
Revert "dt-bindings: crypto: qcom,prng: Add SM8450"
This reverts commit b9296bb ("dt-bindings: crypto: qcom,prng: Add SM8450"), since the RNG HW on the SM8450 SoC is in fact a True Random Number Generator, a more appropriate compatible should be instead as reported at [1]. [1] https://lore.kernel.org/all/[email protected]/ Suggested-by: Om Prakash Singh <[email protected]> Suggested-by: Konrad Dybcio <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 9687daf commit 85b9bf9

File tree

1 file changed

+5
-19
lines changed

1 file changed

+5
-19
lines changed

Documentation/devicetree/bindings/crypto/qcom,prng.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,9 @@ maintainers:
1111

1212
properties:
1313
compatible:
14-
oneOf:
15-
- enum:
16-
- qcom,prng # 8916 etc.
17-
- qcom,prng-ee # 8996 and later using EE
18-
- items:
19-
- const: qcom,sm8450-prng-ee
20-
- const: qcom,prng-ee
14+
enum:
15+
- qcom,prng # 8916 etc.
16+
- qcom,prng-ee # 8996 and later using EE
2117

2218
reg:
2319
maxItems: 1
@@ -32,18 +28,8 @@ properties:
3228
required:
3329
- compatible
3430
- reg
35-
36-
allOf:
37-
- if:
38-
not:
39-
properties:
40-
compatible:
41-
contains:
42-
const: qcom,sm8450-prng-ee
43-
then:
44-
required:
45-
- clocks
46-
- clock-names
31+
- clocks
32+
- clock-names
4733

4834
additionalProperties: false
4935

0 commit comments

Comments
 (0)