Skip to content

Commit

Permalink
Revert "dt-bindings: crypto: qcom,prng: Add SM8450"
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
superna9999 authored and herbertx committed Aug 25, 2023
1 parent 9687daf commit 85b9bf9
Showing 1 changed file with 5 additions and 19 deletions.
24 changes: 5 additions & 19 deletions Documentation/devicetree/bindings/crypto/qcom,prng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ maintainers:

properties:
compatible:
oneOf:
- enum:
- qcom,prng # 8916 etc.
- qcom,prng-ee # 8996 and later using EE
- items:
- const: qcom,sm8450-prng-ee
- const: qcom,prng-ee
enum:
- qcom,prng # 8916 etc.
- qcom,prng-ee # 8996 and later using EE

reg:
maxItems: 1
Expand All @@ -32,18 +28,8 @@ properties:
required:
- compatible
- reg

allOf:
- if:
not:
properties:
compatible:
contains:
const: qcom,sm8450-prng-ee
then:
required:
- clocks
- clock-names
- clocks
- clock-names

additionalProperties: false

Expand Down

0 comments on commit 85b9bf9

Please sign in to comment.