linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4
@ 2016-03-22  2:00 Krzysztof Kozlowski
  2016-03-22  2:00 ` [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski
  2016-03-22 13:56 ` [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Javier Martinez Canillas
  0 siblings, 2 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-22  2:00 UTC (permalink / raw)
  To: linux-arm-kernel

Add Security SubSystem (SSS) node to Exynos4 which provides hardware
acceleration of AES operations.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/boot/dts/exynos4.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
index c679b3cc3c48..39000f9c6b86 100644
--- a/arch/arm/boot/dts/exynos4.dtsi
+++ b/arch/arm/boot/dts/exynos4.dtsi
@@ -969,6 +969,15 @@
 		#iommu-cells = <0>;
 	};
 
+	sss: sss at 10830000 {
+		compatible = "samsung,exynos4210-secss";
+		reg = <0x10830000 0x300>;
+		interrupts = <0 112 0>;
+		clocks = <&clock CLK_SSS>;
+		clock-names = "secss";
+		status = "disabled";
+	};
+
 	prng: rng at 10830400 {
 		compatible = "samsung,exynos4-rng";
 		reg = <0x10830400 0x200>;
-- 
2.5.0

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

* [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
  2016-03-22  2:00 [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Krzysztof Kozlowski
@ 2016-03-22  2:00 ` Krzysztof Kozlowski
  2016-03-22 13:58   ` Javier Martinez Canillas
  2016-03-22 19:25   ` Tobias Jakobi
  2016-03-22 13:56 ` [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Javier Martinez Canillas
  1 sibling, 2 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-22  2:00 UTC (permalink / raw)
  To: linux-arm-kernel

Enable the Security SubSystem (SSS) on Trats2 (Exynos4412) board which
allows usage of its hardware accelerated AES operations.

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
 arch/arm/boot/dts/exynos4412-trats2.dts | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
index ed017cc7b14f..2bf363c3bf62 100644
--- a/arch/arm/boot/dts/exynos4412-trats2.dts
+++ b/arch/arm/boot/dts/exynos4412-trats2.dts
@@ -1286,6 +1286,10 @@
 	};
 };
 
+&sss {
+	status = "okay";
+};
+
 &tmu {
 	vtmu-supply = <&ldo10_reg>;
 	status = "okay";
-- 
2.5.0

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

* [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4
  2016-03-22  2:00 [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Krzysztof Kozlowski
  2016-03-22  2:00 ` [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski
@ 2016-03-22 13:56 ` Javier Martinez Canillas
  1 sibling, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-03-22 13:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Krzysztof,

On 03/21/2016 11:00 PM, Krzysztof Kozlowski wrote:
> Add Security SubSystem (SSS) node to Exynos4 which provides hardware
> acceleration of AES operations.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

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

* [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
  2016-03-22  2:00 ` [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski
@ 2016-03-22 13:58   ` Javier Martinez Canillas
  2016-03-22 19:25   ` Tobias Jakobi
  1 sibling, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-03-22 13:58 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Krzysztof,

On 03/21/2016 11:00 PM, Krzysztof Kozlowski wrote:
> Enable the Security SubSystem (SSS) on Trats2 (Exynos4412) board which
> allows usage of its hardware accelerated AES operations.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---

Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

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

* [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
  2016-03-22  2:00 ` [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski
  2016-03-22 13:58   ` Javier Martinez Canillas
@ 2016-03-22 19:25   ` Tobias Jakobi
  2016-03-23  0:27     ` Krzysztof Kozlowski
  1 sibling, 1 reply; 6+ messages in thread
From: Tobias Jakobi @ 2016-03-22 19:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hello Krzysztof,

you can also add the node to the exynos4412-odroid-common dtsi. I have
checked that it works properly on an X2.

Thanks for patches and fixing that alignment issue!

With best wishes,
Tobias



Krzysztof Kozlowski wrote:
> Enable the Security SubSystem (SSS) on Trats2 (Exynos4412) board which
> allows usage of its hardware accelerated AES operations.
> 
> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
> ---
>  arch/arm/boot/dts/exynos4412-trats2.dts | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts
> index ed017cc7b14f..2bf363c3bf62 100644
> --- a/arch/arm/boot/dts/exynos4412-trats2.dts
> +++ b/arch/arm/boot/dts/exynos4412-trats2.dts
> @@ -1286,6 +1286,10 @@
>  	};
>  };
>  
> +&sss {
> +	status = "okay";
> +};
> +
>  &tmu {
>  	vtmu-supply = <&ldo10_reg>;
>  	status = "okay";
> 

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

* [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
  2016-03-22 19:25   ` Tobias Jakobi
@ 2016-03-23  0:27     ` Krzysztof Kozlowski
  0 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2016-03-23  0:27 UTC (permalink / raw)
  To: linux-arm-kernel

On 23.03.2016 04:25, Tobias Jakobi wrote:
> Hello Krzysztof,
> 
> you can also add the node to the exynos4412-odroid-common dtsi. I have
> checked that it works properly on an X2.
> 
> Thanks for patches and fixing that alignment issue!

Thanks for testing it. I'll send a follow up with you as Tested-by.

I didn't add it because my Odroid U3 is in unusable state... I need to
fix it.

Best regards,
Krzysztof

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

end of thread, other threads:[~2016-03-23  0:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-22  2:00 [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Krzysztof Kozlowski
2016-03-22  2:00 ` [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski
2016-03-22 13:58   ` Javier Martinez Canillas
2016-03-22 19:25   ` Tobias Jakobi
2016-03-23  0:27     ` Krzysztof Kozlowski
2016-03-22 13:56 ` [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Javier Martinez Canillas

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