diff mbox

ARM: dts: qcom: Add RNG device tree node

Message ID 1391764987-17138-1-git-send-email-svarbanov@mm-sol.com (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Stanimir Varbanov Feb. 7, 2014, 9:23 a.m. UTC
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(+)

Comments

Stephen Boyd Feb. 8, 2014, 3:37 a.m. UTC | #1
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>
Stanimir Varbanov Feb. 12, 2014, 9:28 a.m. UTC | #2
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
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Boyd Feb. 18, 2014, 10:13 p.m. UTC | #3
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.
diff mbox

Patch

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";
+		};
 	};
 };