diff mbox series

[v2,4/7] crypto: qcom-rng - Add support for trng

Message ID 20230824-topic-sm8550-rng-v2-4-dfcafbb16a3e@linaro.org
State Superseded
Headers show
Series arm64: qcom: sm8550: enable RNG | expand

Commit Message

Neil Armstrong Aug. 24, 2023, 11:33 a.m. UTC
The SM8450 & later SoCs RNG HW is now a True Random Number Generator
and a new compatible has been introduced to handle the difference.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 drivers/crypto/qcom-rng.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Om Prakash Singh Aug. 28, 2023, 4:59 a.m. UTC | #1
On 8/24/2023 5:03 PM, Neil Armstrong wrote:
> The SM8450 & later SoCs RNG HW is now a True Random Number Generator
> and a new compatible has been introduced to handle the difference.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
Reviewed-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Om Prakash Singh Sept. 1, 2023, 12:56 p.m. UTC | #2
I missed to notice. Please correct "-" to ":" in subject line

On 8/28/2023 10:29 AM, Om Prakash Singh wrote:
> 
> 
> On 8/24/2023 5:03 PM, Neil Armstrong wrote:
>> The SM8450 & later SoCs RNG HW is now a True Random Number Generator
>> and a new compatible has been introduced to handle the difference.
>>
>> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
>> ---
> Reviewed-by: Om Prakash Singh <quic_omprsing@quicinc.com>
Krzysztof Kozlowski Sept. 3, 2023, 5:33 p.m. UTC | #3
On 01/09/2023 14:56, Om Prakash Singh wrote:
> I missed to notice. Please correct "-" to ":" in subject line

Hm? What do you want to correct? The subject prefix is correct, why do
you ask to change it?

Best regards,
Krzysztof
Om Prakash Singh Sept. 4, 2023, 2:57 p.m. UTC | #4
On 9/3/2023 11:03 PM, Krzysztof Kozlowski wrote:
> On 01/09/2023 14:56, Om Prakash Singh wrote:
>> I missed to notice. Please correct "-" to ":" in subject line
> 
> Hm? What do you want to correct? The subject prefix is correct, why do
> you ask to change it?
Previous applied patch using different subject line format-

"crypto: qcom-rng: Make the core clock optional regardless of ACPI presence"

But looks like What Neil is using is the right way, looking at change 
log for the file.

> 
> Best regards,
> Krzysztof
>
diff mbox series

Patch

diff --git a/drivers/crypto/qcom-rng.c b/drivers/crypto/qcom-rng.c
index 825a729f205e..fb54b8cfc35f 100644
--- a/drivers/crypto/qcom-rng.c
+++ b/drivers/crypto/qcom-rng.c
@@ -207,6 +207,7 @@  MODULE_DEVICE_TABLE(acpi, qcom_rng_acpi_match);
 static const struct of_device_id __maybe_unused qcom_rng_of_match[] = {
 	{ .compatible = "qcom,prng", .data = (void *)0},
 	{ .compatible = "qcom,prng-ee", .data = (void *)1},
+	{ .compatible = "qcom,trng", .data = (void *)1},
 	{}
 };
 MODULE_DEVICE_TABLE(of, qcom_rng_of_match);