Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3324910pxb; Mon, 9 Nov 2020 08:16:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwy1xAdOw4Dsb5LCgLaMy5Ha33n1naUIj052FgefkOb+FimbsudPlULvrvJK8icyCZoNomW X-Received: by 2002:a17:906:1a0b:: with SMTP id i11mr16342645ejf.404.1604938609535; Mon, 09 Nov 2020 08:16:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604938609; cv=none; d=google.com; s=arc-20160816; b=TE1VH/D8ARBiUXalPPjaMB+HBZCXF1Iq0ctFv2+iBKMNM5ms6ejDLYHSrUYv5gES9C +kuTN58m+Y2lYe0KM+7kzZkzLREeqwQgrbJP64gX9cdLB5QcQ3dOWER5KvtPGtIuj1cO sxzkPCmCMQZNPp6W45LE/4mC0cskBXVeemARohQ1lqMFfWMexqCMVZeVLn1kcUgtUbJ2 okfYwSQIltaV9NqV1Hz3cKsrAwzRTcUTANSCpGHd81CY9heuLsJktsXp6jQ32pcSQbHs Ei4x3el5VxdnF1aG26nZcnbECV//9Q6vDgLeVC5qfe/9q7h5tVNlgM8vjo+y2uH9tDFh CBmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=dw1LoUSagFZvFxmHtKuli9nM6y3eYFUgBQWTpjd/9t0=; b=QiCpPGvqtt6DKuxVaVG3xho0xSCl1DnbdvYex+BobzUqZJY/D9TZvPnnH47fDWboB0 5CBjePaG6MXOgfIsuXzGkmgLdFuxecKxok/DBr0k2NSmp0uMs+UEVQkUnipouMwYhJ7s pAZu114KLa1TUnQB58pY4WRFpFRC1twisz0X6zbB8Us5lXySX63R4mUcAYQTFgYo/GMm L0MU2n5v/MIgolw6BgjOHN//f2Ia4qg/GkguFHeEJtyoAiJeyxD+L5FSCYlmsWNqCsAV R5wgDTYb6KKoecYGPCCVvQ/XZ5EWvGBq9USzL7LPtYbPMpa0fkzqbzWaZq+BsS8lvz71 R1Dg== 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 u12si6872332edx.393.2020.11.09.08.16.19; Mon, 09 Nov 2020 08:16:49 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730119AbgKIQPf (ORCPT + 99 others); Mon, 9 Nov 2020 11:15:35 -0500 Received: from mail-ot1-f65.google.com ([209.85.210.65]:35964 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730042AbgKIQPf (ORCPT ); Mon, 9 Nov 2020 11:15:35 -0500 Received: by mail-ot1-f65.google.com with SMTP id 32so9459654otm.3; Mon, 09 Nov 2020 08:15:34 -0800 (PST) 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; bh=dw1LoUSagFZvFxmHtKuli9nM6y3eYFUgBQWTpjd/9t0=; b=GT7IgtVKkVSklGfoqWqg2tGlS2R3OeZay6AO6X7sFYRVOS3HUZ09qV2S0S03RxMiug taWlB7OVKF3DUNr6YWMVb4irDAbVAzeuGFYYVKPpV9dB/hg7XRPH8LuONj1fSJkb9K21 +kQ0VNUYGnRlfqY7C/semriO1f6cXg52sto93K2dl9GcK6/l6UOsOyoMAMahU/SQ0z+d mxv5OJEJavqL2/1E3+1uQ5TinDYrPZKMUbn4U4fzEA1Dqb21VX0hh5cXlROhBzIYjxEo sznFA6QVJxjz+tnxyBOHq4sBIH4JOgGwg0mZNWnvQbL2UhyRktZVZyYVG1ZF4cwAMeu7 7uYA== X-Gm-Message-State: AOAM530EAHSvz+Swyk8WFNF0/iY/4e2YuhvEp0UMZjpYBFUg18xqOLXp o6Fz+SzDFA5Qe6V3004LNbd+tERpyQ== X-Received: by 2002:a9d:bec:: with SMTP id 99mr11477689oth.103.1604938534032; Mon, 09 Nov 2020 08:15:34 -0800 (PST) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id m3sm558145oim.36.2020.11.09.08.15.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 08:15:33 -0800 (PST) Received: (nullmailer pid 1384738 invoked by uid 1000); Mon, 09 Nov 2020 16:15:32 -0000 Date: Mon, 9 Nov 2020 10:15:32 -0600 From: Rob Herring To: Daniele Alessandrelli Cc: Herbert Xu , "David S. Miller" , linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, Mark Gross , Declan Murphy , Daniele Alessandrelli Subject: Re: [PATCH v2 1/3] dt-bindings: crypto: Add Keem Bay OCS HCU bindings Message-ID: <20201109161532.GA1382203@bogus> References: <20201103184925.294456-1-daniele.alessandrelli@linux.intel.com> <20201103184925.294456-2-daniele.alessandrelli@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201103184925.294456-2-daniele.alessandrelli@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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. > + > + 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 >