devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: qcom: Add RNG device tree node
@ 2014-02-07  9:23 Stanimir Varbanov
  2014-02-08  3:37 ` Stephen Boyd
  0 siblings, 1 reply; 4+ messages in thread
From: Stanimir Varbanov @ 2014-02-07  9:23 UTC (permalink / raw)
  To: devicetree, linux-arm-kernel, linux-arm-msm
  Cc: Kumar Gala, Mark Rutland, Rob Herring, Pawel Moll, Ian Campbell,
	David Brown, Stephen Boyd, Stanimir Varbanov

Add the necessary DT node to probe the rng driver on
msm8974 platforms.

Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
---
 arch/arm/boot/dts/qcom-msm8974.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi
index 9e5dadb101eb..ada0e8216c22 100644
--- a/arch/arm/boot/dts/qcom-msm8974.dtsi
+++ b/arch/arm/boot/dts/qcom-msm8974.dtsi
@@ -117,5 +117,12 @@
 			clocks = <&gcc GCC_BLSP1_UART2_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>;
 			clock-names = "core", "iface";
 		};
+
+		rng@f9bff000 {
+			compatible = "qcom,prng";
+			reg = <0xf9bff000 0x200>;
+			clocks = <&gcc GCC_PRNG_AHB_CLK>;
+			clock-names = "core";
+		};
 	};
 };
-- 
1.8.4.4

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

* Re: [PATCH] ARM: dts: qcom: Add RNG device tree node
  2014-02-07  9:23 [PATCH] ARM: dts: qcom: Add RNG device tree node Stanimir Varbanov
@ 2014-02-08  3:37 ` Stephen Boyd
  2014-02-12  9:28   ` Stanimir Varbanov
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Boyd @ 2014-02-08  3:37 UTC (permalink / raw)
  To: Stanimir Varbanov
  Cc: devicetree, linux-arm-kernel, linux-arm-msm, Kumar Gala,
	Mark Rutland, Rob Herring, Pawel Moll, Ian Campbell, David Brown

On 02/07, Stanimir Varbanov wrote:
> Add the necessary DT node to probe the rng driver on
> msm8974 platforms.
> 

Looks good. We should add it to msm8960-cdp and enable the driver
in the defconfig as well.

> Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>

Acked-by: Stephen Boyd <sboyd@codeaurora.org>

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

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

* Re: [PATCH] ARM: dts: qcom: Add RNG device tree node
  2014-02-08  3:37 ` Stephen Boyd
@ 2014-02-12  9:28   ` Stanimir Varbanov
  2014-02-18 22:13     ` Stephen Boyd
  0 siblings, 1 reply; 4+ messages in thread
From: Stanimir Varbanov @ 2014-02-12  9:28 UTC (permalink / raw)
  To: Stephen Boyd
  Cc: devicetree, linux-arm-kernel, linux-arm-msm, Kumar Gala,
	Mark Rutland, Rob Herring, Pawel Moll, Ian Campbell, David Brown

Hi, Stephen

On 02/08/2014 05:37 AM, Stephen Boyd wrote:
> On 02/07, Stanimir Varbanov wrote:
>> Add the necessary DT node to probe the rng driver on
>> msm8974 platforms.
>>
> 
> Looks good. We should add it to msm8960-cdp and enable the driver
> in the defconfig as well.

Sure, I can prepare a patch. Unfortunately I haven't msm8960 CDP to test it.

> 
>> Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
> 
> Acked-by: Stephen Boyd <sboyd@codeaurora.org>
> 

Thanks!

regards,
Stan

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

* Re: [PATCH] ARM: dts: qcom: Add RNG device tree node
  2014-02-12  9:28   ` Stanimir Varbanov
@ 2014-02-18 22:13     ` Stephen Boyd
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Boyd @ 2014-02-18 22:13 UTC (permalink / raw)
  To: Stanimir Varbanov
  Cc: devicetree, linux-arm-kernel, linux-arm-msm, Kumar Gala,
	Mark Rutland, Rob Herring, Pawel Moll, Ian Campbell, David Brown

On 02/12, Stanimir Varbanov wrote:
> Hi, Stephen
> 
> On 02/08/2014 05:37 AM, Stephen Boyd wrote:
> > On 02/07, Stanimir Varbanov wrote:
> >> Add the necessary DT node to probe the rng driver on
> >> msm8974 platforms.
> >>
> > 
> > Looks good. We should add it to msm8960-cdp and enable the driver
> > in the defconfig as well.
> 
> Sure, I can prepare a patch. Unfortunately I haven't msm8960 CDP to test it.
> 

No problem. I have one on my desk and can run a test if you like.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation

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

end of thread, other threads:[~2014-02-18 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-07  9:23 [PATCH] ARM: dts: qcom: Add RNG device tree node Stanimir Varbanov
2014-02-08  3:37 ` Stephen Boyd
2014-02-12  9:28   ` Stanimir Varbanov
2014-02-18 22:13     ` Stephen Boyd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).