Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3705849rwb; Mon, 3 Oct 2022 20:45:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ugJA0nAX6pSJ2bHvaYbdC2c878IT/05VlXTeP7MMFwfQUB24m6ONl1IkdsM8Y4h14BcCA X-Received: by 2002:a17:902:ceca:b0:177:fa1f:4abc with SMTP id d10-20020a170902ceca00b00177fa1f4abcmr25331388plg.99.1664855122773; Mon, 03 Oct 2022 20:45:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664855122; cv=none; d=google.com; s=arc-20160816; b=l7Dlj4oajgEU0yxwOyyxvU9EB6aSV9tc9u3eBfqaso0wAXlm26m2R4+Nhfn+sFJe+V +o5jLSZ8Y80vXvesRHiF41wFslVIlIRbOdRVfRHGoufYK1FqBq0IPpVGNhm9MkD3CRA5 S6KGzA6XA+72UrDIKi7Tr6MHWM4hw88w9h/VFRR76uq7ecEO5+IWIkNtBwYEURQYv4Nq AzjScylx5mku6B0N6xPMVrODukHzTm2blbplEA+xoeMPOchryG6/FBPMyQduweE9NeEv tagF49c/x21yhDpDhLQFC1WM/abM9puQrINH9ZIwKiHKgBlAqmK0+JQr9rxOw+NiFWe2 SL3w== 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=eZh2JJ1h8qt4TKUodIRwmQ4OtHGsx+H+xWxJeGwq8c8=; b=E5IGu8LNzC4q14Oh0LC3Cl8nVQYuDO0RxH00Tl6HU/Z8GKJRY5OifpMXDs+8ccQ7tM BR7r6zGBQCOk1FA2ZDV372HMAxzrN61mlmP/zuURCnrDrZoD1Y5BaGYAXqvqVfi64875 QhPselYRqc10G49pk9l4EbkZb/gztQle2Jvj4iXCaxJhwRswmR6xgd7z3XgwKg8+0s1y cOGPTFETmFCR7QxtO5WTnObYoH6I2vnGS2dGnJ62OmobNJgVt7WcCUdpPff0l5G8vIxk LDF1XXsidFZPN/AtVQZrwQPZGFg3zFGICLRedtko6cDofW55s8ycokTsEpC70FtP/Gam r4Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s144-20020a632c96000000b0042ff6b15129si11951031pgs.2.2022.10.03.20.45.09; Mon, 03 Oct 2022 20:45:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbiJDDcL (ORCPT + 99 others); Mon, 3 Oct 2022 23:32:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229592AbiJDDbU (ORCPT ); Mon, 3 Oct 2022 23:31:20 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 736FC29361; Mon, 3 Oct 2022 20:30:04 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 29437FXd092749; Tue, 4 Oct 2022 11:07:16 +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; Tue, 4 Oct 2022 11:28:49 +0800 From: Neal Liu To: Herbert Xu , "David S . Miller" , Joel Stanley , Andrew Jeffery , Rob Herring , Krzysztof Kozlowski , "Chia-Wei Wang --cc=linux-kernel @ vger . kernel . org" CC: , , , , Subject: [PATCH v2 3/4] dt-bindings: crypto: add documentation for Aspeed ACRY Date: Tue, 4 Oct 2022 11:28:40 +0800 Message-ID: <20221004032841.3714928-4-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221004032841.3714928-1-neal_liu@aspeedtech.com> References: <20221004032841.3714928-1-neal_liu@aspeedtech.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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 29437FXd092749 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-crypto@vger.kernel.org Add device tree binding documentation for the Aspeed ECDSA/RSA ACRY Engines Controller. Signed-off-by: Neal Liu --- .../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 -- 2.25.1