Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp525792ybl; Thu, 23 Jan 2020 03:12:51 -0800 (PST) X-Google-Smtp-Source: APXvYqygZbadhWDfO3G5gx3rqqePc5DqkOpW1o2a+31XLo8+dM6l/YKTOW0BgMYMnI7VsnpsfW/Z X-Received: by 2002:a05:6830:12da:: with SMTP id a26mr10368649otq.223.1579777971838; Thu, 23 Jan 2020 03:12:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1579777971; cv=pass; d=google.com; s=arc-20160816; b=WjX1oEl+JImGV5ftgcl+3eSdsHQ+1f3yk92Q6LoQbRL8lYC7tYWzgdF1ePvqXp8hYm W7SoFxMG43de/35C/O8TTbAomfNf7gss8UQxvQyvJzOoOcGBylc/HU3VNTG1xQVCI+1N FbtDXjZhv/AOFtFWQZLttcQWZjwLzdlysU/r/EGSEjxBZcyEwC75WpEJQHlmwE9z72tN 6hyiYUBGAN25i/aFkmr1AKOWFAJHqSFzwFsWqufCdbFM0AigOPK2lapTfepkV0iM6zah EwKiOZWBL+f3tWqeCYG9RZhkphxcPACesM7LNVz7YDoq3Gj+GqRnb1+QZf/ruLBsrHVC h+Ag== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=qRcJGTJ7ccwuUpDdOhHh+Wa43S12x7wZsjJlbNeUdDs=; b=CysY6zzfYZK+LWBHIh0tD0hhJymBTGjNlCpxHxeUNOSqeS9m2WkJTDwDEiz/pSjXpm 2JZL0WbJiP1223C4jWM5/ZZd0NYartBC9ugVz4oEr3rkbDlEQQtUa45zdS/NaUoiIBiX o78XObITcdRBZ2/v/HNx2/XuKDkzjMlHb5mFiab6YenwznPGdAv8ot/g2vu6mInpicrv 6P4ryds1NrEylo+OeGw8ceWnBKSrq0pvLG0OQC4ZZy353Z0dQuCTsdzNq+Z9RSqSPv7h FQWwT7EImYrySiwOouFx3EiyrngEvFIgG0CwaV8BDd2x6hJuvArrkhibFG6Dmx9Kj/WC vEwQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=RBrLD8IC; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si1010852otl.302.2020.01.23.03.12.40; Thu, 23 Jan 2020 03:12:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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=@xilinx.onmicrosoft.com header.s=selector2-xilinx-onmicrosoft-com header.b=RBrLD8IC; arc=pass (i=1 spf=pass spfdomain=xilinx.com); spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726771AbgAWLMK (ORCPT + 99 others); Thu, 23 Jan 2020 06:12:10 -0500 Received: from mail-eopbgr700060.outbound.protection.outlook.com ([40.107.70.60]:61728 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726194AbgAWLMK (ORCPT ); Thu, 23 Jan 2020 06:12:10 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k2nC5socG/fSHRNN3GTjhIfFTq673a9rAXERIYd8ReTMXal4EdkTfVW7BtM7M+L2PLyOpX5/bMWli3doF7Ie3qX3iMB1ZNcH8FT/8ez5VZBLfqloTCnPvzxZxhLLMjWPa/x0VSEvVgUR5qHmR+H/hnxW6+OFdI23NXKyKgLcPihR52c7t48ZosQh4tX1Lgq72QlS3paYTyVIKa5u+h/PADYhcXUGhlEV6G6w0km43BKouWEhyAxMTU0napfekzKw0WwJlCva2So11yQ9S6mVEn/A38jBXIF9uREyUL7eu6DumYieoNwDLeX9MKDFkKbuwSLxHxxMRo/zc3ssoN9hVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qRcJGTJ7ccwuUpDdOhHh+Wa43S12x7wZsjJlbNeUdDs=; b=ZbVk1IvUghaAcyXz+ZD2yILDg/pdR+85rOZCJumXb2PoH+CvKKXFe8/csABMR/Raa/Ql7jQUuq8wpfGqSURXyDvyUtKyd2Ct6hREGaxn7jIaOIC/O4E6UDag/d7K4eogerRTcz0qeo6lwl7WJD2XyeLbqZ4Y2jxAbuNEDqhhWNafrtxEILH5KdNoXgXK692fX54bNZTCII0EALmrQXnVWg8eYcOtXSMvNqc4zHeaO447JBTH/wTQDghRnVFXuSgC4fU49nNWNT5AfP2T7RSRLVXqtCVRtXzFpXG5xsqbSd9epQBGGKPvreNcFG3FJiZnUEFJZDRd+eQihlaR+v3Bpg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 149.199.60.83) smtp.rcpttodomain=davemloft.net smtp.mailfrom=xilinx.com; dmarc=bestguesspass action=none header.from=xilinx.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector2-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qRcJGTJ7ccwuUpDdOhHh+Wa43S12x7wZsjJlbNeUdDs=; b=RBrLD8ICAY4G+Qf8zDirvueJucfkCrCZpeWBuUmixVkaAGucL0AqN6LbiG3/OiJtk3gQAKBkMj5iiM0awh7tvU4S4IfzPvPOR4Jr6D9FQJ5d52xtxqCnv5lkpxcS0axsLBtPNyNVe99hI1ZeOgxsyTUXNi7kY5wfyB3ezmUzSO8= Received: from BN7PR02CA0004.namprd02.prod.outlook.com (2603:10b6:408:20::17) by BN6PR02MB2418.namprd02.prod.outlook.com (2603:10b6:404:54::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.23; Thu, 23 Jan 2020 11:12:06 +0000 Received: from BL2NAM02FT029.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::209) by BN7PR02CA0004.outlook.office365.com (2603:10b6:408:20::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.21 via Frontend Transport; Thu, 23 Jan 2020 11:12:05 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; davemloft.net; dkim=none (message not signed) header.d=none;davemloft.net; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT029.mail.protection.outlook.com (10.152.77.100) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.2665.18 via Frontend Transport; Thu, 23 Jan 2020 11:12:03 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1iuaP4-0007hX-R8; Thu, 23 Jan 2020 03:12:02 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1iuaOz-0007VJ-NY; Thu, 23 Jan 2020 03:11:57 -0800 Received: from [172.23.155.80] (helo=xhdengvm155080.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1iuaOv-0007Ua-3L; Thu, 23 Jan 2020 03:11:53 -0800 Received: by xhdengvm155080.xilinx.com (Postfix, from userid 23151) id 1381C800C0; Thu, 23 Jan 2020 16:41:26 +0530 (IST) From: Kalyani Akula To: herbert@gondor.apana.org.au, davem@davemloft.net, monstr@seznam.cz, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Rob Herring , devicetree@vger.kernel.org, git-dev , Mohan Marutirao Dhanawade , Sarat Chand Savitala , Harsh Jain , Michal Simek , Kalyani Akula , Kalyani Akula Subject: [PATCH V5 2/4] dt-bindings: crypto: Add bindings for ZynqMP AES-GCM driver Date: Thu, 23 Jan 2020 16:41:15 +0530 Message-Id: <1579777877-10553-3-git-send-email-kalyani.akula@xilinx.com> X-Mailer: git-send-email 1.9.5 In-Reply-To: <1579777877-10553-1-git-send-email-kalyani.akula@xilinx.com> References: <1579777877-10553-1-git-send-email-kalyani.akula@xilinx.com> X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.83;IPV:;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(376002)(346002)(39860400002)(136003)(396003)(199004)(189003)(107886003)(6666004)(6266002)(44832011)(186003)(356004)(8936002)(81156014)(81166006)(336012)(26005)(36756003)(426003)(2906002)(4326008)(8676002)(2616005)(54906003)(70206006)(42186006)(5660300002)(70586007)(478600001)(316002)(966005);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR02MB2418;H:xsj-pvapsmtpgw01;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-83.xilinx.com;A:1;MX:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 22fc142f-4c69-4a51-c64c-08d79ff51389 X-MS-TrafficTypeDiagnostic: BN6PR02MB2418: X-Microsoft-Antispam-PRVS: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-Forefront-PRVS: 029174C036 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0n9q+SBgnD8ETf5IAGijQUTx82NE2FGufVmULGimUI5FHlV9qslzNx5iea3oqMEF+0Gn/bLnfwX9wAfR8LqXvajMfWZA14DrMSciWx1afXJixBl3xObge6Yzmbs8EhXiD3U3tSuO1c3hPowp7TIDejulk6EjDei6wDv+m0MjEWXoEj7JbUFq+QLLbgo/mqy0tuViEno2bifZoYG45dfzQDpKxA9zKEs0v7zxfQNBKA+pjMzMgpl4Y9T1KImaeUE2mH6YOi58oZsqh5O+ZWPDopN198CXFjjqLXN/vhYCArPT0NNA/di8Fjbx1SMFxUJfdIM+kLEMmd8BZk8+Bbnmns6+n3XDKcReyD36AJ4TC2UF7+aDqZdQaWUS14+OqsenNY/XCU2pKalA+0ccZivV32B5Zu4yGJw+fuywjeHZxDxVZn6b4se0G5pVepAUKDE1gAWCoLAFdmBRMG5/VPQiLwcAoxkdPr3UitQHAygLaoI= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2020 11:12:03.8025 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 22fc142f-4c69-4a51-c64c-08d79ff51389 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.83];Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR02MB2418 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Add documentation to describe Xilinx ZynqMP AES-GCM driver bindings. Signed-off-by: Kalyani Akula --- V5 Changes: - Moved dt-bindings patch from 1/4 to 2/4 - Converted dt-bindings from .txt to .yaml format. .../bindings/crypto/xlnx,zynqmp-aes.yaml | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml diff --git a/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml b/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml new file mode 100644 index 0000000..b2bca4b --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/xlnx,zynqmp-aes.yaml @@ -0,0 +1,37 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/xlnx,zynqmp-aes.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Xilinx ZynqMP AES-GCM Hardware Accelerator Device Tree Bindings + +maintainers: + - Kalyani Akula + - Michal Simek + +description: | + The ZynqMP AES-GCM hardened cryptographic accelerator is used to + encrypt or decrypt the data with provided key and initialization vector. + +properties: + compatible: + const: xlnx,zynqmp-aes + +required: + - compatible + +additionalProperties: false + +examples: + - | + firmware { + zynqmp_firmware: zynqmp-firmware { + compatible = "xlnx,zynqmp-firmware"; + method = "smc"; + xlnx_aes: zynqmp-aes { + compatible = "xlnx,zynqmp-aes"; + }; + }; + }; +... -- 1.9.5