diff mbox series

[2/3] arm64: dts: qcom: ipq9574: Enable TRNG instead PRNG

Message ID 20241206072057.1508459-3-quic_mdalam@quicinc.com
State New
Headers show
Series [1/3] arm64: dts: qcom: ipq5424: Add TRNG node | expand

Commit Message

Md Sadre Alam Dec. 6, 2024, 7:20 a.m. UTC
RNG hardware versions greater than 3.0 are Truly
Random Number Generators (TRNG). In IPQ95xx RNG
block is TRNG. Update the corresponding compatible
property to ensure the hardware block is registered
with the hw_random framework, which feeds the Linux
entropy pool.

Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
---
 arch/arm64/boot/dts/qcom/ipq9574.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/ipq9574.dtsi b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
index d1fd35ebc4a2..db1afa0d5422 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574.dtsi
@@ -227,7 +227,7 @@  rpm_msg_ram: sram@60000 {
 		};
 
 		rng: rng@e3000 {
-			compatible = "qcom,prng-ee";
+			compatible = "qcom,trng";
 			reg = <0x000e3000 0x1000>;
 			clocks = <&gcc GCC_PRNG_AHB_CLK>;
 			clock-names = "core";