* [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board.
@ 2024-02-19 11:37 Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 1/3] ARM: dts: stm32: add CRC on stm32mp131 Thomas Bourgoin
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Thomas Bourgoin @ 2024-02-19 11:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue
Cc: Thomas Bourgoin, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
Enable the CRC and CRYP internal peripherals on STM32MP135F-DK board.
The first 2 patches adds the node crc1 in file stm32mp131.dtsi and
enables it for the board stm32mp135f-dk.
The last patch of the patchset enables the node cryp for the board
stm32mp135f-dk.
Lionel Debieve (2):
ARM: dts: stm32: add CRC on stm32mp131
ARM: dts: stm32: enable CRC on stm32mp135f-dk
Thomas Bourgoin (1):
ARM: dts: stm32: enable crypto accelerator on stm32mp135f-dk
arch/arm/boot/dts/st/stm32mp131.dtsi | 7 +++++++
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 8 ++++++++
2 files changed, 15 insertions(+)
--
2.25.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] ARM: dts: stm32: add CRC on stm32mp131
2024-02-19 11:37 [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Thomas Bourgoin
@ 2024-02-19 11:37 ` Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 2/3] ARM: dts: stm32: enable CRC on stm32mp135f-dk Thomas Bourgoin
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Bourgoin @ 2024-02-19 11:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue
Cc: Thomas Bourgoin, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, Lionel Debieve
From: Lionel Debieve <lionel.debieve@foss.st.com>
The Cyclic redundancy check calculation unit (CRC) peripheral
offers a CRC-based operation (CRC32/CRC32C) used to verify data
transmission or storage integrity.
This peripheral is integrated in stm32mp131 and can be default
enabled.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
---
arch/arm/boot/dts/st/stm32mp131.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp131.dtsi b/arch/arm/boot/dts/st/stm32mp131.dtsi
index b04d24c939c3..3900f32da797 100644
--- a/arch/arm/boot/dts/st/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/st/stm32mp131.dtsi
@@ -1315,6 +1315,13 @@ sdmmc2: mmc@58007000 {
status = "disabled";
};
+ crc1: crc@58009000 {
+ compatible = "st,stm32f7-crc";
+ reg = <0x58009000 0x400>;
+ clocks = <&rcc CRC1>;
+ status = "disabled";
+ };
+
usbh_ohci: usb@5800c000 {
compatible = "generic-ohci";
reg = <0x5800c000 0x1000>;
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] ARM: dts: stm32: enable CRC on stm32mp135f-dk
2024-02-19 11:37 [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 1/3] ARM: dts: stm32: add CRC on stm32mp131 Thomas Bourgoin
@ 2024-02-19 11:37 ` Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 3/3] ARM: dts: stm32: enable crypto accelerator " Thomas Bourgoin
2024-02-29 9:27 ` [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Alexandre TORGUE
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Bourgoin @ 2024-02-19 11:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue
Cc: Thomas Bourgoin, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel, Lionel Debieve
From: Lionel Debieve <lionel.debieve@foss.st.com>
Enable Cyclic redundancy check on stm32mp135f-dk.
Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
---
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index eea740d097c7..a7b1b2ca9d0b 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -93,6 +93,10 @@ channel@12 {
};
};
+&crc1 {
+ status = "okay";
+};
+
&i2c1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c1_pins_a>;
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] ARM: dts: stm32: enable crypto accelerator on stm32mp135f-dk
2024-02-19 11:37 [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 1/3] ARM: dts: stm32: add CRC on stm32mp131 Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 2/3] ARM: dts: stm32: enable CRC on stm32mp135f-dk Thomas Bourgoin
@ 2024-02-19 11:37 ` Thomas Bourgoin
2024-02-29 9:27 ` [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Alexandre TORGUE
3 siblings, 0 replies; 5+ messages in thread
From: Thomas Bourgoin @ 2024-02-19 11:37 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue
Cc: Thomas Bourgoin, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
Add the crypto accelerator enable on stm32mp135f-dk board.
Signed-off-by: Thomas Bourgoin <thomas.bourgoin@foss.st.com>
---
arch/arm/boot/dts/st/stm32mp135f-dk.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index a7b1b2ca9d0b..52171214a308 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -97,6 +97,10 @@ &crc1 {
status = "okay";
};
+&cryp {
+ status = "okay";
+};
+
&i2c1 {
pinctrl-names = "default", "sleep";
pinctrl-0 = <&i2c1_pins_a>;
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board.
2024-02-19 11:37 [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Thomas Bourgoin
` (2 preceding siblings ...)
2024-02-19 11:37 ` [PATCH 3/3] ARM: dts: stm32: enable crypto accelerator " Thomas Bourgoin
@ 2024-02-29 9:27 ` Alexandre TORGUE
3 siblings, 0 replies; 5+ messages in thread
From: Alexandre TORGUE @ 2024-02-29 9:27 UTC (permalink / raw)
To: Thomas Bourgoin, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Maxime Coquelin
Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel
Hi Thomas
On 2/19/24 12:37, Thomas Bourgoin wrote:
> Enable the CRC and CRYP internal peripherals on STM32MP135F-DK board.
>
> The first 2 patches adds the node crc1 in file stm32mp131.dtsi and
> enables it for the board stm32mp135f-dk.
> The last patch of the patchset enables the node cryp for the board
> stm32mp135f-dk.
>
> Lionel Debieve (2):
> ARM: dts: stm32: add CRC on stm32mp131
> ARM: dts: stm32: enable CRC on stm32mp135f-dk
>
> Thomas Bourgoin (1):
> ARM: dts: stm32: enable crypto accelerator on stm32mp135f-dk
>
> arch/arm/boot/dts/st/stm32mp131.dtsi | 7 +++++++
> arch/arm/boot/dts/st/stm32mp135f-dk.dts | 8 ++++++++
> 2 files changed, 15 insertions(+)
>
Series applied on stm32-next.
Thanks
Alex
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-02-29 9:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-19 11:37 [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 1/3] ARM: dts: stm32: add CRC on stm32mp131 Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 2/3] ARM: dts: stm32: enable CRC on stm32mp135f-dk Thomas Bourgoin
2024-02-19 11:37 ` [PATCH 3/3] ARM: dts: stm32: enable crypto accelerator " Thomas Bourgoin
2024-02-29 9:27 ` [PATCH 0/3] Enable the CRC and CRYP IP on STM32MP135F-DK board 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).