2020-11-05 10:26:17

by Lionel Debieve

[permalink] [raw]
Subject: [PATCH 0/3] ARM: dts: stm32: enable crypto controllers

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


2020-11-05 10:26:21

by Lionel Debieve

[permalink] [raw]
Subject: [PATCH 2/3] ARM: dts: stm32: enable CRC1 by default on stm32mp15

From: Nicolas Toromanoff <[email protected]>

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

Signed-off-by: Nicolas Toromanoff <[email protected]>
Signed-off-by: Lionel Debieve <[email protected]>
---
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

2020-11-05 10:26:32

by Lionel Debieve

[permalink] [raw]
Subject: [PATCH 1/3] ARM: dts: stm32: enable HASH by default on stm32mp15

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

Signed-off-by: Lionel Debieve <[email protected]>
---
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

2020-11-05 10:27:51

by Lionel Debieve

[permalink] [raw]
Subject: [PATCH 3/3] ARM: dts: stm32: enable CRYP by default on stm32mp15

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

Signed-off-by: Nicolas Toromanoff <[email protected]>
Signed-off-by: Lionel Debieve <[email protected]>
---
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

2020-11-09 11:11:30

by Alexandre Torgue

[permalink] [raw]
Subject: Re: [PATCH 0/3] ARM: dts: stm32: enable crypto controllers

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