Skip to contentSkip to conversation

ARM: i.MX53: dts: add sahara module

PATCH Superseded Steffen Trumtrar 2 participants 5 messages Dec 9, 2014 – Jan 5, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: i.MX53: dts: add sahara module

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
Changes since v1:
- remove status property

 arch/arm/boot/dts/imx53.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/imx53.dtsi +9 -0
index b96213ba0671..ff4fa7ecacd8 100644
@@ -765,6 +765,15 @@
 				resets = <&src 1>;
 				iram = <&ocram>;
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";
+				reg = <0x63ff8000 0x4000>;
+				interrupts = <19 20>;
+				clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
+				         <&clks IMX5_CLK_SAHARA_IPG_GATE>;
+				clock-names = "ipg", "ahb";
+			};
 		};
 
 		ocram: sram at f8000000 {
Signature · 1 line
2.1.3
#1 lore raw

PATCH v2 1/1 ARM: i.MX53: dts: add sahara module

Quoted 15 lines · Steffen Trumtrar

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
Changes since v1:
- remove status property

 arch/arm/boot/dts/imx53.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/imx53.dtsi +0 -0
index b96213ba0671..ff4fa7ecacd8 100644

arch/arm/boot/dts/imx53.dtsi line 770

Quoted 6 lines
arch/arm/boot/dts/imx53.dtsi +3 -0
@@ -765,6 +765,15 @@
 				resets = <&src 1>;
 				iram = <&ocram>;
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";

Is there already a driver for it in the kernel?

Shawn

Quoted 12 lines
arch/arm/boot/dts/imx53.dtsi +6 -0
+				reg = <0x63ff8000 0x4000>;
+				interrupts = <19 20>;
+				clocks = <&clks IMX5_CLK_SAHARA_IPG_GATE>,
+				         <&clks IMX5_CLK_SAHARA_IPG_GATE>;
+				clock-names = "ipg", "ahb";
+			};
 		};
 
 		ocram: sram at f8000000 {
Signature · 1 line
2.1.3
#2 lore raw

PATCH v2 1/1 ARM: i.MX53: dts: add sahara module

Quoted 11 lines · Shawn Guo
Quoted 10 lines · Steffen Trumtrar

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
Changes since v1:
- remove status property

 arch/arm/boot/dts/imx53.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
Quoted 14 lines

arch/arm/boot/dts/imx53.dtsi line 770

Quoted 11 lines
arch/arm/boot/dts/imx53.dtsi +3 -0
index b96213ba0671..ff4fa7ecacd8 100644
@@ -765,6 +765,15 @@
 				resets = <&src 1>;
 				iram = <&ocram>;
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";

Is there already a driver for it in the kernel?

Herbert Xu queued the driver in his crypto tree.

Steffen

Signature · 4 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#3 lore raw

PATCH v2 1/1 ARM: i.MX53: dts: add sahara module

Quoted 27 lines · Steffen Trumtrar
Quoted 11 lines · Shawn Guo
Quoted 10 lines · Steffen Trumtrar

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
Changes since v1:
- remove status property

 arch/arm/boot/dts/imx53.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
Quoted 14 lines

arch/arm/boot/dts/imx53.dtsi line 770

Quoted 11 lines
arch/arm/boot/dts/imx53.dtsi +3 -0
index b96213ba0671..ff4fa7ecacd8 100644
@@ -765,6 +765,15 @@
 				resets = <&src 1>;
 				iram = <&ocram>;
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";

Is there already a driver for it in the kernel?

Quoted 1 line

Herbert Xu queued the driver in his crypto tree.

Okay. I have seen the driver change in 3.19-rc. But the compatible string is still undocumented.

Shawn

#4 lore raw

PATCH v2 1/1 ARM: i.MX53: dts: add sahara module

Quoted 28 lines · Shawn Guo
Quoted 27 lines · Steffen Trumtrar
Quoted 25 lines · Shawn Guo
Quoted 15 lines · Steffen Trumtrar

The i.MX53 has a SAHARA v4 core. Add it to the dtsi.

---
Changes since v1:
- remove status property

 arch/arm/boot/dts/imx53.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/imx53.dtsi +0 -0
index b96213ba0671..ff4fa7ecacd8 100644

arch/arm/boot/dts/imx53.dtsi line 770

Quoted 6 lines
arch/arm/boot/dts/imx53.dtsi +3 -0
@@ -765,6 +765,15 @@
 				resets = <&src 1>;
 				iram = <&ocram>;
 			};
+
+			sahara: crypto at 63ff8000 {
+				compatible = "fsl,imx53-sahara";

Is there already a driver for it in the kernel?

Quoted 4 lines
Quoted 1 line

Herbert Xu queued the driver in his crypto tree.

Okay. I have seen the driver change in 3.19-rc. But the compatible string is still undocumented.

Ah, I see. The compatible is written as "fsl,<soc>-sahara" in the binding doc.

Patch applied, thanks.

Shawn