diff mbox series

[2/2] arm64: dts: qcom: sm8550: Add PRNG

Message ID 20230822-topic-sm8550-rng-v1-2-8e10055165d1@linaro.org (mailing list archive)
State Superseded
Delegated to: Herbert Xu
Headers show
Series arm64: qcom: sm8550: enable RNG | expand

Commit Message

Neil Armstrong Aug. 22, 2023, 2:11 p.m. UTC
Add the Qualcomm Pseudo-Random Number Generator.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Om Prakash Singh Aug. 23, 2023, 11:47 p.m. UTC | #1
On 8/22/2023 7:41 PM, Neil Armstrong wrote:
> Add the Qualcomm Pseudo-Random Number Generator.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
> ---
Reviewed-by: Om Prakash Singh <quic_omprsing@quicinc.com>

>   arch/arm64/boot/dts/qcom/sm8550.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> index d115960bdeec..643ec80feacc 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
> @@ -1661,6 +1661,11 @@ mmss_noc: interconnect@1780000 {
>   			qcom,bcm-voters = <&apps_bcm_voter>;
>   		};
>   
> +		rng: rng@10c3000 {
> +			compatible = "qcom,sm8550-prng-ee", "qcom,prng-ee";
> +			reg = <0 0x010c3000 0 0x1000>;
> +		};
> +
>   		pcie0: pci@1c00000 {
>   			device_type = "pci";
>   			compatible = "qcom,pcie-sm8550";
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi
index d115960bdeec..643ec80feacc 100644
--- a/arch/arm64/boot/dts/qcom/sm8550.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi
@@ -1661,6 +1661,11 @@  mmss_noc: interconnect@1780000 {
 			qcom,bcm-voters = <&apps_bcm_voter>;
 		};
 
+		rng: rng@10c3000 {
+			compatible = "qcom,sm8550-prng-ee", "qcom,prng-ee";
+			reg = <0 0x010c3000 0 0x1000>;
+		};
+
 		pcie0: pci@1c00000 {
 			device_type = "pci";
 			compatible = "qcom,pcie-sm8550";