* [PATCH v4 0/3] add AES support for Exynos5433 [not found] <CGME20190222122203eucas1p1e87a8066d4348be4beb3ff035ea55828@eucas1p1.samsung.com> @ 2019-02-22 12:21 ` Kamil Konieczny [not found] ` <CGME20190222122203eucas1p19a77c1cb72526ce36e99542926fd5a17@eucas1p1.samsung.com> ` (2 more replies) 0 siblings, 3 replies; 5+ messages in thread From: Kamil Konieczny @ 2019-02-22 12:21 UTC (permalink / raw) To: k.konieczny Cc: David S. Miller, devicetree, Herbert Xu, Krzysztof Kozlowski, Kukjin Kim, linux-arm-kernel, linux-crypto, linux-kernel, linux-samsung-soc, Mark Rutland, Rob Herring, Vladimir Zapolskiy, Bartlomiej Zolnierkiewicz, Marek Szyprowski Add slimSSS node to DT and crypto AES support for Exynos5433. Tested on Exynos5433 board with crypto run-time self tests and with tcrypt with command insmod tcrypt.ko mode=500 sec=1 Changes since v3: - moved bindings documentation out from samsung-sss.txt into separate file samsung-slimsss.txt Changes since v2: - address Corentine Labbe note: add "const" to char* in declaration of struct samsung_aes_variant Changes since v1: - address Krzysztof Kozlowski review: add missing comma in struct definition, add goto for error code path, correct indentation, in documentation add that Exynos5433 has both slimSSS and SSS IPs. Kamil Konieczny (3): arm64: dts: exynos: add SlimSSS for Exynos5433 dt-bindings: crypto: document Exynos5433 SlimSSS crypto: s5p: add AES support for Exynos5433 .../bindings/crypto/samsung-slimsss.txt | 19 +++++++ arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 ++++ drivers/crypto/s5p-sss.c | 50 +++++++++++++++++-- 3 files changed, 74 insertions(+), 4 deletions(-) create mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.txt -- 2.20.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CGME20190222122203eucas1p19a77c1cb72526ce36e99542926fd5a17@eucas1p1.samsung.com>]
* [PATCH v4 1/3] arm64: dts: exynos: add SlimSSS for Exynos5433 [not found] ` <CGME20190222122203eucas1p19a77c1cb72526ce36e99542926fd5a17@eucas1p1.samsung.com> @ 2019-02-22 12:21 ` Kamil Konieczny 2019-03-20 19:58 ` Krzysztof Kozlowski 0 siblings, 1 reply; 5+ messages in thread From: Kamil Konieczny @ 2019-02-22 12:21 UTC (permalink / raw) To: k.konieczny Cc: Rob Herring, Mark Rutland, Kukjin Kim, Krzysztof Kozlowski, devicetree, linux-crypto, linux-arm-kernel, linux-samsung-soc, linux-kernel, Bartlomiej Zolnierkiewicz, Marek Szyprowski Add DT node for SlimSSS (aka Slim SecuritySubSystem) in Exynos5433 SoC. The users can use compatibility "samsung,exynos5433-slim-sss". Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com> --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index e7cd3b67d818..9e5fcb6c7776 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -559,6 +559,15 @@ <&cmu_top CLK_DIV_ACLK_IMEM_200>; }; + slim_sss: slim-sss@11140000 { + compatible = "samsung,exynos5433-slim-sss"; + reg = <0x11140000 0x1000>; + interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>; + clock-names = "aclk", "pclk"; + clocks = <&cmu_imem CLK_ACLK_SLIMSSS>, + <&cmu_imem CLK_PCLK_SLIMSSS>; + }; + pd_gscl: power-domain@105c4000 { compatible = "samsung,exynos5433-pd"; reg = <0x105c4000 0x20>; -- 2.20.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v4 1/3] arm64: dts: exynos: add SlimSSS for Exynos5433 2019-02-22 12:21 ` [PATCH v4 1/3] arm64: dts: exynos: add SlimSSS " Kamil Konieczny @ 2019-03-20 19:58 ` Krzysztof Kozlowski 0 siblings, 0 replies; 5+ messages in thread From: Krzysztof Kozlowski @ 2019-03-20 19:58 UTC (permalink / raw) To: Kamil Konieczny Cc: Mark Rutland, devicetree, linux-samsung-soc, Bartlomiej Zolnierkiewicz, linux-kernel, Rob Herring, Kukjin Kim, Marek Szyprowski, linux-arm-kernel, linux-crypto On Fri, Feb 22, 2019 at 01:21:42PM +0100, Kamil Konieczny wrote: > Add DT node for SlimSSS (aka Slim SecuritySubSystem) in Exynos5433 SoC. > The users can use compatibility "samsung,exynos5433-slim-sss". > > Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com> > --- > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 +++++++++ Thanks, applied. Best regards, Krzysztof ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <CGME20190222122204eucas1p15e0e00e9b044d41d44c0d2e55cb6af9c@eucas1p1.samsung.com>]
* [PATCH v4 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS [not found] ` <CGME20190222122204eucas1p15e0e00e9b044d41d44c0d2e55cb6af9c@eucas1p1.samsung.com> @ 2019-02-22 12:21 ` Kamil Konieczny 0 siblings, 0 replies; 5+ messages in thread From: Kamil Konieczny @ 2019-02-22 12:21 UTC (permalink / raw) To: k.konieczny Cc: Herbert Xu, David S. Miller, Rob Herring, Mark Rutland, linux-crypto, devicetree, linux-kernel, Krzysztof Kozlowski, Bartlomiej Zolnierkiewicz, Marek Szyprowski Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security SubSystem) IP. Signed-off-by: Kamil Konieczny <k.konieczny@partner.samsung.com> --- .../bindings/crypto/samsung-slimsss.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.txt diff --git a/Documentation/devicetree/bindings/crypto/samsung-slimsss.txt b/Documentation/devicetree/bindings/crypto/samsung-slimsss.txt new file mode 100644 index 000000000000..7ec9a5a7727a --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/samsung-slimsss.txt @@ -0,0 +1,19 @@ +Samsung SoC SlimSSS (Slim Security SubSystem) module + +The SlimSSS module in Exynos5433 SoC supports the following: +-- Feeder (FeedCtrl) +-- Advanced Encryption Standard (AES) with ECB,CBC,CTR,XTS and (CBC/XTS)/CTS +-- SHA-1/SHA-256 and (SHA-1/SHA-256)/HMAC + +Required properties: + +- compatible : Should contain entry for slimSSS version: + - "samsung,exynos5433-slim-sss" for Exynos5433 SoC. +- reg : Offset and length of the register set for the module +- interrupts : interrupt specifiers of SlimSSS module interrupts (one feed + control interrupt). + +- clocks : list of clock phandle and specifier pairs for all clocks listed in + clock-names property. +- clock-names : list of device clock input names; should contain "pclk" and + "aclk" for slim-sss in Exynos5433. -- 2.20.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v4 0/3] add AES support for Exynos5433 2019-02-22 12:21 ` [PATCH v4 0/3] add AES support for Exynos5433 Kamil Konieczny [not found] ` <CGME20190222122203eucas1p19a77c1cb72526ce36e99542926fd5a17@eucas1p1.samsung.com> [not found] ` <CGME20190222122204eucas1p15e0e00e9b044d41d44c0d2e55cb6af9c@eucas1p1.samsung.com> @ 2019-02-28 6:36 ` Herbert Xu 2 siblings, 0 replies; 5+ messages in thread From: Herbert Xu @ 2019-02-28 6:36 UTC (permalink / raw) To: Kamil Konieczny Cc: David S. Miller, devicetree, Krzysztof Kozlowski, Kukjin Kim, linux-arm-kernel, linux-crypto, linux-kernel, linux-samsung-soc, Mark Rutland, Rob Herring, Vladimir Zapolskiy, Bartlomiej Zolnierkiewicz, Marek Szyprowski On Fri, Feb 22, 2019 at 01:21:41PM +0100, Kamil Konieczny wrote: > Add slimSSS node to DT and crypto AES support for Exynos5433. Tested on > Exynos5433 board with crypto run-time self tests and with tcrypt with > command insmod tcrypt.ko mode=500 sec=1 > > Changes since v3: > - moved bindings documentation out from samsung-sss.txt into separate file > samsung-slimsss.txt > > Changes since v2: > - address Corentine Labbe note: add "const" to char* in declaration of > struct samsung_aes_variant > > Changes since v1: > - address Krzysztof Kozlowski review: add missing comma in struct > definition, add goto for error code path, correct indentation, > in documentation add that Exynos5433 has both slimSSS and SSS IPs. > > Kamil Konieczny (3): > arm64: dts: exynos: add SlimSSS for Exynos5433 > dt-bindings: crypto: document Exynos5433 SlimSSS > crypto: s5p: add AES support for Exynos5433 > > .../bindings/crypto/samsung-slimsss.txt | 19 +++++++ > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 9 ++++ > drivers/crypto/s5p-sss.c | 50 +++++++++++++++++-- > 3 files changed, 74 insertions(+), 4 deletions(-) > create mode 100644 Documentation/devicetree/bindings/crypto/samsung-slimsss.txt Patches 2-3 applied. Thanks. -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2019-03-20 19:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <CGME20190222122203eucas1p1e87a8066d4348be4beb3ff035ea55828@eucas1p1.samsung.com>
2019-02-22 12:21 ` [PATCH v4 0/3] add AES support for Exynos5433 Kamil Konieczny
[not found] ` <CGME20190222122203eucas1p19a77c1cb72526ce36e99542926fd5a17@eucas1p1.samsung.com>
2019-02-22 12:21 ` [PATCH v4 1/3] arm64: dts: exynos: add SlimSSS " Kamil Konieczny
2019-03-20 19:58 ` Krzysztof Kozlowski
[not found] ` <CGME20190222122204eucas1p15e0e00e9b044d41d44c0d2e55cb6af9c@eucas1p1.samsung.com>
2019-02-22 12:21 ` [PATCH v4 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS Kamil Konieczny
2019-02-28 6:36 ` [PATCH v4 0/3] add AES support for Exynos5433 Herbert Xu
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).