Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp499356imu; Wed, 23 Jan 2019 00:01:53 -0800 (PST) X-Google-Smtp-Source: ALg8bN52+rqCQ3bjot9SDnaTs+F9j8QpHfdIl57xjeXI4OhmHmpg+kd/RodM9iNH5ZC7OGcJPSXt X-Received: by 2002:a62:7892:: with SMTP id t140mr1159523pfc.237.1548230513463; Wed, 23 Jan 2019 00:01:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548230513; cv=none; d=google.com; s=arc-20160816; b=A1vd1QqlSDc2jb8QwsM1GcJqzrrQcRf+c1ovMYNV1uwoYR4RXtHJMBsjQIOiIEdn9p 90ChWQZReOSIKaQ+TX7gkCJrkmdqKpIYzCg4KGA3ZOhpmyxr8iXXbuP9MiYHNg2nJsFK LWP0TB+zH3bnipUcgDV3w/kzbZgM6VBuUzY3Whl6c0FPMkjmVS8Xe4CnXTno6eBNP/3r G2k8qQvcWHPCgavviA5Yz/om3SS3lwbis373beK9VgJkL01dKj6pPvzK22/UyCjJHsDb FC6Skk/I4BpXYvr5LsTHg0054sMdW6I67V2v9LgOhkX1r8cDDXghxgwNoAb3aWs6dMio ahYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=N57UrBE+OYsiIeLwL6+LEta7ZsLYN54l3uE0+/bneo8=; b=gNaRzvxLRNNGw3KDgIhzso7tSHzXi9KhdLcuqUPk2qe/bIr/wRRxWcoR+vtsiJl4G9 oRUk44JPq24HYkGWL9PzpbxSif3IJ3tmD7RZhIwCcjtAiG61ZLYscGsfOCgUpuRIL2Cn mvznoQlDzhuAAhYra7ORzJPU8xrJisjok11KNyg36R5oaVFDwDUVfypQPqs4wZPxURz2 RFJLgQcHinNSF9msEIcwTEPU5h1HLko6a7h1zYCI+kZe3srqZpNWN385M+4mFo8VcML+ KHjKp/CUcq0a6CsVFpb0wT9jBqZ6+8jQHZYW8MBbCakh1Aq8tI7mJHt2T6CKpD6GibKq 6N4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=H9xegQJS; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a28si18004576pgl.530.2019.01.23.00.01.38; Wed, 23 Jan 2019 00:01:53 -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=@kernel.org header.s=default header.b=H9xegQJS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726948AbfAWIAM (ORCPT + 99 others); Wed, 23 Jan 2019 03:00:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:53362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726827AbfAWIAL (ORCPT ); Wed, 23 Jan 2019 03:00:11 -0500 Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 19ABC2184A; Wed, 23 Jan 2019 08:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548230410; bh=zmDyYWtKnhfHf7lFKwakcmxsKn8AOs4Tcp/ip0SX4BY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=H9xegQJSTAX2FX17/+lhkVypQWrZ+eKmB9jp6zRTkifrZeLtHZ+JrGcgqYsXU1YX8 LYwL2D6fjIyWr+tW9ZMg141wF3MJuwLxNi0R6eNA5/l7WgNfEhn0xAVXIPTfVpuE3c umhFl4VozTwyiOzUUsK3a1mzAHS6ejcxtPKbxhh4= Received: by mail-lf1-f49.google.com with SMTP id a8so878454lfk.5; Wed, 23 Jan 2019 00:00:10 -0800 (PST) X-Gm-Message-State: AJcUukcyxdjEnIPA9b6wwn6WhCf6KcGEU3etJLPneOw5rxCt0bBN2n8G 5B44bhOyGjNZpRp2yPTepcams3Eku/uU/vbpiOg= X-Received: by 2002:a19:9b50:: with SMTP id d77mr944239lfe.137.1548230408176; Wed, 23 Jan 2019 00:00:08 -0800 (PST) MIME-Version: 1.0 References: <20190122152553.1537-1-k.konieczny@partner.samsung.com> <20190122152553.1537-3-k.konieczny@partner.samsung.com> In-Reply-To: <20190122152553.1537-3-k.konieczny@partner.samsung.com> From: Krzysztof Kozlowski Date: Wed, 23 Jan 2019 08:59:56 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v1 2/3] dt-bindings: crypto: document Exynos5433 SlimSSS To: Kamil Konieczny Cc: Herbert Xu , "David S. Miller" , Rob Herring , Mark Rutland , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartlomiej Zolnierkiewicz , Marek Szyprowski Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Jan 2019 at 16:26, Kamil Konieczny wrote: > > Document DT bindings for crypto Samsung Exynos5433 SlimSSS (Slim Security > SubSystem) IP. > > Signed-off-by: Kamil Konieczny > --- > .../devicetree/bindings/crypto/samsung-sss.txt | 13 ++++++++++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/crypto/samsung-sss.txt b/Documentation/devicetree/bindings/crypto/samsung-sss.txt > index 7a5ca56683cc..75718f86fe50 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,11 @@ supports the following also: > -- True Random Number Generator (TRNG) > -- Secure Key Manager > > +The SlimSSS module in Exynos5 (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 +27,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 Exynos542x and Exynos5433 SoCs. For Exynos5420 there is a driver for regular/full SSS module. It would be nice to explain what is the difference between them and/or mention potential conflicts of usage. The point is that previously we added drivers/bindings for SSS and now you use the other interface. It might be pretty confusing for users... Best regards, Krzysztof > - 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. > -- > 2.20.0 >