[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230824-topic-sm8550-rng-v2-1-dfcafbb16a3e@linaro.org>
Date: Thu, 24 Aug 2023 13:33:20 +0200
From: Neil Armstrong <neil.armstrong@...aro.org>
To: Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Vinod Koul <vkoul@...nel.org>
Cc: linux-arm-msm@...r.kernel.org, linux-crypto@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Neil Armstrong <neil.armstrong@...aro.org>,
Om Prakash Singh <quic_omprsing@...cinc.com>
Subject: [PATCH v2 1/7] 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@...cinc.com>
Suggested-by: Konrad Dybcio <konrad.dybcio@...aro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@...aro.org>
---
.../devicetree/bindings/crypto/qcom,prng.yaml | 24 +++++-----------------
1 file 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
--
2.34.1
Powered by blists - more mailing lists