* [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes
@ 2016-05-03 16:44 Mike Williams
2016-05-03 16:44 ` [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node Mike Williams
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Mike Williams @ 2016-05-03 16:44 UTC (permalink / raw)
To: linux-arm-kernel
Adds support for the true hardware random number generator.
Tested on a SAMA5D3 Xplained board.
Mike Williams (3):
ARM: at91/dt: sama5d2: add trng node
ARM: at91/dt: sama5d3: add trng node
ARM: at91/dt: sama5d4: add trng node
arch/arm/boot/dts/sama5d2.dtsi | 7 +++++++
arch/arm/boot/dts/sama5d3.dtsi | 7 +++++++
arch/arm/boot/dts/sama5d4.dtsi | 7 +++++++
3 files changed, 21 insertions(+)
--
2.5.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node
2016-05-03 16:44 [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Mike Williams
@ 2016-05-03 16:44 ` Mike Williams
2016-05-06 13:29 ` Nicolas Ferre
2016-05-03 16:44 ` [PATCH 2/3] ARM: at91/dt: sama5d3: " Mike Williams
` (2 subsequent siblings)
3 siblings, 1 reply; 6+ messages in thread
From: Mike Williams @ 2016-05-03 16:44 UTC (permalink / raw)
To: linux-arm-kernel
Add node to support SAMA5D2 hardware random number generator.
---
arch/arm/boot/dts/sama5d2.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 78996bd..af9a5f8 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -1127,6 +1127,13 @@
status = "disabled";
};
+ trng at fc01c000 {
+ compatible = "atmel,at91sam9g45-trng";
+ reg = <0xfc01c000 0x4000>;
+ interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&trng_clk>;
+ };
+
aic: interrupt-controller at fc020000 {
#interrupt-cells = <3>;
compatible = "atmel,sama5d2-aic";
--
2.5.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/3] ARM: at91/dt: sama5d3: add trng node
2016-05-03 16:44 [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Mike Williams
2016-05-03 16:44 ` [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node Mike Williams
@ 2016-05-03 16:44 ` Mike Williams
2016-05-03 16:44 ` [PATCH 3/3] ARM: at91/dt: sama5d4: " Mike Williams
2016-05-06 13:24 ` [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Nicolas Ferre
3 siblings, 0 replies; 6+ messages in thread
From: Mike Williams @ 2016-05-03 16:44 UTC (permalink / raw)
To: linux-arm-kernel
Add node to support SAMA5D3 hardware random number generator.
---
arch/arm/boot/dts/sama5d3.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index a532791..c346aa9 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b/arch/arm/boot/dts/sama5d3.dtsi
@@ -426,6 +426,13 @@
clock-names = "tdes_clk";
};
+ trng at f8040000 {
+ compatible = "atmel,at91sam9g45-trng";
+ reg = <0xf8040000 0x4000>;
+ interrupts = <45 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&trng_clk>;
+ };
+
dma0: dma-controller at ffffe600 {
compatible = "atmel,at91sam9g45-dma";
reg = <0xffffe600 0x200>;
--
2.5.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 3/3] ARM: at91/dt: sama5d4: add trng node
2016-05-03 16:44 [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Mike Williams
2016-05-03 16:44 ` [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node Mike Williams
2016-05-03 16:44 ` [PATCH 2/3] ARM: at91/dt: sama5d3: " Mike Williams
@ 2016-05-03 16:44 ` Mike Williams
2016-05-06 13:24 ` [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Nicolas Ferre
3 siblings, 0 replies; 6+ messages in thread
From: Mike Williams @ 2016-05-03 16:44 UTC (permalink / raw)
To: linux-arm-kernel
Add node to support SAMA5D4 hardware random number generator.
---
arch/arm/boot/dts/sama5d4.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index db1151c..a95eb36 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -1202,6 +1202,13 @@
status = "disabled";
};
+ trng at fc030000 {
+ compatible = "atmel,at91sam9g45-trng";
+ reg = <0xfc030000 0x4000>;
+ interrupts = <53 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&trng_clk>;
+ };
+
adc0: adc at fc034000 {
compatible = "atmel,at91sam9x5-adc";
reg = <0xfc034000 0x100>;
--
2.5.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes
2016-05-03 16:44 [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Mike Williams
` (2 preceding siblings ...)
2016-05-03 16:44 ` [PATCH 3/3] ARM: at91/dt: sama5d4: " Mike Williams
@ 2016-05-06 13:24 ` Nicolas Ferre
3 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2016-05-06 13:24 UTC (permalink / raw)
To: linux-arm-kernel
Le 03/05/2016 18:44, Mike Williams a ?crit :
> Adds support for the true hardware random number generator.
>
> Tested on a SAMA5D3 Xplained board.
>
> Mike Williams (3):
> ARM: at91/dt: sama5d2: add trng node
> ARM: at91/dt: sama5d3: add trng node
> ARM: at91/dt: sama5d4: add trng node
>
> arch/arm/boot/dts/sama5d2.dtsi | 7 +++++++
> arch/arm/boot/dts/sama5d3.dtsi | 7 +++++++
> arch/arm/boot/dts/sama5d4.dtsi | 7 +++++++
> 3 files changed, 21 insertions(+)
Oh, yes: they were missing indeed.
BTW, I reduce the size of the register memory map to 0x100 like this on
all patches (no need to re-send):
@@ -1170,7 +1170,7 @@
trng at fc01c000 {
compatible = "atmel,at91sam9g45-trng";
- reg = <0xfc01c000 0x4000>;
+ reg = <0xfc01c000 0x100>;
interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
clocks = <&trng_clk>;
};
and take advantage of this to do the same on
arch/arm/boot/dts/at91sam9g45.dtsi as well.
Thanks and:
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
I stack the patches on top of at91-4.7-dt and build a pull-request soon.
Bye,
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node
2016-05-03 16:44 ` [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node Mike Williams
@ 2016-05-06 13:29 ` Nicolas Ferre
0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2016-05-06 13:29 UTC (permalink / raw)
To: linux-arm-kernel
Le 03/05/2016 18:44, Mike Williams a ?crit :
> Add node to support SAMA5D2 hardware random number generator.
Oh, Mike, something is missing here: you Singed-off-by tag.
http://lxr.free-electrons.com/source/Documentation/SubmittingPatches#L409
Please read this and send me an email telling me if you add it to your
patches (this way you don't have to re-send them, if it's easier for you).
Bye,
> ---
> arch/arm/boot/dts/sama5d2.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 78996bd..af9a5f8 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -1127,6 +1127,13 @@
> status = "disabled";
> };
>
> + trng at fc01c000 {
> + compatible = "atmel,at91sam9g45-trng";
> + reg = <0xfc01c000 0x4000>;
> + interrupts = <47 IRQ_TYPE_LEVEL_HIGH 0>;
> + clocks = <&trng_clk>;
> + };
> +
> aic: interrupt-controller at fc020000 {
> #interrupt-cells = <3>;
> compatible = "atmel,sama5d2-aic";
>
--
Nicolas Ferre
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-05-06 13:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-03 16:44 [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Mike Williams
2016-05-03 16:44 ` [PATCH 1/3] ARM: at91/dt: sama5d2: add trng node Mike Williams
2016-05-06 13:29 ` Nicolas Ferre
2016-05-03 16:44 ` [PATCH 2/3] ARM: at91/dt: sama5d3: " Mike Williams
2016-05-03 16:44 ` [PATCH 3/3] ARM: at91/dt: sama5d4: " Mike Williams
2016-05-06 13:24 ` [PATCH 0/3] ARM: at91/dt: add SAMA5 trng nodes Nicolas Ferre
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.