public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Add TRNG support for Glymur SoC
@ 2026-04-16 12:26 Harshal Dev
  2026-04-16 12:26 ` [PATCH 1/2] dt-bindings: crypto: qcom,prng: Document Glymur TRNG Harshal Dev
  2026-04-16 12:26 ` [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node Harshal Dev
  0 siblings, 2 replies; 5+ messages in thread
From: Harshal Dev @ 2026-04-16 12:26 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Vinod Koul, Bjorn Andersson, Konrad Dybcio,
	Dmitry Baryshkov
  Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	Harshal Dev

Document and add the device-tree node to enable TRNG for Glymur SoC.

Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
---
Harshal Dev (2):
      dt-bindings: crypto: qcom,prng: Document Glymur TRNG
      arm64: dts: qcom: glymur: add TRNG node

 Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 1 +
 arch/arm64/boot/dts/qcom/glymur.dtsi                    | 5 +++++
 2 files changed, 6 insertions(+)
---
base-commit: 936c21068d7ade00325e40d82bfd2f3f29d9f659
change-id: 20260416-glymur_trng_enablement-31518b69fbca

Best regards,
-- 
Harshal Dev <harshal.dev@oss.qualcomm.com>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/2] dt-bindings: crypto: qcom,prng: Document Glymur TRNG
  2026-04-16 12:26 [PATCH 0/2] Add TRNG support for Glymur SoC Harshal Dev
@ 2026-04-16 12:26 ` Harshal Dev
  2026-04-16 12:26 ` [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node Harshal Dev
  1 sibling, 0 replies; 5+ messages in thread
From: Harshal Dev @ 2026-04-16 12:26 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Vinod Koul, Bjorn Andersson, Konrad Dybcio,
	Dmitry Baryshkov
  Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	Harshal Dev

Document glymur compatible for the True Random Number Generator.

Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
---
 Documentation/devicetree/bindings/crypto/qcom,prng.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
index 41402599e9ab..498d6914135e 100644
--- a/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
+++ b/Documentation/devicetree/bindings/crypto/qcom,prng.yaml
@@ -17,6 +17,7 @@ properties:
           - qcom,prng-ee  # 8996 and later using EE
       - items:
           - enum:
+              - qcom,glymur-trng
               - qcom,ipq5332-trng
               - qcom,ipq5424-trng
               - qcom,ipq9574-trng

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node
  2026-04-16 12:26 [PATCH 0/2] Add TRNG support for Glymur SoC Harshal Dev
  2026-04-16 12:26 ` [PATCH 1/2] dt-bindings: crypto: qcom,prng: Document Glymur TRNG Harshal Dev
@ 2026-04-16 12:26 ` Harshal Dev
  2026-04-16 12:33   ` Konrad Dybcio
  1 sibling, 1 reply; 5+ messages in thread
From: Harshal Dev @ 2026-04-16 12:26 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Vinod Koul, Bjorn Andersson, Konrad Dybcio,
	Dmitry Baryshkov
  Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel,
	Harshal Dev

Glymur has a True Random Number Generator, add the node with the correct
compatible set.

Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/glymur.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
index f23cf81ddb77..c9d46ec82ccc 100644
--- a/arch/arm64/boot/dts/qcom/glymur.dtsi
+++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
@@ -3675,6 +3675,11 @@ pcie3b_phy: phy@f10000 {
 			status = "disabled";
 		};
 
+		rng: rng@10c3000 {
+			compatible = "qcom,glymur-trng", "qcom,trng";
+			reg = <0x0 0x10c3000 0x0 0x1000>;
+		};
+
 		tcsr_mutex: hwlock@1f40000 {
 			compatible = "qcom,tcsr-mutex";
 			reg = <0x0 0x01f40000 0x0 0x20000>;

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node
  2026-04-16 12:26 ` [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node Harshal Dev
@ 2026-04-16 12:33   ` Konrad Dybcio
  2026-04-17  9:23     ` Harshal Dev
  0 siblings, 1 reply; 5+ messages in thread
From: Konrad Dybcio @ 2026-04-16 12:33 UTC (permalink / raw)
  To: Harshal Dev, Herbert Xu, David S. Miller, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Vinod Koul, Bjorn Andersson,
	Konrad Dybcio, Dmitry Baryshkov
  Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel

On 4/16/26 2:26 PM, Harshal Dev wrote:
> Glymur has a True Random Number Generator, add the node with the correct
> compatible set.
> 
> Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
> ---
>  arch/arm64/boot/dts/qcom/glymur.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
> index f23cf81ddb77..c9d46ec82ccc 100644
> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi
> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
> @@ -3675,6 +3675,11 @@ pcie3b_phy: phy@f10000 {
>  			status = "disabled";
>  		};
>  
> +		rng: rng@10c3000 {
> +			compatible = "qcom,glymur-trng", "qcom,trng";
> +			reg = <0x0 0x10c3000 0x0 0x1000>;

Please pad the address part to 8 hex digits with leading zeroes

with that:

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>

Konrad

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node
  2026-04-16 12:33   ` Konrad Dybcio
@ 2026-04-17  9:23     ` Harshal Dev
  0 siblings, 0 replies; 5+ messages in thread
From: Harshal Dev @ 2026-04-17  9:23 UTC (permalink / raw)
  To: Konrad Dybcio, Herbert Xu, David S. Miller, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Vinod Koul, Bjorn Andersson,
	Konrad Dybcio, Dmitry Baryshkov
  Cc: linux-arm-msm, linux-crypto, devicetree, linux-kernel



On 4/16/2026 6:03 PM, Konrad Dybcio wrote:
> On 4/16/26 2:26 PM, Harshal Dev wrote:
>> Glymur has a True Random Number Generator, add the node with the correct
>> compatible set.
>>
>> Signed-off-by: Harshal Dev <harshal.dev@oss.qualcomm.com>
>> ---
>>  arch/arm64/boot/dts/qcom/glymur.dtsi | 5 +++++
>>  1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi
>> index f23cf81ddb77..c9d46ec82ccc 100644
>> --- a/arch/arm64/boot/dts/qcom/glymur.dtsi
>> +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi
>> @@ -3675,6 +3675,11 @@ pcie3b_phy: phy@f10000 {
>>  			status = "disabled";
>>  		};
>>  
>> +		rng: rng@10c3000 {
>> +			compatible = "qcom,glymur-trng", "qcom,trng";
>> +			reg = <0x0 0x10c3000 0x0 0x1000>;
> 
> Please pad the address part to 8 hex digits with leading zeroes
> 

Ack.

Regards,
Harshal

> with that:
> 
> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
> 
> Konrad


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-17  9:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-16 12:26 [PATCH 0/2] Add TRNG support for Glymur SoC Harshal Dev
2026-04-16 12:26 ` [PATCH 1/2] dt-bindings: crypto: qcom,prng: Document Glymur TRNG Harshal Dev
2026-04-16 12:26 ` [PATCH 2/2] arm64: dts: qcom: glymur: add TRNG node Harshal Dev
2026-04-16 12:33   ` Konrad Dybcio
2026-04-17  9:23     ` Harshal Dev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox