diff mbox series

[v2,2/2] arm64: dts: sdm845: add prng-ee support

Message ID 20180827110824.14126-3-vkoul@kernel.org (mailing list archive)
State Superseded
Delegated to: Andy Gross
Headers show
Series arm64: dts: add prng-ee support | expand

Commit Message

Vinod Koul Aug. 27, 2018, 11:08 a.m. UTC
Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Bjorn Andersson Sept. 2, 2018, 3:53 a.m. UTC | #1
On Mon 27 Aug 04:08 PDT 2018, Vinod Koul wrote:

> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
>  arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> index 0c9a2aa6a1b5..efbf9c27a7c9 100644
> --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> @@ -9,6 +9,7 @@
>  #include <dt-bindings/clock/qcom,rpmh.h>
>  #include <dt-bindings/interrupt-controller/arm-gic.h>
>  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
> +#include <dt-bindings/clock/qcom,gcc-sdm845.h>
>  
>  / {
>  	interrupt-parent = <&intc>;
> @@ -997,6 +998,13 @@
>  			cell-index = <0>;
>  		};
>  
> +		qcom_rng: qrng@83000 {
> +			compatible = "qcom,prng-ee";
> +			reg = <0x83000 0x1000>;

This should be updated to 0x793000

Regards,
Bjorn

> +			clocks = <&gcc GCC_PRNG_AHB_CLK>;
> +			clock-names = "core";
> +		};
> +
>  		apss_shared: mailbox@17990000 {
>  			compatible = "qcom,sdm845-apss-shared";
>  			reg = <0x17990000 0x1000>;
> -- 
> 2.14.4
>
Vinod Koul Sept. 3, 2018, 4:31 a.m. UTC | #2
On 01-09-18, 20:53, Bjorn Andersson wrote:
> On Mon 27 Aug 04:08 PDT 2018, Vinod Koul wrote:
> 
> > Signed-off-by: Vinod Koul <vkoul@kernel.org>
> > ---
> >  arch/arm64/boot/dts/qcom/sdm845.dtsi | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> > index 0c9a2aa6a1b5..efbf9c27a7c9 100644
> > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
> > @@ -9,6 +9,7 @@
> >  #include <dt-bindings/clock/qcom,rpmh.h>
> >  #include <dt-bindings/interrupt-controller/arm-gic.h>
> >  #include <dt-bindings/soc/qcom,rpmh-rsc.h>
> > +#include <dt-bindings/clock/qcom,gcc-sdm845.h>
> >  
> >  / {
> >  	interrupt-parent = <&intc>;
> > @@ -997,6 +998,13 @@
> >  			cell-index = <0>;
> >  		};
> >  
> > +		qcom_rng: qrng@83000 {
> > +			compatible = "qcom,prng-ee";
> > +			reg = <0x83000 0x1000>;
> 
> This should be updated to 0x793000

Yes that seems to be right, will update
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi
index 0c9a2aa6a1b5..efbf9c27a7c9 100644
--- a/arch/arm64/boot/dts/qcom/sdm845.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi
@@ -9,6 +9,7 @@ 
 #include <dt-bindings/clock/qcom,rpmh.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/soc/qcom,rpmh-rsc.h>
+#include <dt-bindings/clock/qcom,gcc-sdm845.h>
 
 / {
 	interrupt-parent = <&intc>;
@@ -997,6 +998,13 @@ 
 			cell-index = <0>;
 		};
 
+		qcom_rng: qrng@83000 {
+			compatible = "qcom,prng-ee";
+			reg = <0x83000 0x1000>;
+			clocks = <&gcc GCC_PRNG_AHB_CLK>;
+			clock-names = "core";
+		};
+
 		apss_shared: mailbox@17990000 {
 			compatible = "qcom,sdm845-apss-shared";
 			reg = <0x17990000 0x1000>;