Received: by 2002:ac0:a679:0:0:0:0:0 with SMTP id p54csp1475614imp; Fri, 22 Feb 2019 04:24:32 -0800 (PST) X-Google-Smtp-Source: AHgI3Iad1BuCViII35FGgaupTXdMmJ44YCCcJlGI6IwkcKujXkoV4NT2iEXBICBz6Pg2ceYM8gWk X-Received: by 2002:a62:1a8c:: with SMTP id a134mr4088151pfa.182.1550838271931; Fri, 22 Feb 2019 04:24:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550838271; cv=none; d=google.com; s=arc-20160816; b=tWyvkSGpqgXWf5nfwo8bja8+Lpk7gXo1f3Iw5BTkzuE3YP/xT2X8Q0w/cNG2S4kAaK lxIsySu+dOmI/HdsWPLhjx8eeA+eaGwA1wiEtgAlecTBX/AOO8/H+vLBOgd33dffBubI /oiSc7nFLWWUmtWxEVm2V3x33ZQysfk2kssRWwFaQLsOLQf7qNQByABNHTNbuylBxaz8 L0FOxIySKVgp11Gw/I24g9LtlQsOzgo/Dh+k6g/x4mnJ+iDTkDUwOwUObeujpWyA0ecj 7PNfR9KPGPRp430cS9WwE9yDlEaTIlO16wjKBRs6lT5HsekiB8L10NDWbUGuCk11P7Kf 8uHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature:dkim-filter; bh=gfZSE0eRKNyUpk/q2xrM1z9/4QrmLyW79y9kFH42N8A=; b=YT3KWDVnzLAC4+hqOplV8s5fI0D0FM579p8jT34+10epBawDzlMZRFrACKF4AHQ5yJ L0swUAUtvr1c56MfmD9/dN6YHX3sNklXRV3zIssK/wMNX/vc6kslYFFl/iuNFzs4j6TJ uOqgxgLdWOlypb4osoN/cGqi+7fyvkdnpzQ/tOahOYw55VijA4zellRmKR6byUUclgf1 mzzHkK352DlC1zsX1fOpks4R+SDc71GklWFhiCfdca/ZBGBPO2zEfmsBxxG11UetPCYb XQZZaUaQlr77uq0huVmGcWMLf/95WntXPWODXAGdj2xQKZZvbXEN8CEOxigZPEtVGAtn yGtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=a1EgUQnN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p4si1268433pli.159.2019.02.22.04.24.16; Fri, 22 Feb 2019 04:24:31 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=a1EgUQnN; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727102AbfBVMWI (ORCPT + 99 others); Fri, 22 Feb 2019 07:22:08 -0500 Received: from mailout2.w1.samsung.com ([210.118.77.12]:33239 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbfBVMWG (ORCPT ); Fri, 22 Feb 2019 07:22:06 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20190222122205euoutp02be4ac1376ee91557b2849059fe86a07a~Frw7mkuzh3246132461euoutp028 for ; Fri, 22 Feb 2019 12:22:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20190222122205euoutp02be4ac1376ee91557b2849059fe86a07a~Frw7mkuzh3246132461euoutp028 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1550838125; bh=gfZSE0eRKNyUpk/q2xrM1z9/4QrmLyW79y9kFH42N8A=; h=From:To:Cc:Subject:Date:References:From; b=a1EgUQnNYoN8xAKK9+ifrjslZUIO/EXaY56lsMPgnFl8e9HO5R8lBHwswA7P6nzkn Bh5ScLDtwOtGOeWEnJgkANOQtbtEo0I/HhGAlM216HnPG7sCIL0TZnQ6z7mrfzh+qz drKfUjG1ESGhrf41Lljn93X0BB/3IFdIEl3Qmfxc= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20190222122204eucas1p2cf57ccada7c4191f51c677dcba9fc154~Frw6lW43R2866028660eucas1p2H; Fri, 22 Feb 2019 12:22:04 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id BC.BF.04441.B69EF6C5; Fri, 22 Feb 2019 12:22:03 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190222122203eucas1p1e87a8066d4348be4beb3ff035ea55828~Frw5wNn3N1242112421eucas1p1n; Fri, 22 Feb 2019 12:22:03 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190222122202eusmtrp1c54702f32321b1292e3651238f4be42c~Frw5hNirz1040810408eusmtrp10; Fri, 22 Feb 2019 12:22:02 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-c2-5c6fe96b6cd5 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 64.6F.04128.A69EF6C5; Fri, 22 Feb 2019 12:22:02 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190222122202eusmtip197b10c3e5578b4b03e39d2a0177c472b~Frw43TpYR1185211852eusmtip17; Fri, 22 Feb 2019 12:22:02 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com Cc: "David S. Miller" , devicetree@vger.kernel.org, Herbert Xu , Krzysztof Kozlowski , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Mark Rutland , Rob Herring , Vladimir Zapolskiy , Bartlomiej Zolnierkiewicz , Marek Szyprowski Subject: [PATCH v4 0/3] add AES support for Exynos5433 Date: Fri, 22 Feb 2019 13:21:41 +0100 Message-Id: <20190222122144.19024-1-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrOKsWRmVeSWpSXmKPExsWy7djPc7rZL/NjDF7MMrPYOGM9q8Wc8y0s FvOPnGO16H4lY9G37z+jRf/j18wW589vYLfY9Pgaq8X9ez+ZLC7vmsNmMeP8PiaLtUfuslss vX6RyaJ17xF2i/+/mpkd+D3WzFvD6LFl5U0mj20HVD02repk89i8pN7j38IpLB4H3+1h8ujb sorR4/MmuQDOKC6blNSczLLUIn27BK6M5y+b2AsmcVYsmtrE2MC4lr2LkZNDQsBEYuLrlUxd jFwcQgIrGCWW/fvKDuF8YZToXb8WyvnMKLHh32JmmJYlVxayQCSWM0rMbnrPCNfyf/40sCo2 AXOJR9vPMIHYIgLKEpPvTWcGKWIWmM4icePHbLDtwgJmEpfXtoA1sAioSlx+NReogYODV8BF 4tbZFIht8hLne9eBlfMKCEqcnPmEBcRmBoo3b50NNlNC4By7xMYL/WwQDS4S3zc/Y4WwhSVe Hd8C9amMxOnJPSwQdrnE7q3P2CGaWxgl5k5exASRsJY4fPwiK8gRzAKaEut36YOYEgKOEltv pUGYfBI33gpCnMAnMWkbyFsgYV6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QoynQrROZpUST84ER n1cSb2hqaG5haWhubG5sZqEkznveoDJKSCA9sSQ1OzW1ILUIpo+Jg1OqgbFSTOOpF5tN5qlL HmK+NxI5WE7z7XNoDl8xMTb13OWCH5ZRibnB5zY73FpXun7ZGY5X0WLSe5VnaN04zbj31rqt /y9u87+peHNVn6NPsKXfwoXri/exRHQ4Zd7aMO9Gq9wCfgnHm18M9uet9FzBkDYvqKuq5IzG E8/VXpmbN7pLLnTcM03Avk+JpTgj0VCLuag4EQB4rgo9wAIAAA== X-CMS-MailID: 20190222122203eucas1p1e87a8066d4348be4beb3ff035ea55828 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190222122203eucas1p1e87a8066d4348be4beb3ff035ea55828 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190222122203eucas1p1e87a8066d4348be4beb3ff035ea55828 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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