Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1362276 > unrolled thread

[PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4

Started byKrzysztof Kozlowski <k.kozlowski@samsung.com>
First post2016-03-22 03:10 +0100
Last post2016-03-22 15:00 +0100
Articles 6 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-22 03:10 +0100
    [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-22 03:10 +0100
      Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Javier Martinez Canillas <javier@osg.samsung.com> - 2016-03-22 15:00 +0100
      Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Tobias Jakobi <tjakobi@math.uni-bielefeld.de> - 2016-03-22 20:30 +0100
        Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2 Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-03-23 01:30 +0100
    Re: [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to  Exynos4 Javier Martinez Canillas <javier@osg.samsung.com> - 2016-03-22 15:00 +0100

#1362276 — [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-22 03:10 +0100
Subject[PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4
Message-ID<rfjVD-67W-5@gated-at.bofh.it>
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@10830000 {
+		compatible = "samsung,exynos4210-secss";
+		reg = <0x10830000 0x300>;
+		interrupts = <0 112 0>;
+		clocks = <&clock CLK_SSS>;
+		clock-names = "secss";
+		status = "disabled";
+	};
+
 	prng: rng@10830400 {
 		compatible = "samsung,exynos4-rng";
 		reg = <0x10830400 0x200>;
-- 
2.5.0

[toc] | [next] | [standalone]


#1362278 — [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-22 03:10 +0100
Subject[PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
Message-ID<rfjVE-67W-15@gated-at.bofh.it>
In reply to#1362276
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

[toc] | [prev] | [next] | [standalone]


#1362752 — Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-03-22 15:00 +0100
SubjectRe: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
Message-ID<rfv0K-5cK-17@gated-at.bofh.it>
In reply to#1362278
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

[toc] | [prev] | [next] | [standalone]


#1362926 — Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2

FromTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Date2016-03-22 20:30 +0100
SubjectRe: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
Message-ID<rfAa6-GO-19@gated-at.bofh.it>
In reply to#1362278
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";
> 

[toc] | [prev] | [next] | [standalone]


#1363141 — Re: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-03-23 01:30 +0100
SubjectRe: [PATCH 2/2] ARM: dts: exynos: Enable SSS on Trats2
Message-ID<rfEQp-3J9-7@gated-at.bofh.it>
In reply to#1362926
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

[toc] | [prev] | [next] | [standalone]


#1362753 — Re: [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4

FromJavier Martinez Canillas <javier@osg.samsung.com>
Date2016-03-22 15:00 +0100
SubjectRe: [PATCH 1/2] ARM: dts: exynos: Add Security SubSystem node to Exynos4
Message-ID<rfv0K-5cK-19@gated-at.bofh.it>
In reply to#1362276
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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web