Re: [PATCH 1/2] dt-bindings: crypto: qcom,prng: document SM8550

From: Om Prakash Singh
Date: Tue Aug 22 2023 - 10:55:10 EST


PRNG Block on most of newer target from Qualcomm have some configuration where clock is configured by security firmware.

Adding separate compatible string for each platform is overhead.

We need to introduce common compatible string that can be used for all platforms with same configuration.

I would suggest to use "qcom,rng-ee" for newer platform, dropping "p" also signifies it is not a Pseudo Random Number Generator.

On 8/22/2023 7:58 PM, Konrad Dybcio wrote:
On 22.08.2023 16:11, Neil Armstrong wrote:
Document SM8550 compatible for Pseudo Random Generator,
like SM8450 doesn't require clocks setup done by the secure
firmware.

Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
---
+ CC Om

As mentioned in [1], perhaps we should rethink the compatible as
it may be a TRNG and not a PRNG?

Konrad

[1] https://lore.kernel.org/linux-arm-msm/d93902ee-c305-42cb-9d0d-1f0971ab3a70@xxxxxxxxxxx/