From patchwork Thu Jan 24 15:45:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kamil Konieczny X-Patchwork-Id: 10779403 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CFF7713BF for ; Thu, 24 Jan 2019 15:46:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BD5F931623 for ; Thu, 24 Jan 2019 15:46:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB5473166A; Thu, 24 Jan 2019 15:46:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 59D4031663 for ; Thu, 24 Jan 2019 15:46:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728650AbfAXPqB (ORCPT ); Thu, 24 Jan 2019 10:46:01 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:55973 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728490AbfAXPpn (ORCPT ); Thu, 24 Jan 2019 10:45:43 -0500 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190124154541euoutp016456138a2a755111681e9707f22f0419~801ayqDyR2677026770euoutp01W for ; Thu, 24 Jan 2019 15:45:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190124154541euoutp016456138a2a755111681e9707f22f0419~801ayqDyR2677026770euoutp01W DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548344741; bh=PY8DpUrIo0Jx0XrM9G1AyZ811SfA+Y4/vcYC6ZiNijg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fIViX1czGuHmzso6xjzJ7p32VyiSfvw/QeO7lwYlRI97xUcOpW6c1bWEOhZmy6IbU /3zAKHOIxQF+8m1NkW0nuPXS4kiXGOh9XMUqzzJTzaBHuBn5sdl3B/Mze3ur2pIRwW sXxhFKQNcI01lYAMU94r77KwjBmLCg4jV9q9Y35Q= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190124154540eucas1p1edcb3f904130471f947ed46a31733e33~801aGU5KO0096200962eucas1p1y; Thu, 24 Jan 2019 15:45:40 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 4A.31.04806.4ADD94C5; Thu, 24 Jan 2019 15:45:40 +0000 (GMT) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190124154539eucas1p16fb97dd0cab2c18d82113c511cd8a1ca~801ZTiw1k2703127031eucas1p1k; Thu, 24 Jan 2019 15:45:39 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20190124154539eusmtrp1149f35d549662f84bb8c31d048036083~801ZE9i7f0583405834eusmtrp1Z; Thu, 24 Jan 2019 15:45:39 +0000 (GMT) X-AuditID: cbfec7f5-34dff700000012c6-ea-5c49dda4aa55 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 4B.9F.04128.3ADD94C5; Thu, 24 Jan 2019 15:45:39 +0000 (GMT) Received: from AMDC3218.DIGITAL.local (unknown [106.120.51.18]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20190124154538eusmtip2a1448bd55629f1a887da46e9b0cb2fab~801YXIhgu2617026170eusmtip2q; Thu, 24 Jan 2019 15:45:38 +0000 (GMT) From: Kamil Konieczny To: k.konieczny@partner.samsung.com Cc: Herbert Xu , "David S. Miller" , Rob Herring , Mark Rutland , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , Marek Szyprowski Subject: [PATCH v3 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS Date: Thu, 24 Jan 2019 16:45:20 +0100 Message-Id: <20190124154521.13589-3-k.konieczny@partner.samsung.com> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20190124154521.13589-1-k.konieczny@partner.samsung.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNKsWRmVeSWpSXmKPExsWy7djPc7pL7nrGGLzazmGxccZ6Vos551tY LOYfOcdq0f1KxqJv339Gi/PnN7Bb3L/3k8ni8q45bBZrj9xlt1h6/SKTReveI+wO3B5r5q1h 9Niy8iaTx7YDqh6bVnWyeRx8t4fJo2/LKkaPz5vkAtijuGxSUnMyy1KL9O0SuDLmdaxhKWgT qDj/YAtzA+Mm3i5GTg4JAROJM/t2s3QxcnEICaxglDh8pIUdwvnCKPH5zCqozGdGiY0fW9lh Wh7MmcoMkVjOKLHy9hNGuJbb7/8xglSxCZhLPNp+hgnEFhFQlph8bzpYB7NAB7PE2yOzwUYJ C3hIfNyxmhXEZhFQlbh6aQOQzcHBK+Ai8flYAMQ2eYlpq7vA5nAKuErsndDMAmLzCghKnJz5 BMxmBqpp3jobbL6EwC52iXtHnzBCNLtI7Hq/ngXCFpZ4dXwL1AsyEqcn90DFyyV2b33GDtHc wigxd/Ii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m HmKU4GBWEuF1vegWI8SbklhZlVqUH19UmpNafIjRFOiHicxSosn5wEjPK4k3NDU0t7A0NDc2 NzazUBLnPW9QGSUkkJ5YkpqdmlqQWgTTx8TBKdXA2H6wqPaK5rzZTTufflyQ3tZd9E6aQaP1 4D+dkFv1x4x0o2K3rZ5Q5vbYQMH24iI3BZOAUmXjXY/Sr7sprUt5P+tCKn/wYoa/tkJvptdr H8rYkF4juj486+2tTRNu/tSSF6vc++vc8abuuYopbgfy3+eIFL3Z1P5gc0ToM/tgMaZJiveF Jhi7KLEUZyQaajEXFScCAJd7s+C8AgAA X-CMS-MailID: 20190124154539eucas1p16fb97dd0cab2c18d82113c511cd8a1ca X-Msg-Generator: CA X-RootMTR: 20190124154539eucas1p16fb97dd0cab2c18d82113c511cd8a1ca X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190124154539eucas1p16fb97dd0cab2c18d82113c511cd8a1ca References: <20190124154521.13589-1-k.konieczny@partner.samsung.com> Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security SubSystem) IP. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Kamil Konieczny --- .../devicetree/bindings/crypto/samsung-sss.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/samsung-sss.txt b/Documentation/devicetree/bindings/crypto/samsung-sss.txt index 7a5ca56683cc..d9af679d38ab 100644 --- a/Documentation/devicetree/bindings/crypto/samsung-sss.txt +++ b/Documentation/devicetree/bindings/crypto/samsung-sss.txt @@ -1,4 +1,4 @@ -Samsung SoC SSS (Security SubSystem) module +Samsung SoC SSS (Security SubSystem) and SlimSSS module The SSS module in S5PV210 SoC supports the following: -- Feeder (FeedCtrl) @@ -15,6 +15,12 @@ supports the following also: -- True Random Number Generator (TRNG) -- Secure Key Manager +Exynos5433 has both SSS and SlimSSS module. +SlimSSS in Exynos5433 supports: +-- Feeder (FeedCtrl) +-- Advanced Encryption Standard (AES) +-- SHA-1/SHA-256/HMAC (SHA-1/SHA-256) + Required properties: - compatible : Should contain entries for this and backward compatible @@ -22,11 +28,13 @@ Required properties: - "samsung,s5pv210-secss" for S5PV210 SoC. - "samsung,exynos4210-secss" for Exynos4210, Exynos4212, Exynos4412, Exynos5250, Exynos5260 and Exynos5420 SoCs. + - "samsung,exynos5433-slim-sss" for Exynos5433 SoCs. - reg : Offset and length of the register set for the module - interrupts : interrupt specifiers of SSS 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 one entry - "secss". +- clock-names : list of device clock input names; should contain "pclk" and + "aclk" for slim-sss in Exynos5433, and one entry "secss" for + other compatibles.