]> Git Repo - linux.git/commitdiff
Revert "dt-bindings: crypto: qcom,prng: Add SM8450"
authorNeil Armstrong <[email protected]>
Thu, 24 Aug 2023 11:33:20 +0000 (13:33 +0200)
committerHerbert Xu <[email protected]>
Fri, 25 Aug 2023 11:01:45 +0000 (19:01 +0800)
This reverts commit b9296bb41275 ("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/20230818161720.3644424[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]>
Documentation/devicetree/bindings/crypto/qcom,prng.yaml

index 36b0ebd9a44ba3ca587dd0edf3f3d73a66779385..bb42f4588b40a7c8251a8c5e4bf31f28cd1cf9f8 100644 (file)
@@ -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
@@ -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
 
This page took 0.067475 seconds and 4 git commands to generate.