Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp435048ybi; Fri, 24 May 2019 06:13:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqwK1c2bEl3WCxgvEqhJzKepJcXbnfCwkvSdQ3iwWytTDK8Co+YtqbMbn3WFVb6wDch7/b44 X-Received: by 2002:a62:582:: with SMTP id 124mr113428007pff.209.1558703581281; Fri, 24 May 2019 06:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558703581; cv=none; d=google.com; s=arc-20160816; b=FBqzgib7+XtGEENqIn3U9M6wdWuIxdY15qNKtmziGQA5q1nx704c0twGv0hqr9Z/9Z oASGG/x8Y+U6SP9AeI+tu/mx50cjHJwSsXpthTiYd+7aDF4FrVZ/eMsJ+wdkfnzKVltZ 4xNtcP4e1GLkdGIr0RcESVDq68twi2jqRbQQGAFIcETN9+FfCiDuP8FUUQynfcd3v7Dv gphwIsWdD9NmAFHE88cP9iXU2Wg/M/Xkg3m+5H2QViN5nPV4R2jU3QIh1k7d+nrJb3dN kGR5WNSx3/iMe49pA0Lfzs4OSxwgdfio5ax0EZp8mNq/8QimKqX3DJ6EInBbM/1L8PP3 IBRA== 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=rMncUO8DUs+fl5GsdVlyCctJynkCz+OH278wiVCPRe0=; b=Z0eXS+Fe8/Tc9xpqI5/lHtPE1yDBw8lMGmjrDRtwR4LMGkN/toLvFkdpnVOrv3IZac g9gMMtfykljupfnyX5dakpNmV/9EtMtwMs8cIFIGQ8msf4enw67xt7gcpMQzeQMe1nga TuN5ikMoW0k3nI9AciFIGOz8sn6vZa/nZdEnD7S+WjJYAn+M3mAZL0Y+jzB2jpV3HRfW LVP0QKazNLWRMtRijxLQ1cu8ILF3chaB84vy0/Ov9zz4nq7eWwbbqZeRS1NhN3KiHl2l n91TJtaPYXL9fOg2/yYOgKRu2TimRhJlNn5/4Pu2rohCS88ZYM/3mcYS0Ztb3C4xfsWF ZSRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JkcxGakF; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id b10si2173447pgg.523.2019.05.24.06.12.40; Fri, 24 May 2019 06:13:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=JkcxGakF; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 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 S2391408AbfEXNMh (ORCPT + 99 others); Fri, 24 May 2019 09:12:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:59694 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391397AbfEXNMh (ORCPT ); Fri, 24 May 2019 09:12:37 -0400 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (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 87BD0217D7 for ; Fri, 24 May 2019 13:12:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558703556; bh=tKhfPrX2dmO9ezZf6mxbxY2vAhUhNpSLsakl1Bxcyn8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JkcxGakF+Lt+HcMtxOk5+lb7xkkBqdRowf6VjuTwcxl8rgelrqzX3+h+Pg4MF64Ow WPZDmDyINebWgNQkuaR8vSw/H7FpvjepMI6DXpKdlxb5AOkorGd7vHnXsRO+d3onFg WBhSVQ7SVRSUIFbHsHgVZ/WzzkhsG8oQ8xPfrG80= Received: by mail-qk1-f170.google.com with SMTP id z6so7406148qkl.10 for ; Fri, 24 May 2019 06:12:36 -0700 (PDT) X-Gm-Message-State: APjAAAW6PcdNqEyWqLvivRvgCI6wqR0ZtJWSlwG3FOVL8Qi5WyIH7zf/ jyx70hZFFXH9hwgvsl+vLbxoHFNFsdx4TpFHCQ== X-Received: by 2002:ae9:c208:: with SMTP id j8mr7226668qkg.264.1558703555792; Fri, 24 May 2019 06:12:35 -0700 (PDT) MIME-Version: 1.0 References: <20190430162910.16771-1-ard.biesheuvel@linaro.org> <20190430162910.16771-6-ard.biesheuvel@linaro.org> In-Reply-To: <20190430162910.16771-6-ard.biesheuvel@linaro.org> From: Rob Herring Date: Fri, 24 May 2019 08:12:24 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 5/5] dt-bindings: add Atmel SHA204A I2C crypto processor To: Ard Biesheuvel Cc: "open list:HARDWARE RANDOM NUMBER GENERATOR CORE" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Linus Walleij , Joakim Bech , Mark Rutland Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Apr 30, 2019 at 11:29 AM Ard Biesheuvel wrote: > > Add a compatible string for the Atmel SHA204A I2C crypto processor. > > Cc: Rob Herring > Cc: Mark Rutland > Signed-off-by: Ard Biesheuvel > --- > Documentation/devicetree/bindings/crypto/atmel-crypto.txt | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/Documentation/devicetree/bindings/crypto/atmel-crypto.txt b/Documentation/devicetree/bindings/crypto/atmel-crypto.txt > index 6b458bb2440d..a93d4b024d0e 100644 > --- a/Documentation/devicetree/bindings/crypto/atmel-crypto.txt > +++ b/Documentation/devicetree/bindings/crypto/atmel-crypto.txt > @@ -79,3 +79,16 @@ atecc508a@c0 { > compatible = "atmel,atecc508a"; > reg = <0xC0>; > }; > + > +* Symmetric Cryptography (I2C) This doesn't really seem to be related to the rest of the file which are all sub-blocks on SoCs. You could just add this one to trivial-devices.yaml. > + > +Required properties: > +- compatible : must be "atmel,atsha204a". > +- reg: I2C bus address of the device. > +- clock-frequency: must be present in the i2c controller node. That's a property of the controller and doesn't belong here. > + > +Example: > +atsha204a@c0 { crypto@c0 > + compatible = "atmel,atsha204a"; > + reg = <0xC0>; > +}; > -- > 2.20.1 >