Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4175831pxb; Tue, 10 Nov 2020 09:38:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVkYFpVTl2r2WEEXL6XE3pZ4uizU8VdkmpgA+UWXGkkXH5gC75HOO3SE8RSBV4LwhOcsbt X-Received: by 2002:a17:906:8c6:: with SMTP id o6mr20150790eje.230.1605029922993; Tue, 10 Nov 2020 09:38:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605029922; cv=none; d=google.com; s=arc-20160816; b=aRuS5zvNy5dVuWvIWLo2FNS9ZKH3CFRu8tu6EhYbbGPvLCwKk++bOJUPW3SkJ+zrfD qQuJb0ssC9NPInPDq+dnds2gDBiS//dctpXorUxh3UVOXM7yPL3b3fI0Sddqq50oN0ey NVw0snGt47QiJR4GXG+K/MEwZtbPNWaauCriRvMzEHu46/iOMCpVEMuU4cgodzyq9y0m T7RsPrJ5R/cvDMFGENPvp5J7FMT7I54SenJ2w8LeQENI/F5nh9vYZYHy7I1KYr+KWAvL 2wzcwzHjXyfXkkt2OY/uIylPFFj4CuP7nknh1HPHEGlS2/DNzmupRsqMqd0/yPy9GsXU mqgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:ironport-sdr:ironport-sdr; bh=ZB7u1c74xA9Jt6M3A/rtVHr9NoILLLkNzA2oGVAkkfM=; b=fO3TWg5uPS3Izf5uo6xcbRQsUb7+8+Cqff6zSrnO+j1Kh2ji8dN68avSrjnlVgd0B0 Ne5IHEpH9CnnD4/AcRx8uuRzU30nMH7jrQjVrcr/14g+DL0MohQDCcqi8BHF+k5WufgY kgO/OE3wPFV5TYLdcNVYJEEZV4Gcd1V5+xZBM91BnrdbXOikfLDLgwZV68fW8FjhZXbH Uv4XoAalJ+MOv/kkb2fOKdb2GWhk2SaofOiWqciPz5sWRm12+oho5skQGJOKac9YXUFZ PeO/dHkQVEJQO8NmkDiWtj6nHlTDF35ig9CftaPBRN6lh8ZAkIMrtzmV2G1OvSiDBvzY s1MQ== 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n23si129351edy.328.2020.11.10.09.38.10; Tue, 10 Nov 2020 09:38:42 -0800 (PST) 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731050AbgKJRgy (ORCPT + 99 others); Tue, 10 Nov 2020 12:36:54 -0500 Received: from mga06.intel.com ([134.134.136.31]:37254 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730299AbgKJRgy (ORCPT ); Tue, 10 Nov 2020 12:36:54 -0500 IronPort-SDR: y/BlxRnqVcOLnrCyt83Z+8t9Vt15asWzgReZdYqtVwpyYz+y2A7TtWLU29G3FRyL6TVHufOW7i m/XylgFFCJrA== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="231645371" X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="231645371" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2020 09:36:52 -0800 IronPort-SDR: F53sb+0lbYh1DQwyXVc27+eYvsELjCPWmvyKuGIYgvp3oxR00zOLNI1fxiWi2DyErePBLSAmLA KWQ9cx3hSDBA== X-IronPort-AV: E=Sophos;i="5.77,466,1596524400"; d="scan'208";a="541418650" Received: from bmaguire-mobl1.ger.corp.intel.com ([10.252.16.241]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Nov 2020 09:36:49 -0800 Message-ID: <89bb5cd49a61d00c2d2f08a4b9273aaecd972ef8.camel@linux.intel.com> Subject: Re: [PATCH v2 1/3] dt-bindings: crypto: Add Keem Bay OCS HCU bindings From: Daniele Alessandrelli To: Rob Herring Cc: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Mark Gross , Declan Murphy , daniele.alessandrelli@intel.com Date: Tue, 10 Nov 2020 17:36:43 +0000 In-Reply-To: <20201109161532.GA1382203@bogus> References: <20201103184925.294456-1-daniele.alessandrelli@linux.intel.com> <20201103184925.294456-2-daniele.alessandrelli@linux.intel.com> <20201109161532.GA1382203@bogus> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, 2020-11-09 at 10:15 -0600, Rob Herring wrote: > On Tue, Nov 03, 2020 at 06:49:23PM +0000, Daniele Alessandrelli wrote: > > From: Declan Murphy > > > > Add device-tree bindings for the Intel Keem Bay Offload Crypto Subsystem > > (OCS) Hashing Control Unit (HCU) crypto driver. > > > > Signed-off-by: Declan Murphy > > Signed-off-by: Daniele Alessandrelli > > Acked-by: Mark Gross > > --- > > .../crypto/intel,keembay-ocs-hcu.yaml | 51 +++++++++++++++++++ > > 1 file changed, 51 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/crypto/intel,keembay-ocs-hcu.yaml > > > > diff --git a/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-hcu.yaml b/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-hcu.yaml > > new file mode 100644 > > index 000000000000..cc03e2b66d5a > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-hcu.yaml > > @@ -0,0 +1,51 @@ > > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-hcu.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Intel Keem Bay OCS HCU Device Tree Bindings > > + > > +maintainers: > > + - Declan Murphy > > + - Daniele Alessandrelli > > + > > +description: > > + The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU) > > + provides hardware-accelerated hashing and HMAC. > > + > > +properties: > > + compatible: > > + const: intel,keembay-ocs-hcu > > + > > + reg: > > + items: > > + - description: The OCS HCU base register address > > Just need 'maxItems: 1' if there's only 1. The description doesn't add > anything. Thanks for the review. I will change this and the ones below. > > > + > > + interrupts: > > + items: > > + - description: OCS HCU interrupt > > Same here > > > + > > + clocks: > > + items: > > + - description: OCS clock > > And here. > > > + > > +required: > > + - compatible > > + - reg > > + - interrupts > > + - clocks > > + > > +additionalProperties: false > > + > > +examples: > > + - | > > + #include > > + crypto@3000b000 { > > + compatible = "intel,keembay-ocs-hcu"; > > + reg = <0x3000b000 0x1000>; > > + interrupts = ; > > + clocks = <&scmi_clk 94>; > > + }; > > + > > +... > > -- > > 2.26.2 > >