From patchwork Wed Jan 4 01:34:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Liu X-Patchwork-Id: 38722 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4909610wrt; Tue, 3 Jan 2023 17:38:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXuyjMm3ywSqCHB4nhXLMyqG7mBpAb0I1SHKjr9J9LxuKFuw7ZMa/KJ9G8VflvxqfmHSdO3E X-Received: by 2002:a17:907:a0d0:b0:7c1:637:585d with SMTP id hw16-20020a170907a0d000b007c10637585dmr39683468ejc.0.1672796281442; Tue, 03 Jan 2023 17:38:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672796281; cv=none; d=google.com; s=arc-20160816; b=IZWMEE7lM+MGEk5A04KgT2Yz9XYhxFc0RmpFz3MsOggmn07Xt81UaNC8GatfhFCD+/ iKDTtfW0osS7Epdq2k3MtdMQFnf3GzyMzyd1lNCdZb3d8/WY3CMGJci/a9+hOkSTCARR lgAuWJHHXuVp8yfJY3VpNKRDSSkh8Of8ZHdqD8N4Ke3zz/o7bWpGMwHkx/qTKHDw/ZQb JZ3x/+HdUJG2td+Upz94QqfrZ88DQE9J2EL1Secm8fokFW7Z+/frY3yS9z8iQOD6f13U RQnlg1vhszhnSdYEMFzTD9n3hi09e2X876J/NuR9vx67uyzNWfAf0rkJ0TY1sppb+iQE eUpA== 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; bh=n6j2BNhJ0i297gpFpdm3FIo9RB5kDYWPCRKXNhoSNzI=; b=X54K4soB5rG9X4PjgU/P5QqJLQlqRglLQTIuwbIbx5Bv754fDcXFPcnioNgdubeLcE eU+iZQZSwt2Vsu+9N4fQkRYKqwZZsrDi1H/cgSqQ6EIX2+ZU5wkMPUb8eScvyE/i3TgI 76z3Qsj6RVqVbSpq2Ay85hZY5LgcxEw+GjyTzVFvb5Z7eQHSqDPq//cX04dqFtB4y6ZZ BCNZvUTKZevPleZZqJVLOU0IMwJK/PV2bD/zyGURBdb5146hWKxd9YOepuhN0KVMeIma elw9XjC0zdZ1rw9GUWQfRGXWxo/sONLV+kKe8QieTBRalQwd75QqxEimyuhS54Y8pSUM MayQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r11-20020a50d68b000000b00469b79303b6si27767442edi.195.2023.01.03.17.37.33; Tue, 03 Jan 2023 17:38:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238895AbjADBgX (ORCPT + 99 others); Tue, 3 Jan 2023 20:36:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238779AbjADBf4 (ORCPT ); Tue, 3 Jan 2023 20:35:56 -0500 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B28B817434; Tue, 3 Jan 2023 17:35:54 -0800 (PST) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 3041Oc2a076238; Wed, 4 Jan 2023 09:24:39 +0800 (GMT-8) (envelope-from neal_liu@aspeedtech.com) Received: from localhost.localdomain (192.168.10.10) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 4 Jan 2023 09:34:42 +0800 From: Neal Liu To: Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Neal Liu , Herbert Xu , "David S . Miller" , Chia-Wei Wang CC: , , , , , Rob Herring Subject: [PATCH v5 3/4] dt-bindings: crypto: add documentation for Aspeed ACRY Date: Wed, 4 Jan 2023 09:34:35 +0800 Message-ID: <20230104013436.203427-4-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230104013436.203427-1-neal_liu@aspeedtech.com> References: <20230104013436.203427-1-neal_liu@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.10] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 3041Oc2a076238 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754054033528741762?= X-GMAIL-MSGID: =?utf-8?q?1754054033528741762?= Add device tree binding documentation for the Aspeed ECDSA/RSA ACRY Engines Controller. Signed-off-by: Neal Liu Reviewed-by: Rob Herring --- .../bindings/crypto/aspeed,ast2600-acry.yaml | 49 +++++++++++++++++++ MAINTAINERS | 2 +- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml diff --git a/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml b/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml new file mode 100644 index 000000000000..b18f178aac06 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/aspeed,ast2600-acry.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/aspeed,ast2600-acry.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED ACRY ECDSA/RSA Hardware Accelerator Engines + +maintainers: + - Neal Liu + +description: + The ACRY ECDSA/RSA engines is designed to accelerate the throughput + of ECDSA/RSA signature and verification. Basically, ACRY can be + divided into two independent engines - ECC Engine and RSA Engine. + +properties: + compatible: + enum: + - aspeed,ast2600-acry + + reg: + items: + - description: acry base address & size + - description: acry sram base address & size + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + +additionalProperties: false + +examples: + - | + #include + acry: crypto@1e6fa000 { + compatible = "aspeed,ast2600-acry"; + reg = <0x1e6fa000 0x400>, <0x1e710000 0x1800>; + interrupts = <160>; + clocks = <&syscon ASPEED_CLK_GATE_RSACLK>; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 164f67e59e5f..e6157d18d804 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3214,7 +3214,7 @@ ASPEED CRYPTO DRIVER M: Neal Liu L: linux-aspeed@lists.ozlabs.org (moderated for non-subscribers) S: Maintained -F: Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml +F: Documentation/devicetree/bindings/crypto/aspeed,* F: drivers/crypto/aspeed/ ASUS NOTEBOOKS AND EEEPC ACPI/WMI EXTRAS DRIVERS