All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] rockchip: px30: add support for HW RNG for Odroid Go Advance
@ 2021-08-25 16:23 Chris Morgan
  2021-10-15 12:54 ` Kever Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Morgan @ 2021-08-25 16:23 UTC (permalink / raw)
  To: u-boot; +Cc: kever.yang, jon.lin, Chris Morgan

From: Chris Morgan <macromorgan@hotmail.com>

The Odroid Go Advance has a hardware random number generator present.
The device does not have an upstream Linux driver, but does have a
U-Boot driver. Add the appropriate node so that the hardware RNG can be
used in U-Boot.

Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
---
 arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
index 741e8dd935..6d4edc5855 100644
--- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
+++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
@@ -16,6 +16,12 @@
 		serial2 = &uart2;
 		spi0 = &sfc;
 	};
+
+	rng: rng@ff0b0000 {
+		compatible = "rockchip,cryptov2-rng";
+		reg = <0x0 0xff0b0000 0x0 0x4000>;
+		status = "okay";
+	};
 };
 
 &cru {
-- 
2.25.1


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

* Re: [PATCH 1/1] rockchip: px30: add support for HW RNG for Odroid Go Advance
  2021-08-25 16:23 [PATCH 1/1] rockchip: px30: add support for HW RNG for Odroid Go Advance Chris Morgan
@ 2021-10-15 12:54 ` Kever Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Kever Yang @ 2021-10-15 12:54 UTC (permalink / raw)
  To: Chris Morgan; +Cc: U-Boot-Denx, Kever Yang, jon.lin, Chris Morgan

Reviewed-by: Kever Yang <kever.yang@rock-chips.com>


Thanks,
- Kever

Chris Morgan <macroalpha82@gmail.com> 于2021年8月26日周四 上午12:24写道:
>
> From: Chris Morgan <macromorgan@hotmail.com>
>
> The Odroid Go Advance has a hardware random number generator present.
> The device does not have an upstream Linux driver, but does have a
> U-Boot driver. Add the appropriate node so that the hardware RNG can be
> used in U-Boot.
>
> Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
> ---
>  arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> index 741e8dd935..6d4edc5855 100644
> --- a/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> +++ b/arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi
> @@ -16,6 +16,12 @@
>                 serial2 = &uart2;
>                 spi0 = &sfc;
>         };
> +
> +       rng: rng@ff0b0000 {
> +               compatible = "rockchip,cryptov2-rng";
> +               reg = <0x0 0xff0b0000 0x0 0x4000>;
> +               status = "okay";
> +       };
>  };
>
>  &cru {
> --
> 2.25.1
>

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

end of thread, other threads:[~2021-10-15 12:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 16:23 [PATCH 1/1] rockchip: px30: add support for HW RNG for Odroid Go Advance Chris Morgan
2021-10-15 12:54 ` Kever Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.