2018-06-06 19:22:09

by Scott Branden

[permalink] [raw]
Subject: [PATCH v2 1/1] ARM: dts: cygnus: enable iproc-hwrng

From: Mohamed Ismail Abdul Packir Mohamed <[email protected]>

Enable the HW rng driver "iproc-rng200" for all cygnus platforms.

Signed-off-by: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
Reviewed-by: Ray Jui <[email protected]>
Signed-off-by: Scott Branden <[email protected]>
---
arch/arm/boot/dts/bcm-cygnus.dtsi | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
index 9fe4f5a..b0e38fa 100644
--- a/arch/arm/boot/dts/bcm-cygnus.dtsi
+++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
@@ -417,6 +417,11 @@
status = "disabled";
};

+ rng: rng@18032000 {
+ compatible = "brcm,iproc-rng200";
+ reg = <0x18032000 0x28>;
+ };
+
sdhci0: sdhci@18041000 {
compatible = "brcm,sdhci-iproc-cygnus";
reg = <0x18041000 0x100>;
--
2.5.0



2018-06-07 19:00:33

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH v2 1/1] ARM: dts: cygnus: enable iproc-hwrng

On 06/06/2018 11:21 AM, Scott Branden wrote:
> From: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
>
> Enable the HW rng driver "iproc-rng200" for all cygnus platforms.
>
> Signed-off-by: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
> Reviewed-by: Ray Jui <[email protected]>
> Signed-off-by: Scott Branden <[email protected]>

Clement, do you want to test this and reported back?

> ---
> arch/arm/boot/dts/bcm-cygnus.dtsi | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
> index 9fe4f5a..b0e38fa 100644
> --- a/arch/arm/boot/dts/bcm-cygnus.dtsi
> +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
> @@ -417,6 +417,11 @@
> status = "disabled";
> };
>
> + rng: rng@18032000 {
> + compatible = "brcm,iproc-rng200";
> + reg = <0x18032000 0x28>;
> + };
> +
> sdhci0: sdhci@18041000 {
> compatible = "brcm,sdhci-iproc-cygnus";
> reg = <0x18041000 0x100>;
>


--
Florian

2018-06-07 19:02:12

by Clément Péron

[permalink] [raw]
Subject: Re: [PATCH v2 1/1] ARM: dts: cygnus: enable iproc-hwrng

Hi Florian,

On Thu, 7 Jun 2018 at 18:35, Florian Fainelli <[email protected]> wrote:
>
> On 06/06/2018 11:21 AM, Scott Branden wrote:
> > From: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
> >
> > Enable the HW rng driver "iproc-rng200" for all cygnus platforms.
> >
> > Signed-off-by: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
> > Reviewed-by: Ray Jui <[email protected]>
> > Signed-off-by: Scott Branden <[email protected]>
>
> Clement, do you want to test this and reported back?

Tested v1 and works fine on bcm58305

Tested-by: Clément Péron <[email protected]>

>
> > ---
> > arch/arm/boot/dts/bcm-cygnus.dtsi | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi
> > index 9fe4f5a..b0e38fa 100644
> > --- a/arch/arm/boot/dts/bcm-cygnus.dtsi
> > +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi
> > @@ -417,6 +417,11 @@
> > status = "disabled";
> > };
> >
> > + rng: rng@18032000 {
> > + compatible = "brcm,iproc-rng200";
> > + reg = <0x18032000 0x28>;
> > + };
> > +
> > sdhci0: sdhci@18041000 {
> > compatible = "brcm,sdhci-iproc-cygnus";
> > reg = <0x18041000 0x100>;
> >
>
>
> --
> Florian

2018-06-07 19:03:48

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH v2 1/1] ARM: dts: cygnus: enable iproc-hwrng

On Wed, 6 Jun 2018 11:21:31 -0700, Scott Branden <[email protected]> wrote:
> From: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
>
> Enable the HW rng driver "iproc-rng200" for all cygnus platforms.
>
> Signed-off-by: Mohamed Ismail Abdul Packir Mohamed <[email protected]>
> Reviewed-by: Ray Jui <[email protected]>
> Signed-off-by: Scott Branden <[email protected]>
> ---

Applied to devicetree/next, thanks!
--
Florian