Commit 63b299a1 authored by Neil Armstrong's avatar Neil Armstrong Committed by Herbert Xu

dt-bindings: crypto: qcom,prng: document that RNG on SM8450 is a TRNG

It has been reported at [1] the RNG HW on SM8450 is in fact a True Random
Number Generator and no more Pseudo, document this by adding
a new qcom,trng and the corresponding SoC specific sm8450 compatible.

[1] https://lore.kernel.org/all/20230818161720.3644424-1-quic_omprsing@quicinc.com/Suggested-by: default avatarOm Prakash Singh <quic_omprsing@quicinc.com>
Suggested-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: default avatarOm Prakash Singh <quic_omprsing@quicinc.com>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 2c985943
...@@ -11,9 +11,14 @@ maintainers: ...@@ -11,9 +11,14 @@ maintainers:
properties: properties:
compatible: compatible:
enum: oneOf:
- qcom,prng # 8916 etc. - enum:
- qcom,prng-ee # 8996 and later using EE - qcom,prng # 8916 etc.
- qcom,prng-ee # 8996 and later using EE
- items:
- enum:
- qcom,sm8450-trng
- const: qcom,trng
reg: reg:
maxItems: 1 maxItems: 1
...@@ -28,8 +33,18 @@ properties: ...@@ -28,8 +33,18 @@ properties:
required: required:
- compatible - compatible
- reg - reg
- clocks
- clock-names allOf:
- if:
not:
properties:
compatible:
contains:
const: qcom,trng
then:
required:
- clocks
- clock-names
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment