diff options
author | Neil Armstrong <neil.armstrong@linaro.org> | 2023-08-24 13:33:20 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-08-25 19:01:45 +0800 |
commit | 85b9bf9a514d991fcecb118d0a8a35e754ff9265 (patch) | |
tree | 7a15da834b91c6ce582385d7b36c482298889b8c | |
parent | 9687daf785c035b4b6f73c998e6ee75bb0697c7e (diff) |
Revert "dt-bindings: crypto: qcom,prng: Add SM8450"
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-1-quic_omprsing@quicinc.com/
Suggested-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Suggested-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml index 36b0ebd9a44b..bb42f4588b40 100644 --- a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml +++ b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml @@ -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 |