Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp202548pxx; Mon, 26 Oct 2020 06:47:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+Vw3A+T3kj1G79AhgWI1SL+QzmqziTYSzopwgNLOJgfGvwRtuC47cznYbDadAn2C9jmQz X-Received: by 2002:a05:6402:b66:: with SMTP id cb6mr15114522edb.110.1603720071223; Mon, 26 Oct 2020 06:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603720071; cv=none; d=google.com; s=arc-20160816; b=h06hhgkTJvS31wZt07bOG1JjcjOpPfsCY9EHEsIartMVui46ibmO6K4SRDy5OM4nC2 ZDwBCLRPJXcgvSKhmfNf4jh9cWnCPkl/Z4CZAM8+c3+4jkq5zkTJ7RB/W4sFl+RnnMl8 3dQbgOY9m0wNfPkXgH/KIOnoPgQO/RjLdRSPs8iD9uszX8oN6Sc1m/u/Ocw7CdV6XAQ6 YRK5/wl2VcTINXg3gVcBcOTB3gg6aCg2yFeAofeOJ8rvFJlRnKjobXkS3/WhaJoO9tph W3DpWhUtHEseYBjLtkLz/WJCh0e9DfJpKPtBE0V6gz5jHcNVuTGIio8tGrjKfKZHJYwV 58mQ== 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=q7bno1h46Vp/ABrcszACFHvC0m971ZjamxzKz5T7W8w=; b=e6rgjhVqpAL0MgqMbitqV10BePXDcUhi/94blb5xLKDvAzx6nA0WqO/amTHprpXfde hm+u31nWfIMDhOuhUQ6WlzFmOY2SYjspBBxoBhbJp4tWsOzo8S3/PnIgwpI1U6Ox/+Am vp4mDza0SwMY9N4BGVp7aqxlKSiUGcq9OBYzRA5CdKDFgibKGaXslTWBEJathbAP1deR /tznNtnkU84OWL8E4mhsbS0hJPdEfLyw0BgkvzOJZtoVHxB8IqlCo2fJ5xbJ9hy5ZlRl yGMs9/zsJ/wYOOz2WwP2V0TH0fgq8icZ6dgTqm60pRVHmOoJDc6mG46AUyOglEjsBb/C 4Log== 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 by15si8882240ejb.197.2020.10.26.06.47.26; Mon, 26 Oct 2020 06:47:51 -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 S1774669AbgJZNR2 (ORCPT + 99 others); Mon, 26 Oct 2020 09:17:28 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:41168 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1774652AbgJZNR1 (ORCPT ); Mon, 26 Oct 2020 09:17:27 -0400 Received: by mail-ot1-f65.google.com with SMTP id n15so7907494otl.8; Mon, 26 Oct 2020 06:17:25 -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; bh=q7bno1h46Vp/ABrcszACFHvC0m971ZjamxzKz5T7W8w=; b=n1HwqRp+vo35bGxx7a6HVxYu3d+6zD13jEB3J5xjI7nZFgC4X5n1iMLTHXb0gtdvNb /qTmEvVNm9AduScWTEcle1BzxI3lxAX1VLKOxa8/wm4Ov/H+B3D77geDHWliknAP2SL9 dJV0nDwwA4qNbHRmHJScH/KoMN4orKtH+hWyLfGxJhoVFNQSvkrrzl3FzvC6mJHJkqzK yhwJSfZe2oYlQzb9QMhZwf+49CCcL6W3ohOTeyOwuJXWeQOl5Fv+OpT0Ca+fp57KSY6l I2dWUls3IHRQaRDa1UAqN8hcQaaIYFPZb7gyxVkD1nsot6vKAHUdyxmoWE8vblugqmhY SCQw== X-Gm-Message-State: AOAM530OYSliE18n3DyzbTvFcfliy6fq0XR6Q8FU6ZCJEEjVwgeqnsGd J3BWoO1QoGVH0CxfNK54+w== X-Received: by 2002:a05:6830:1347:: with SMTP id r7mr15232920otq.203.1603718245058; Mon, 26 Oct 2020 06:17:25 -0700 (PDT) Received: from xps15 (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id v17sm3486344ote.40.2020.10.26.06.17.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Oct 2020 06:17:24 -0700 (PDT) Received: (nullmailer pid 15580 invoked by uid 1000); Mon, 26 Oct 2020 13:17:23 -0000 Date: Mon, 26 Oct 2020 08:17:23 -0500 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 1/3] dt-bindings: crypto: Add Keem Bay OCS HCU bindings Message-ID: <20201026131723.GA11033@bogus> References: <20201016172759.1260407-1-daniele.alessandrelli@linux.intel.com> <20201016172759.1260407-2-daniele.alessandrelli@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201016172759.1260407-2-daniele.alessandrelli@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Oct 16, 2020 at 06:27:57PM +0100, 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 | 52 +++++++++++++++++++ > 1 file changed, 52 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..dd4b82ee872b > --- /dev/null > +++ b/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-hcu.yaml > @@ -0,0 +1,52 @@ > +# 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 typo: ^? > + > +description: | Can drop '|' if there's no formatting to preserve. > + The Intel Keem Bay Offload and Crypto Subsystem (OCS) Hash Control Unit (HCU) > + crypto driver enables use of the hardware accelerated hashing module embedded > + in the Intel Movidius SoC code name Keem Bay, via the kernel crypto API. Don't put Linux details in bindings. Describe the h/w, not a driver. > + > +properties: > + compatible: > + const: intel,keembay-ocs-hcu > + > + reg: > + items: > + - description: The OCS HCU base register address > + > + interrupts: > + items: > + - description: OCS HCU interrupt > + > + clocks: > + items: > + - description: OCS clock > + > +required: > + - compatible > + - reg > + - interrupts > + - clocks > + > +additionalProperties: false > + > +examples: > + - | > + #include > + hcu@3000b000 { crypto@... > + compatible = "intel,keembay-ocs-hcu"; > + reg = <0x3000b000 0x1000>; > + interrupts = ; > + clocks = <&scmi_clk 94>; > + }; > + > +... > -- > 2.26.2 >