Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1197762ybp; Fri, 4 Oct 2019 10:55:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqx17Z6h9ADVAU9rIyzBB1Zid6gwTXI+c0IkR6lVmCPe0V30O59riVBe5pfX4yiFGdNJVNb5 X-Received: by 2002:a17:906:564b:: with SMTP id v11mr13330723ejr.225.1570211718380; Fri, 04 Oct 2019 10:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570211718; cv=none; d=google.com; s=arc-20160816; b=bUJBl38THJTLgALsHWxzyesZdNfoP2zDYpYuIdC2QU3guB6ehuOS/+Z+SumW06YWYv 1VIQE8S3/A+2ny8PDUzOn3UHrwXhQh0wr7/9CPA5z7biDbrzoupowKyeLYF7luChwwp7 SjgWDDcfFpbrcKBX9JixUjTBBHn0dIq7Ct8igj+ae5X2DN194xLItQqcHqL78xmqlSJr ndBU/uRFN8auiVI66HhDcOhgemfiKfAqT+1nHgN081+mxrgFLyN1KoFm3o5dZkP3r0yI 6VS/45sxsVX8dOIvCULeDDxvsIOtxBGoYieTlQWEOzQrodvgOdLCnGxojPWC0euuO5K4 1OGg== 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:dkim-signature; bh=SiYnbzF7WkjqWKJjUmGyqc1k8qogotE1jvdb1MCejmk=; b=AcabgueuEhyUFpu06QpFIkYH9lV4K8up3/TuEO6l58wzlAcMFtmcByP550gSNzfhYE IQ15e7vQLngI+p3IguwSetG8UulsH2DIA5ubJ3s1FTgNwhiG90u3exxrqTgHRGlQnucl g3XZMNgqJaAwfzRhBYrRbFc3Unsto2NxvQv0CT6d56Ptb14tqrwOp+L7ktb8UcUliSEb iCwjPg5ae2o1beGcGNr37iRvVMovJKi2rjfiUXEhpyB9r68UtA29H3/d0l/QR88kNL0J j86XVF6RZH2pO/R0iIXXtop3vaQFisjNvdI/GBsK+ZfcIXAnpoqMdJ1jfSw6aj4rAGVM 2aAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rqFfmPBj; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i40si4000416eda.225.2019.10.04.10.54.54; Fri, 04 Oct 2019 10:55:18 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=rqFfmPBj; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389136AbfJDRxN (ORCPT + 99 others); Fri, 4 Oct 2019 13:53:13 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37192 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388880AbfJDRxM (ORCPT ); Fri, 4 Oct 2019 13:53:12 -0400 Received: by mail-wm1-f66.google.com with SMTP id f22so6734395wmc.2; Fri, 04 Oct 2019 10:53:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=SiYnbzF7WkjqWKJjUmGyqc1k8qogotE1jvdb1MCejmk=; b=rqFfmPBjt5rNehUrfCoog3sBIjQKw8DOTHfqANDdbh6jLSdp3Jt4BHH2BqNPxDJkPf X9GmB0XLf5OILRwmuglpo4UHl9sJPPoTlrXu6ADQEiAZEetGw2XgIlzniuQdX8DCAHje 4USGkdxGIrdT0zkJ87uc27k538trG28T3Jo3c7cZE6FYXI40/vp3QY58vrjZGd7tCFBJ 16gdzjIHv+UtYdOz1n2+9TbrnQfQYNT/a8cPNeyboqCehSOnkRQGg67jSRVJ3pIhxflF IY8/P91g35XLJfSnbnjHsfQW0c/ML1NcmgXpv6KFcWdfqjbcKsZ5yTQioEB+YWCTH+gM oWUw== 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=SiYnbzF7WkjqWKJjUmGyqc1k8qogotE1jvdb1MCejmk=; b=LVnDQ04qMrZ5znamXsk/HkfKI5M5yN5FmBQ2m+fsvArUTyxCt5OQnnaHZzf9Y4DRpm CNui/c6GqE6JaKuxHY46KK03Cfl4EYcPjfkXgnYEv0+cmTBw7bWxyeIwoIQRz4CwB3lZ CVYc1TBA8DqOTqN+QajuRPH7ZZGQJaqXLhWfJILt04snSCEej4OthidIOihD10SZMI0J VbGEmxcJawtsOBZLnQ+N1HYbYdZkSj95MQyDDpcS29rHjQYiLv0X77SuMyuzYkj0ZsNU vcfBUxmVOmSPf1nxDo8Voz+5R3H/iERvRfJxtF2nJuzMeT3/dkKiX4lg+0nm/rXoruY/ SK5A== X-Gm-Message-State: APjAAAUZzjhueG2+H7/E3OYxfwKGPx+al/uAhDLGXTGt5FZ08w2sjQK8 hHdX/wmTGdLq7EtZJ0Kb2do= X-Received: by 2002:a05:600c:2252:: with SMTP id a18mr5967972wmm.141.1570211590660; Fri, 04 Oct 2019 10:53:10 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id e9sm17598865wme.3.2019.10.04.10.53.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Oct 2019 10:53:09 -0700 (PDT) Date: Fri, 4 Oct 2019 19:53:07 +0200 From: Corentin Labbe To: Maxime Ripard Cc: catalin.marinas@arm.com, davem@davemloft.net, herbert@gondor.apana.org.au, linux@armlinux.org.uk, mark.rutland@arm.com, robh+dt@kernel.org, wens@csie.org, will@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: Re: [PATCH v2 03/11] dt-bindings: crypto: Add DT bindings documentation for sun8i-ce Crypto Engine Message-ID: <20191004175307.GB11208@Red> References: <20191001184141.27956-1-clabbe.montjoie@gmail.com> <20191001184141.27956-4-clabbe.montjoie@gmail.com> <20191002055458.zo2vdbxodj3ch53g@gilmour> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191002055458.zo2vdbxodj3ch53g@gilmour> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 02, 2019 at 07:54:58AM +0200, Maxime Ripard wrote: > On Tue, Oct 01, 2019 at 08:41:33PM +0200, Corentin Labbe wrote: > > This patch adds documentation for Device-Tree bindings for the > > Crypto Engine cryptographic accelerator driver. > > > > Signed-off-by: Corentin Labbe > > --- > > .../bindings/crypto/allwinner,sun8i-ce.yaml | 92 +++++++++++++++++++ > > 1 file changed, 92 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml > > > > diff --git a/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml b/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml > > new file mode 100644 > > index 000000000000..9bd26a2eff33 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/crypto/allwinner,sun8i-ce.yaml > > @@ -0,0 +1,92 @@ > > +# SPDX-License-Identifier: GPL-2.0 > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/crypto/allwinner,sun8i-ce.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Allwinner Crypto Engine driver > > + > > +maintainers: > > + - Corentin Labbe > > + > > +properties: > > + compatible: > > + enum: > > + - allwinner,sun8i-h3-crypto > > + - allwinner,sun8i-r40-crypto > > + - allwinner,sun50i-a64-crypto > > + - allwinner,sun50i-h5-crypto > > + - allwinner,sun50i-h6-crypto > > + > > + reg: > > + maxItems: 1 > > + > > + interrupts: > > + maxItems: 1 > > + > > + clocks: > > + items: > > + - description: Bus clock > > + - description: Module clock > > + - description: MBus clock > > + minItems: 2 > > + maxItems: 3 > > + > > + clock-names: > > + items: > > + - const: bus > > + - const: mod > > + - const: ram > > + minItems: 2 > > + maxItems: 3 > > + > > + resets: > > + maxItems: 1 > > + > > + reset-names: > > + const: bus > > + > > +if: > > + properties: > > + compatible: > > + items: > > + const: allwinner,sun50i-h6-crypto > > +then: > > + properties: > > + clocks: > > + minItems: 3 > > + clock-names: > > + minItems: 3 > > +else: > > + properties: > > + clocks: > > + maxItems: 2 > > + clock-names: > > + maxItems: 2 > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - clocks > > + - clock-names > > + - resets > > + > > +additionalProperties: true > > I guess you meant false here? > Yes. i wil fix that. Regards