linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] ARM: dts: vfxxx: Add node for CAAM
@ 2020-07-07 21:13 Chris Healy
  2020-07-07 21:51 ` Fabio Estevam
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Healy @ 2020-07-07 21:13 UTC (permalink / raw)
  To: shawnguo, s.hauer, stefan, robh+dt, linux-arm-kernel, devicetree,
	linux-kernel
  Cc: Andrey Smirnov, Chris Healy

From: Andrey Smirnov <andrew.smirnov@gmail.com>

Add node for CAAM device in NXP Vybrid SoC.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Chris Healy <cphealy@gmail.com>

v2:
- fixup commit to show that this patch is from Andrey Smirnov.

---
 arch/arm/boot/dts/vfxxx.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi
index 2d547e7b21ad..0fe03aa0367f 100644
--- a/arch/arm/boot/dts/vfxxx.dtsi
+++ b/arch/arm/boot/dts/vfxxx.dtsi
@@ -729,6 +729,28 @@
 				dma-names = "rx","tx";
 				status = "disabled";
 			};
+
+			crypto: crypto@400f0000 {
+				compatible = "fsl,sec-v4.0";
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0x400f0000 0x9000>;
+				ranges = <0 0x400f0000 0x9000>;
+				clocks = <&clks VF610_CLK_CAAM>;
+				clock-names = "ipg";
+
+				sec_jr0: jr0@1000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x1000 0x1000>;
+					interrupts = <102 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr1: jr1@2000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x2000 0x1000>;
+					interrupts = <102 IRQ_TYPE_LEVEL_HIGH>;
+				};
+			};
 		};
 	};
 };
-- 
2.21.3


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

* Re: [PATCH v2] ARM: dts: vfxxx: Add node for CAAM
  2020-07-07 21:13 [PATCH v2] ARM: dts: vfxxx: Add node for CAAM Chris Healy
@ 2020-07-07 21:51 ` Fabio Estevam
  2020-07-13  6:56   ` Shawn Guo
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2020-07-07 21:51 UTC (permalink / raw)
  To: Chris Healy
  Cc: Shawn Guo, Sascha Hauer, Stefan Agner, Rob Herring,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel, Andrey Smirnov

Hi Chris,

On Tue, Jul 7, 2020 at 6:15 PM Chris Healy <cphealy@gmail.com> wrote:
>
> From: Andrey Smirnov <andrew.smirnov@gmail.com>
>
> Add node for CAAM device in NXP Vybrid SoC.
>
> Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> Signed-off-by: Chris Healy <cphealy@gmail.com>
>
> v2:
> - fixup commit to show that this patch is from Andrey Smirnov.

We usually put this information below the --- line.

Maybe Shawn could fix it while applying it.

Other that that:
Reviewed-by: Fabio Estevam <festevam@gmail.com>

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

* Re: [PATCH v2] ARM: dts: vfxxx: Add node for CAAM
  2020-07-07 21:51 ` Fabio Estevam
@ 2020-07-13  6:56   ` Shawn Guo
  0 siblings, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2020-07-13  6:56 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Chris Healy, Sascha Hauer, Stefan Agner, Rob Herring,
	moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	linux-kernel, Andrey Smirnov

On Tue, Jul 07, 2020 at 06:51:00PM -0300, Fabio Estevam wrote:
> Hi Chris,
> 
> On Tue, Jul 7, 2020 at 6:15 PM Chris Healy <cphealy@gmail.com> wrote:
> >
> > From: Andrey Smirnov <andrew.smirnov@gmail.com>
> >
> > Add node for CAAM device in NXP Vybrid SoC.
> >
> > Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
> > Signed-off-by: Chris Healy <cphealy@gmail.com>
> >
> > v2:
> > - fixup commit to show that this patch is from Andrey Smirnov.
> 
> We usually put this information below the --- line.
> 
> Maybe Shawn could fix it while applying it.

Fixed and applied.

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

end of thread, other threads:[~2020-07-13  6:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-07 21:13 [PATCH v2] ARM: dts: vfxxx: Add node for CAAM Chris Healy
2020-07-07 21:51 ` Fabio Estevam
2020-07-13  6:56   ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).