All of lore.kernel.org
 help / color / mirror / Atom feed
* [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support
@ 2020-08-26  8:29 Tero Kristo
  2020-08-26  8:29 ` [RESEND PATCHv6 1/2] arm64: dts: ti: k3-am6: Add crypto accelarator node Tero Kristo
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tero Kristo @ 2020-08-26  8:29 UTC (permalink / raw)
  To: linux-arm-kernel, nm

Hi Nishanth,

Here are the two pending crypto node patches that missed last merge
window, resending as per request.

Boot tested against linux-next with both j721e and am65x boards, and
also gave a quick sanity test with crypto self tests + tcrypt.ko
testing. All pass.

-Tero


--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [RESEND PATCHv6 1/2] arm64: dts: ti: k3-am6: Add crypto accelarator node
  2020-08-26  8:29 [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Tero Kristo
@ 2020-08-26  8:29 ` Tero Kristo
  2020-08-26  8:29 ` [RESEND PATCHv6 2/2] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node Tero Kristo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Tero Kristo @ 2020-08-26  8:29 UTC (permalink / raw)
  To: linux-arm-kernel, nm; +Cc: Keerthy

From: Keerthy <j-keerthy@ti.com>

Add crypto accelarator node for supporting hardware crypto algorithms,
including SHA1, SHA256, SHA512, AES, 3DES, and AEAD suites.

Signed-off-by: Keerthy <j-keerthy@ti.com>
[t-kristo@ti.com: Modifications based on introduction of yaml binding]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
index 24ef18fe77df..ceef607c17a1 100644
--- a/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-am65-main.dtsi
@@ -112,6 +112,28 @@
 		power-domains = <&k3_pds 148 TI_SCI_PD_EXCLUSIVE>;
 	};
 
+	crypto: crypto@4e00000 {
+		compatible = "ti,am654-sa2ul";
+		reg = <0x0 0x4e00000 0x0 0x1200>;
+		power-domains = <&k3_pds 136 TI_SCI_PD_EXCLUSIVE>;
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges = <0x0 0x04e00000 0x00 0x04e00000 0x0 0x30000>;
+		status = "okay";
+
+		dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
+				<&main_udmap 0x4001>;
+		dma-names = "tx", "rx1", "rx2";
+		dma-coherent;
+
+		rng: rng@4e10000 {
+			compatible = "inside-secure,safexcel-eip76";
+			reg = <0x0 0x4e10000 0x0 0x7d>;
+			interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&k3_clks 136 1>;
+		};
+	};
+
 	main_pmx0: pinmux@11c000 {
 		compatible = "pinctrl-single";
 		reg = <0x0 0x11c000 0x0 0x2e4>;
-- 
2.17.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* [RESEND PATCHv6 2/2] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node
  2020-08-26  8:29 [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Tero Kristo
  2020-08-26  8:29 ` [RESEND PATCHv6 1/2] arm64: dts: ti: k3-am6: Add crypto accelarator node Tero Kristo
@ 2020-08-26  8:29 ` Tero Kristo
  2020-08-27  0:30 ` [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Nishanth Menon
  2020-08-31 18:08 ` Nishanth Menon
  3 siblings, 0 replies; 5+ messages in thread
From: Tero Kristo @ 2020-08-26  8:29 UTC (permalink / raw)
  To: linux-arm-kernel, nm; +Cc: Keerthy

From: Keerthy <j-keerthy@ti.com>

Add crypto accelarator node for supporting hardware crypto algorithms,
including SHA1, SHA256, SHA512, AES, 3DES, and AEAD suites.

Signed-off-by: Keerthy <j-keerthy@ti.com>
[t-kristo@ti.com: Modifications based on introduction of yaml binding]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
---
 arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
index 12ceea9b3c9a..b77ac8b0a792 100644
--- a/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
+++ b/arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
@@ -304,6 +304,29 @@
 		};
 	};
 
+	main_crypto: crypto@4e00000 {
+		compatible = "ti,j721e-sa2ul";
+		reg = <0x0 0x4e00000 0x0 0x1200>;
+		power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>;
+		#address-cells = <2>;
+		#size-cells = <2>;
+		ranges = <0x0 0x04e00000 0x00 0x04e00000 0x0 0x30000>;
+
+		status = "okay";
+
+		dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>,
+				<&main_udmap 0x4001>;
+		dma-names = "tx", "rx1", "rx2";
+		dma-coherent;
+
+		rng: rng@4e10000 {
+			compatible = "inside-secure,safexcel-eip76";
+			reg = <0x0 0x4e10000 0x0 0x7d>;
+			interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&k3_clks 264 1>;
+		};
+	};
+
 	main_pmx0: pinmux@11c000 {
 		compatible = "pinctrl-single";
 		/* Proxy 0 addressing */
-- 
2.17.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support
  2020-08-26  8:29 [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Tero Kristo
  2020-08-26  8:29 ` [RESEND PATCHv6 1/2] arm64: dts: ti: k3-am6: Add crypto accelarator node Tero Kristo
  2020-08-26  8:29 ` [RESEND PATCHv6 2/2] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node Tero Kristo
@ 2020-08-27  0:30 ` Nishanth Menon
  2020-08-31 18:08 ` Nishanth Menon
  3 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2020-08-27  0:30 UTC (permalink / raw)
  To: Tero Kristo; +Cc: nm, linux-arm-kernel

On 11:29-20200826, Tero Kristo wrote:
> Hi Nishanth,
> 
> Here are the two pending crypto node patches that missed last merge
> window, resending as per request.
> 
> Boot tested against linux-next with both j721e and am65x boards, and
> also gave a quick sanity test with crypto self tests + tcrypt.ko
> testing. All pass.
> 

Thanks Tero. I have queued it in my staging tree for now, will move to
next once rc3 is tagged.

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

* Re: [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support
  2020-08-26  8:29 [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Tero Kristo
                   ` (2 preceding siblings ...)
  2020-08-27  0:30 ` [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Nishanth Menon
@ 2020-08-31 18:08 ` Nishanth Menon
  3 siblings, 0 replies; 5+ messages in thread
From: Nishanth Menon @ 2020-08-31 18:08 UTC (permalink / raw)
  To: Tero Kristo, linux-arm-kernel; +Cc: Nishanth Menon

On Wed, 26 Aug 2020 11:29:19 +0300, Tero Kristo wrote:
> Here are the two pending crypto node patches that missed last merge
> window, resending as per request.
> 
> Boot tested against linux-next with both j721e and am65x boards, and
> also gave a quick sanity test with crypto self tests + tcrypt.ko
> testing. All pass.
> 
> [...]

Hi Tero Kristo,

I have applied the following to branch ti-k3-dts-next on [1].
Thank you!

[1/2] arm64: dts: ti: k3-am6: Add crypto accelarator node
      commit: b366b2409c97e476cda7d83819d9b4851d2f57b1
[2/2] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node
      commit: 8ebcaaae8017466f62cf36e1d0023faa1d5f924c

[1] git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git
-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2020-08-31 18:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-26  8:29 [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Tero Kristo
2020-08-26  8:29 ` [RESEND PATCHv6 1/2] arm64: dts: ti: k3-am6: Add crypto accelarator node Tero Kristo
2020-08-26  8:29 ` [RESEND PATCHv6 2/2] arm64: dts: ti: k3-j721e-main: Add crypto accelerator node Tero Kristo
2020-08-27  0:30 ` [RESEND PATCHv6 0/2] arm64: dts: ti: add crypto support Nishanth Menon
2020-08-31 18:08 ` Nishanth Menon

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.