diff mbox series

[v1] arm64: dts: qcom: sm8350: Add support for PRNG EE

Message ID 20210401101536.1014560-1-robert.foss@linaro.org
State New
Headers show
Series [v1] arm64: dts: qcom: sm8350: Add support for PRNG EE | expand

Commit Message

Robert Foss April 1, 2021, 10:15 a.m. UTC
RNG (Random Number Generator) in SM8350 features PRNG EE (Execution
Environment), hence add devicetree support for it.

Signed-off-by: Robert Foss <robert.foss@linaro.org>

---
 arch/arm64/boot/dts/qcom/sm8350.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

-- 
2.31.0.30.g398dba342d.dirty

Comments

Vinod Koul April 1, 2021, 11:26 a.m. UTC | #1
On 01-04-21, 12:15, Robert Foss wrote:
> RNG (Random Number Generator) in SM8350 features PRNG EE (Execution

> Environment), hence add devicetree support for it.


Reviewed-by: Vinod Koul <vkoul@kernel.org>


-- 
~Vinod
patchwork-bot+linux-arm-msm@kernel.org April 4, 2021, 6:10 p.m. UTC | #2
Hello:

This patch was applied to qcom/linux.git (refs/heads/for-next):

On Thu,  1 Apr 2021 12:15:36 +0200 you wrote:
> RNG (Random Number Generator) in SM8350 features PRNG EE (Execution

> Environment), hence add devicetree support for it.

> 

> Signed-off-by: Robert Foss <robert.foss@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/sm8350.dtsi | 7 +++++++

>  1 file changed, 7 insertions(+)


Here is the summary with links:
  - [v1] arm64: dts: qcom: sm8350: Add support for PRNG EE
    https://git.kernel.org/qcom/c/24e3eb2e32c6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8350.dtsi b/arch/arm64/boot/dts/qcom/sm8350.dtsi
index ea285147e43f..2a3ebf6964f4 100644
--- a/arch/arm64/boot/dts/qcom/sm8350.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8350.dtsi
@@ -673,6 +673,13 @@  tx {
 			};
 		};
 
+		rng: rng@10d3000 {
+			compatible = "qcom,prng-ee";
+			reg = <0 0x010d3000 0 0x1000>;
+			clocks = <&rpmhcc RPMH_HWKM_CLK>;
+			clock-names = "core";
+		};
+
 		intc: interrupt-controller@17a00000 {
 			compatible = "arm,gic-v3";
 			#interrupt-cells = <3>;