Message ID | 20230824-topic-sm8550-rng-v2-0-dfcafbb16a3e@linaro.org |
---|---|
Headers | show |
Series | arm64: qcom: sm8550: enable RNG | expand |
On 24.08.2023 13:33, Neil Armstrong wrote: > Add the Qualcomm True Random Number Generator node. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad
On 8/24/2023 5:03 PM, Neil Armstrong wrote: > 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: 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: Om Prakash Singh <quic_omprsing@quicinc.com>
On 8/24/2023 5:03 PM, Neil Armstrong wrote: > Document SM8550 compatible for the True Random Number Generator. > > Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> > --- Reviewed-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Enable RNG on SM8550 by reverting the PRNG bindings & DT for SM8450 and correctly document it as a True Random Number Generator. Signed-off-by: Neil Armstrong <neil.armstrong@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 (7): Revert "dt-bindings: crypto: qcom,prng: Add SM8450" 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 Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 8 +++++--- 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, 12 insertions(+), 4 deletions(-) --- base-commit: 28c736b0e92e11bfe2b9997688213dc43cb22182 change-id: 20230822-topic-sm8550-rng-c83142783e20 Best regards,