arm64: qcom: sm8550: enable RNG Enable RNG on SM8550 by reverting the PRNG bindings & DT for SM8450 and correctly document it as a True Random Number Generator. To: Andy Gross <agross@kernel.org> To: Bjorn Andersson <andersson@kernel.org> To: Konrad Dybcio <konrad.dybcio@linaro.org> To: Herbert Xu <herbert@gondor.apana.org.au> To: "David S. Miller" <davem@davemloft.net> To: Rob Herring <robh+dt@kernel.org> To: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org> To: Conor Dooley <conor+dt@kernel.org> To: Vinod Koul <vkoul@kernel.org> Cc: linux-arm-msm@vger.kernel.org Cc: linux-crypto@vger.kernel.org Cc: devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> --- Changes in v3: - Removed invalid character in commit msg - Added review tags - Removed applied patch 1 - Link to v2: https://lore.kernel.org/r/20230824-topic-sm8550-rng-v2-0-dfcafbb16a3e@linaro.org Changes in v2: - Revert SM8450 DT & bindings - Add new qcom,trng compatible and use it for SM8450 & SM8550 - Explicitly didn't collect the Reviewed-by tags due to the compatible change - Link to v1: https://lore.kernel.org/r/20230822-topic-sm8550-rng-v1-0-8e10055165d1@linaro.org --- Neil Armstrong (6): Revert "arm64: dts: qcom: sm8450: Add PRNG" dt-bindings: crypto: qcom,prng: document that RNG on SM8450 is a TRNG crypto: qcom-rng - Add support for trng dt-bindings: crypto: qcom,prng: document SM8550 arm64: dts: qcom: sm8550: add TRNG node arm64: dts: qcom: sm8450: add TRNG node .../devicetree/bindings/crypto/qcom,prng.yaml | 26 +++++++++++++++++----- arch/arm64/boot/dts/qcom/sm8450.dtsi | 2 +- arch/arm64/boot/dts/qcom/sm8550.dtsi | 5 +++++ drivers/crypto/qcom-rng.c | 1 + 4 files changed, 28 insertions(+), 6 deletions(-) --- base-commit: 2ee82481c392eec06a7ef28df61b7f0d8e45be2e change-id: 20230822-topic-sm8550-rng-c83142783e20 Best regards,