All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux dev-4.7 v1] dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5
@ 2017-04-04 21:53 Rick Altherr
  2017-04-05  4:37 ` Joel Stanley
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Altherr @ 2017-04-04 21:53 UTC (permalink / raw)
  To: Joel Stanley; +Cc: openbmc

Signed-off-by: Rick Altherr <raltherr@google.com>
---

 arch/arm/boot/dts/aspeed-g4.dtsi |  6 ++++++
 arch/arm/boot/dts/aspeed-g5.dtsi | 12 ++++++++++++
 2 files changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index e5be87076a6b..ee735e92c3d9 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -840,6 +840,12 @@
 				reg = <0x1e6e202c 0x4>;
 			};
 
+			hwrng@1e6e2078 {
+				compatible = "timeriomem_rng";
+				reg = <0x1e6e2078 0x4>;
+				period = <1>;
+			};
+
 			adc: adc@1e6e9000 {
 				compatible = "aspeed,ast2400-adc";
 				reg = <0x1e6e9000 0xB0>;
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index 48fd068251d6..4f29dcfcc134 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -1009,6 +1009,18 @@
 				reg = <0x1e6e202c 0x4>;
 			};
 
+			hwrng@1e6e2078 {
+				compatible = "timeriomem_rng";
+				reg = <0x1e6e2078 0x4>;
+				period = <1>;
+			};
+
 			gfx: display@1e6e6000 {
 				compatible = "aspeed,ast2500-gfx", "syscon";
 				reg = <0x1e6e6000 0x1000>;
-- 
2.12.2.715.g7642488e1d-goog

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

* Re: [PATCH linux dev-4.7 v1] dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5
  2017-04-04 21:53 [PATCH linux dev-4.7 v1] dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5 Rick Altherr
@ 2017-04-05  4:37 ` Joel Stanley
  0 siblings, 0 replies; 2+ messages in thread
From: Joel Stanley @ 2017-04-05  4:37 UTC (permalink / raw)
  To: Rick Altherr; +Cc: OpenBMC Maillist

Hi Rick,

I tried to apply this and got the following:

Applying patch #746973 using 'git am -s'
Description: [linux,dev-4.7,v1] dts: aspeed: Add hardware RNG to
aspeed-g4 and aspeed-g5
Applying: dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5
error: corrupt patch at line 42
Patch failed at 0001 dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5

Can you try sending again?

Cheers,

Joel

On Wed, Apr 5, 2017 at 7:23 AM, Rick Altherr <raltherr@google.com> wrote:
> Signed-off-by: Rick Altherr <raltherr@google.com>
> ---
>
>  arch/arm/boot/dts/aspeed-g4.dtsi |  6 ++++++
>  arch/arm/boot/dts/aspeed-g5.dtsi | 12 ++++++++++++
>  2 files changed, 18 insertions(+)
>
> diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
> index e5be87076a6b..ee735e92c3d9 100644
> --- a/arch/arm/boot/dts/aspeed-g4.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g4.dtsi
> @@ -840,6 +840,12 @@
>                                 reg = <0x1e6e202c 0x4>;
>                         };
>
> +                       hwrng@1e6e2078 {
> +                               compatible = "timeriomem_rng";
> +                               reg = <0x1e6e2078 0x4>;
> +                               period = <1>;
> +                       };
> +
>                         adc: adc@1e6e9000 {
>                                 compatible = "aspeed,ast2400-adc";
>                                 reg = <0x1e6e9000 0xB0>;
> diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
> index 48fd068251d6..4f29dcfcc134 100644
> --- a/arch/arm/boot/dts/aspeed-g5.dtsi
> +++ b/arch/arm/boot/dts/aspeed-g5.dtsi
> @@ -1009,6 +1009,18 @@
>                                 reg = <0x1e6e202c 0x4>;
>                         };
>
> +                       hwrng@1e6e2078 {
> +                               compatible = "timeriomem_rng";
> +                               reg = <0x1e6e2078 0x4>;
> +                               period = <1>;
> +                       };
> +
>                         gfx: display@1e6e6000 {
>                                 compatible = "aspeed,ast2500-gfx", "syscon";
>                                 reg = <0x1e6e6000 0x1000>;
> --
> 2.12.2.715.g7642488e1d-goog
>

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

end of thread, other threads:[~2017-04-05  4:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-04 21:53 [PATCH linux dev-4.7 v1] dts: aspeed: Add hardware RNG to aspeed-g4 and aspeed-g5 Rick Altherr
2017-04-05  4:37 ` Joel Stanley

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.