Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1417351pxu; Thu, 17 Dec 2020 09:26:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJyanXXurVIOIydGF9N/OZCfq3yvTo09e8/j6Gg3uYSQpGVCR8qrQ0XlXHcFSqJR4b5hRRCI X-Received: by 2002:a05:6402:14c5:: with SMTP id f5mr417335edx.232.1608225997565; Thu, 17 Dec 2020 09:26:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608225997; cv=none; d=google.com; s=arc-20160816; b=Da/nvg8urSDo5Ppc+m8FGzmOZT4wZZAm6v1SXBhOueg53KCsUXTEhiKsLcSxY46o/R qh3/Hv2TknADH6+JITauobv+YDrfVtdUW/iTkOlVceQg611k3UYDoeVxsCybeKaJciF2 5Wk3JmjcJB80RVyQbIyLq0kGYL85/+lEXPQTQUjmIZ41mSa5hhbUk+eUTDxXOS3+t4xQ xESGoXyEtPqKcgtvEkuxdwpZyQOYnS0v58qoI7zXQn9lSCeIUOiRsPOwqs6PoYiLPo3y wjmuFTd4Dq2xMb0ACu/d95JGNgMcGkxHS5vpCgzJZWctw2ahRYRBXNJ4GuRdw4G3dHCw pvGA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :ironport-sdr:ironport-sdr; bh=XRYDE2iWdookOZBxINiYFbC/uJwaDLUe+RjXqh0wieo=; b=GrZyM4uK7BK+zLu1c8/G74/XBq53V1GcxVoViKp6A+y68WaCWK4wQCxUm/LsIzurWl KqXm3Artwgj3Q0DKTo0YbYieXNpXUFSiv3pZW5oR2txymNQh2mxw0M6gmvJbbviIuAuh czjswavUKcdl+wy+kFy91LqmAqGfJfvzLhztJDkvYwEN3aB00hwkyDcm5p1BUEJ8gvQH Eo2z7bBNwc90HE2EjjfMyyiIXImadEgG1j7c3O34qJT5Ra3hWZMgkmRurwKC30DeJJ8l oh4b/nVBJWRgEfTSa92RdDimWUjJFkYlHg725+f3IW1W8HLwARFkUhpNB+gWDvqJQ7bx lxHg== 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 g2si3056174eji.656.2020.12.17.09.26.18; Thu, 17 Dec 2020 09:26:37 -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 S1729062AbgLQRYk (ORCPT + 99 others); Thu, 17 Dec 2020 12:24:40 -0500 Received: from mga05.intel.com ([192.55.52.43]:47109 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729044AbgLQRYj (ORCPT ); Thu, 17 Dec 2020 12:24:39 -0500 IronPort-SDR: 3TY521B3o+xarBHs6J+k6DB24pUJiLzklGRPPVac6WL+edawXgSHWkoih4RweRIBrSYUqidZlZ Mdy/+BJBMP1A== X-IronPort-AV: E=McAfee;i="6000,8403,9838"; a="260017916" X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="260017916" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 09:21:41 -0800 IronPort-SDR: NJNLB2SZd9BxNICwHxqSRbBix9TigjxXeEZD2UKWehFTkn/mZqGIxaMSrErsMKgaDni0zn52gp fRNMZ2L1+kag== X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="369930987" Received: from cdonohoe-mobl2.ger.corp.intel.com (HELO dalessan-mobl1.ir.intel.com) ([10.252.13.146]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 09:21:38 -0800 From: Daniele Alessandrelli To: linux-crypto@vger.kernel.org, Herbert Xu , "David S. Miller" Cc: devicetree@vger.kernel.org, Rob Herring , Daniele Alessandrelli , Mark Gross , Prabhjot Khurana , Elena Reshetova Subject: [RFC PATCH 5/6] dt-bindings: crypto: Add Keem Bay ECC bindings Date: Thu, 17 Dec 2020 17:21:00 +0000 Message-Id: <20201217172101.381772-6-daniele.alessandrelli@linux.intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201217172101.381772-1-daniele.alessandrelli@linux.intel.com> References: <20201217172101.381772-1-daniele.alessandrelli@linux.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Prabhjot Khurana Add Keem Bay Offload and Crypto Subsystem (OCS) Elliptic Curve Cryptography (ECC) device tree bindings. Signed-off-by: Prabhjot Khurana Signed-off-by: Daniele Alessandrelli --- .../crypto/intel,keembay-ocs-ecc.yaml | 47 +++++++++++++++++++ MAINTAINERS | 7 +++ 2 files changed, 54 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml diff --git a/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml b/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml new file mode 100644 index 000000000000..a3c16451b1ad --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml @@ -0,0 +1,47 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-ecc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel Keem Bay OCS ECC Device Tree Bindings + +maintainers: + - Daniele Alessandrelli + - Prabhjot Khurana + +description: + The Intel Keem Bay Offload and Crypto Subsystem (OCS) Elliptic Curve + Cryptography (ECC) device provides hardware acceleration for elliptic curve + cryptography using the NIST P-256 and NIST P-384 elliptic curves. + +properties: + compatible: + const: intel,keembay-ocs-ecc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + +additionalProperties: false + +examples: + - | + #include + crypto@30001000 { + compatible = "intel,keembay-ocs-ecc"; + reg = <0x30001000 0x1000>; + interrupts = ; + clocks = <&scmi_clk 95>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index f5eafee83bc6..fa5bc7c4c9fe 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9070,6 +9070,13 @@ F: drivers/crypto/keembay/keembay-ocs-aes-core.c F: drivers/crypto/keembay/ocs-aes.c F: drivers/crypto/keembay/ocs-aes.h +INTEL KEEM BAY OCS ECC CRYPTO DRIVER +M: Daniele Alessandrelli +M: Prabhjot Khurana +M: Mark Gross +S: Maintained +F: Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml + INTEL MANAGEMENT ENGINE (mei) M: Tomas Winkler L: linux-kernel@vger.kernel.org -- 2.26.2