Skip to contentSkip to conversation

arm64: dts: imx8ulp: add caam jr

PATCH Superseded Pankaj Gupta 2 participants 3 messages Apr 9, 2024

Subsystems (2)

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: dts: imx8ulp: add caam jr

Add crypto node in device tree for:
- CAAM job-ring

---
 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +32 -0
index 8a6596d5a581..946f2b68d16f 100644
@@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 {
 				#reset-cells = <1>;
 			};
 
+			crypto: crypto@292e0000 {
+				compatible = "fsl,sec-v4.0";
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0x292e0000 0x10000>;
+				ranges = <0 0x292e0000 0x10000>;
+
+				sec_jr0: jr@1000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x1000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr1: jr@2000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x2000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr2: jr@3000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x3000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+
+				sec_jr3: jr@4000 {
+					compatible = "fsl,sec-v4.0-job-ring";
+					reg = <0x4000 0x1000>;
+					interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
+				};
+			};
+
 			tpm5: tpm@29340000 {
 				compatible = "fsl,imx8ulp-tpm", "fsl,imx7ulp-tpm";
 				reg = <0x29340000 0x1000>;
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Pankaj Gupta

Add crypto node in device tree for:
- CAAM job-ring

v3? Where is the changelog? What was happening here?

Quoted 9 lines
---
 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +0 -0
index 8a6596d5a581..946f2b68d16f 100644

arch/arm64/boot/dts/freescale/imx8ulp.dtsi pcc3: clock-controller@292d0000 { · line 260

Quoted 9 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +6 -0
@@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 {
 				#reset-cells = <1>;
 			};
 
+			crypto: crypto@292e0000 {
+				compatible = "fsl,sec-v4.0";
+				#address-cells = <1>;
+				#size-cells = <1>;
+				reg = <0x292e0000 0x10000>;
+				ranges = <0 0x292e0000 0x10000>;

Keep the order as requested in DTS coding style.

Best regards,
Krzysztof

#2 lore raw

RE: [EXT] Re: [PATCH v3] arm64: dts: imx8ulpx`

Quoted 20 lines

-----Original Message-----
From: Krzysztof Kozlowski <[email protected]>
Sent: Tuesday, April 9, 2024 12:57 PM
To: Pankaj Gupta <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; dl-linux-imx <[email protected]>; Peng Fan <[email protected]>; Jacky Bai <[email protected]>; Bough Chen <[email protected]>; [email protected]; linux-arm- [email protected]; [email protected]
Cc: Varun Sethi <[email protected]>
Subject: [EXT] Re: [PATCH v3] arm64: dts: imx8ulpx`

Caution: This is an external email. Please take care when clicking links or opening attachments. When in doubt, report the message using the 'Report this email' button

Quoted 8 lines
Quoted 5 lines · Pankaj Gupta

Add crypto node in device tree for:
- CAAM job-ring

v3? Where is the changelog? What was happening here?

[Accepted] Added in v4.

Quoted 15 lines
Quoted 3 lines
---
 arch/arm64/boot/dts/freescale/imx8ulp.dtsi | 32

++++++++++++++++++++++

Review

Quoted 3 lines
 1 file changed, 32 insertions(+)
(quoted diff) +0 -0

b/arch/arm64/boot/dts/freescale/imx8ulp.dtsi

Quoted 7 lines

index 8a6596d5a581..946f2b68d16f 100644

arch/arm64/boot/dts/freescale/imx8ulp.dtsi +0 -0
@@ -252,6 +252,38 @@ pcc3: clock-controller@292d0000 {
                              #reset-cells = <1>;
                      };
 
Quoted 8 lines

arch/arm64/boot/dts/freescale/imx8ulp.dtsi pcc3: clock-controller@292d0000 { · line 260

Quoted 6 lines
arch/arm64/boot/dts/freescale/imx8ulp.dtsi +6 -0
+                     crypto: crypto@292e0000 {
+                             compatible = "fsl,sec-v4.0";
+                             #address-cells = <1>;
+                             #size-cells = <1>;
+                             reg = <0x292e0000 0x10000>;
+                             ranges = <0 0x292e0000 0x10000>;

Keep the order as requested in DTS coding style.

[Accepted] Corrected in v4.

Quoted 3 lines

Best regards,
Krzysztof