DORMANTno replies REVIEWED: 1 (0M)

1 review trailer.

[PATCH v2] devicetree: Add hardware rng entry to qcom-apq8064.dtsi

From: John Stultz <hidden>
Date: 2015-05-13 22:41:54
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Add devicetree data to add support for hw_rng support
to the apq8064 dts.

Tested on the Nexus7 (2013).

Cc: Kumar Gala <redacted>
Cc: Stephen Boyd <redacted>
Cc: Srinivas Kandagatla <redacted>
Cc: devicetree@vger.kernel.org
Reviewed-by: Stephen Boyd <redacted>
Signed-off-by: John Stultz <redacted>
---
v2: Adjusted hex value to lower-case per Stephen's suggestion.

 arch/arm/boot/dts/qcom-apq8064.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index b3154c0..241811d 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -226,6 +226,13 @@
 			};
 		};
 
+		rng@1a500000 {
+			compatible = "qcom,prng";
+			reg = <0x1a500000 0x200>;
+			clocks = <&gcc PRNG_CLK>;
+			clock-names = "core";
+		};
+
 		qcom,ssbi@500000 {
 			compatible = "qcom,ssbi";
 			reg = <0x00500000 0x1000>;
-- 
1.9.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help