linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ARM: dts: stm32: enable crypto controllers
@ 2020-11-05 10:23 Lionel Debieve
  2020-11-05 10:23 ` [PATCH 1/3] ARM: dts: stm32: enable HASH by default on stm32mp15 Lionel Debieve
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Lionel Debieve @ 2020-11-05 10:23 UTC (permalink / raw)
  To: Alexandre Torgue, Maxime Coquelin, Rob Herring
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-stm32,
	Nicolas Toromanoff

Enable the crypto controllers in the STM32MP157C-EV1 and STM32MP157A-DK1
STM32MP157C-DK2 boards.

Lionel Debieve (2):
  ARM: dts: stm32: enable HASH by default on stm32mp15
  ARM: dts: stm32: enable CRYP by default on stm32mp15

Nicolas Toromanoff (1):
  ARM: dts: stm32: enable CRC1 by default on stm32mp15

 arch/arm/boot/dts/stm32mp157c-dk2.dts  |  4 ++++
 arch/arm/boot/dts/stm32mp157c-ed1.dts  | 12 ++++++++++++
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi |  8 ++++++++
 3 files changed, 24 insertions(+)

-- 
2.17.1


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

* [PATCH 1/3] ARM: dts: stm32: enable HASH by default on stm32mp15
  2020-11-05 10:23 [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Lionel Debieve
@ 2020-11-05 10:23 ` Lionel Debieve
  2020-11-05 10:23 ` [PATCH 2/3] ARM: dts: stm32: enable CRC1 " Lionel Debieve
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Lionel Debieve @ 2020-11-05 10:23 UTC (permalink / raw)
  To: Alexandre Torgue, Maxime Coquelin, Rob Herring
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-stm32,
	Nicolas Toromanoff

Enable HASH1 device for HASH accelerated support on
stm32mp15 STMicroelectronics platforms.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
---
 arch/arm/boot/dts/stm32mp157c-ed1.dts  | 4 ++++
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 2e77ccec3fc1..1a98a29b3283 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -136,6 +136,10 @@
 	contiguous-area = <&gpu_reserved>;
 };
 
+&hash1 {
+	status = "okay";
+};
+
 &i2c4 {
 	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&i2c4_pins_a>;
diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index 93398cfae97e..e92a18542306 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -151,6 +151,10 @@
 	contiguous-area = <&gpu_reserved>;
 };
 
+&hash1 {
+	status = "okay";
+};
+
 &i2c1 {
 	pinctrl-names = "default", "sleep";
 	pinctrl-0 = <&i2c1_pins_a>;
-- 
2.17.1


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

* [PATCH 2/3] ARM: dts: stm32: enable CRC1 by default on stm32mp15
  2020-11-05 10:23 [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Lionel Debieve
  2020-11-05 10:23 ` [PATCH 1/3] ARM: dts: stm32: enable HASH by default on stm32mp15 Lionel Debieve
@ 2020-11-05 10:23 ` Lionel Debieve
  2020-11-05 10:23 ` [PATCH 3/3] ARM: dts: stm32: enable CRYP " Lionel Debieve
  2020-11-09 11:08 ` [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Lionel Debieve @ 2020-11-05 10:23 UTC (permalink / raw)
  To: Alexandre Torgue, Maxime Coquelin, Rob Herring
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-stm32,
	Nicolas Toromanoff

From: Nicolas Toromanoff <nicolas.toromanoff@st.com>

Enable CRC1 device for CRC-32 accelerated support on
stm32mp15 STMicroelectronics platforms.

Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
---
 arch/arm/boot/dts/stm32mp157c-ed1.dts  | 4 ++++
 arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 1a98a29b3283..99796ffa43bf 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -115,6 +115,10 @@
 	};
 };
 
+&crc1 {
+	status = "okay";
+};
+
 &dac {
 	pinctrl-names = "default";
 	pinctrl-0 = <&dac_ch1_pins_a &dac_ch2_pins_a>;
diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
index e92a18542306..4e74e55a4f07 100644
--- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
+++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi
@@ -124,6 +124,10 @@
 	status = "okay";
 };
 
+&crc1 {
+	status = "okay";
+};
+
 &dts {
 	status = "okay";
 };
-- 
2.17.1


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

* [PATCH 3/3] ARM: dts: stm32: enable CRYP by default on stm32mp15
  2020-11-05 10:23 [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Lionel Debieve
  2020-11-05 10:23 ` [PATCH 1/3] ARM: dts: stm32: enable HASH by default on stm32mp15 Lionel Debieve
  2020-11-05 10:23 ` [PATCH 2/3] ARM: dts: stm32: enable CRC1 " Lionel Debieve
@ 2020-11-05 10:23 ` Lionel Debieve
  2020-11-09 11:08 ` [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Lionel Debieve @ 2020-11-05 10:23 UTC (permalink / raw)
  To: Alexandre Torgue, Maxime Coquelin, Rob Herring
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-stm32,
	Nicolas Toromanoff

Enable CRYP1 device for cryp accelerated support on
stm32mp157C-EV1/DK2 STMicroelectronics platforms.

Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@st.com>
Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
---
 arch/arm/boot/dts/stm32mp157c-dk2.dts | 4 ++++
 arch/arm/boot/dts/stm32mp157c-ed1.dts | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts
index 045636555ddd..2bc92ef3aeb9 100644
--- a/arch/arm/boot/dts/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts
@@ -29,6 +29,10 @@
 	};
 };
 
+&cryp1 {
+	status = "okay";
+};
+
 &dsi {
 	status = "okay";
 	phy-dsi-supply = <&reg18>;
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index 99796ffa43bf..74b9aaa611b5 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -136,6 +136,10 @@
 	status = "okay";
 };
 
+&cryp1 {
+	status = "okay";
+};
+
 &gpu {
 	contiguous-area = <&gpu_reserved>;
 };
-- 
2.17.1


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

* Re: [PATCH 0/3] ARM: dts: stm32: enable crypto controllers
  2020-11-05 10:23 [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Lionel Debieve
                   ` (2 preceding siblings ...)
  2020-11-05 10:23 ` [PATCH 3/3] ARM: dts: stm32: enable CRYP " Lionel Debieve
@ 2020-11-09 11:08 ` Alexandre Torgue
  3 siblings, 0 replies; 5+ messages in thread
From: Alexandre Torgue @ 2020-11-09 11:08 UTC (permalink / raw)
  To: Lionel Debieve, Maxime Coquelin, Rob Herring
  Cc: linux-arm-kernel, devicetree, linux-kernel, linux-stm32,
	Nicolas Toromanoff

Hi Lionel

On 11/5/20 11:23 AM, Lionel Debieve wrote:
> Enable the crypto controllers in the STM32MP157C-EV1 and STM32MP157A-DK1
> STM32MP157C-DK2 boards.
> 
> Lionel Debieve (2):
>    ARM: dts: stm32: enable HASH by default on stm32mp15
>    ARM: dts: stm32: enable CRYP by default on stm32mp15
> 
> Nicolas Toromanoff (1):
>    ARM: dts: stm32: enable CRC1 by default on stm32mp15
> 
>   arch/arm/boot/dts/stm32mp157c-dk2.dts  |  4 ++++
>   arch/arm/boot/dts/stm32mp157c-ed1.dts  | 12 ++++++++++++
>   arch/arm/boot/dts/stm32mp15xx-dkx.dtsi |  8 ++++++++
>   3 files changed, 24 insertions(+)
> 

Series applied on stm32-next.

Regards
Alex

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

end of thread, other threads:[~2020-11-09 11:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05 10:23 [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Lionel Debieve
2020-11-05 10:23 ` [PATCH 1/3] ARM: dts: stm32: enable HASH by default on stm32mp15 Lionel Debieve
2020-11-05 10:23 ` [PATCH 2/3] ARM: dts: stm32: enable CRC1 " Lionel Debieve
2020-11-05 10:23 ` [PATCH 3/3] ARM: dts: stm32: enable CRYP " Lionel Debieve
2020-11-09 11:08 ` [PATCH 0/3] ARM: dts: stm32: enable crypto controllers Alexandre Torgue

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).