Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2205917ybk; Mon, 11 May 2020 14:54:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYO3/K3kT8fF2x2K/LqKVnAIdagnYeCu4Mnk64S2SB/oloyLeLR8SOd4atwYeSBKZpFKJe X-Received: by 2002:a17:906:4dcc:: with SMTP id f12mr6607874ejw.272.1589234083894; Mon, 11 May 2020 14:54:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589234083; cv=none; d=google.com; s=arc-20160816; b=w9WknHL7XFeP2b+nSvu0mlLuPwTN7h6pZg9vvjg/7BbGnp1hnmUT3Yv2tx2KgJuFM2 /9iBAkMPNkcaj5mVPwE5vhsc3uSVRGzUHLe3ugw+aOvBCgKx+x2ZHc7FSHRqM4GZmaOB iWPlfPFHqkulzq3SV4utWLpNQDtTuwftrai1mR8B3gTINFeHA62YbpK0iS0zLYB0Yf4U CIZgFCNmp9H8V5dVUO5lWFs2h1kZX7ptqq4ff+cZEAAyxE9iM5wtDo/W5cU9+o31Xz9v wy7SD8JSE02N5N95IUIaOGJiQFScU+asaP+HDNuoghuOwptq7e+C/1zN0h6cRLtCs1y7 /yBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=0ubMO0r62e5onOySJqGesT8p9B144ksRv5675Ou87bY=; b=lQkW10NvwTPui2vGVtjR6r6zpLdoHJZlPMSelmcLogHubriOFnmO0HAngjJ9FK0TsI jQqhoP0E3zcJoLvtQbfnp8dNqiQ3mXFzzt06ec/4DDuQANbQjZoVAplRg3moJDXjkkKD U+SV9R04li8i4DQAFL9oS8mTqN9vEk+Baz0Zd/FSTJ9SEDac8HxfM3vQTBrUOM/QQPEE vDVNqCYk4J6PuPdadw8q0fR5v6Wae6CyHTTjxQgvQuceTjQb/wcL7WYWbS6h5mZxXt32 AJ0QTdNzjENtMZc1475qkAYGUQGnlc4gMFADzq7RTB5xt18nstq+cyE8LVbTCWYsV82H 0RZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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. [23.128.96.18]) by mx.google.com with ESMTP id z10si6547151ede.211.2020.05.11.14.54.11; Mon, 11 May 2020 14:54:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-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 S1725904AbgEKVx7 (ORCPT + 99 others); Mon, 11 May 2020 17:53:59 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:39870 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725860AbgEKVx7 (ORCPT ); Mon, 11 May 2020 17:53:59 -0400 Received: by mail-oi1-f193.google.com with SMTP id b18so16488172oic.6; Mon, 11 May 2020 14:53:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0ubMO0r62e5onOySJqGesT8p9B144ksRv5675Ou87bY=; b=Sdy9+dPhsO7BIn7P1zUyAGHyjZ5QSUXQktOC0zFz/w1xcqXp65LqzEIVmBT1qTRe3k pjYC8A4czZXbZeGjNkLyAwvv9D7/XTjAbb9LxbaCz6hzv3R55fsSfZsAbyj8BaJfn6lB IfPP6VzGMm15QddsG5ruWE2gygUk/8p4jkm+AFQufpouwPRIXiZHpURUHAgWXwYW5/81 /x/KGGL0KOi2Xwc65MyrIAg4SwL28O/9S2pfaWB2VDHY29d9nxfJ4iUn0vcQvbSmUmRb +FurjC49yPAhl2e2rf5Cc/qX/koC3ZCkR2LjHpEUJx/oJ6CZ+WIIx3A6ZV8eKy+M7bU4 +BGA== X-Gm-Message-State: AGi0PuYXo9yXXC5VYBjQV219dycFObJGqApJaX3O0y+qone1aDmwKaLi bQ+GfQSdipgRQKx4Cc8k7A== X-Received: by 2002:aca:d585:: with SMTP id m127mr21345315oig.27.1589234038378; Mon, 11 May 2020 14:53:58 -0700 (PDT) Received: from rob-hp-laptop (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id s69sm2974728otb.4.2020.05.11.14.53.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2020 14:53:45 -0700 (PDT) Received: (nullmailer pid 13339 invoked by uid 1000); Mon, 11 May 2020 21:53:43 -0000 Date: Mon, 11 May 2020 16:53:43 -0500 From: Rob Herring To: Tero Kristo Cc: herbert@gondor.apana.org.au, davem@davemloft.net, linux-crypto@vger.kernel.org, Keerthy , devicetree@vger.kernel.org Subject: Re: [PATCHv2 1/7] dt-bindings: crypto: Add TI SA2UL crypto accelerator documentation Message-ID: <20200511215343.GA10123@bogus> References: <20200424164430.3288-1-t-kristo@ti.com> <20200424164430.3288-2-t-kristo@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200424164430.3288-2-t-kristo@ti.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Apr 24, 2020 at 07:44:24PM +0300, Tero Kristo wrote: > From: Keerthy > > The Security Accelerator Ultra Lite (SA2UL) subsystem provides hardware > cryptographic acceleration for the following use cases: > > * Encryption and authentication for secure boot > * Encryption and authentication of content in applications > requiring DRM (digital rights management) and > content/asset protection > > SA2UL provides support for number of different cryptographic algorithms > including SHA1, SHA256, SHA512, AES, 3DES, and various combinations of > the previous for AEAD use. > > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Signed-off-by: Keerthy > [t-kristo@ti.com: converted documentation to yaml] > Signed-off-by: Tero Kristo > --- > .../devicetree/bindings/crypto/ti,sa2ul.yaml | 76 +++++++++++++++++++ > 1 file changed, 76 insertions(+) > create mode 100644 Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml > > diff --git a/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml b/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml > new file mode 100644 > index 000000000000..27bb3a7e2b87 > --- /dev/null > +++ b/Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml > @@ -0,0 +1,76 @@ > +# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: K3 SoC SA2UL crypto module > + > +maintainers: > + - Tero Kristo > + > +properties: > + compatible: > + enum: > + - ti,j721e-sa2ul > + - ti,am654-sa2ul > + > + reg: > + maxItems: 1 > + > + power-domains: > + maxItems: 1 > + > + dmas: > + items: > + - description: TX DMA Channel > + - description: RX DMA Channel #1 > + - description: RX DMA Channel #2 > + > + dma-names: > + items: > + - const: tx > + - const: rx1 > + - const: rx2 > + > + dma-coherent: true > + > + "#address-cells": > + const: 2 > + > + "#size-cells": > + const: 2 > + > + ranges: > + description: > + Address translation for the possible RNG child node for SA2UL > + > +patternProperties: > + "^rng@[a-lf0-9]+$": a-l? > + type: object > + description: > + Child RNG node for SA2UL Does this child node have a binding? > + > +required: > + - compatible > + - reg > + - power-domains > + - dmas > + - dma-names > + - dma-coherent > + > +additionalProperties: false > + > +examples: > + - | > + #include > + > + main_crypto: crypto@4e00000 { > + compatible = "ti,j721-sa2ul"; > + reg = <0x0 0x4e00000 0x0 0x1200>; > + power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; > + dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, > + <&main_udmap 0x4001>; > + dma-names = "tx", "rx1", "rx2"; > + dma-coherent; > + }; > -- > 2.17.1 > > -- > Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki