Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1566147rwe; Thu, 1 Sep 2022 23:05:07 -0700 (PDT) X-Google-Smtp-Source: AA6agR60wENonhMvVKciIkC3jy0OE4m/r9qQZoTL2EipztLLgTK9h9rOmMbD//wS1GiHmq1FHN4l X-Received: by 2002:a05:6402:292f:b0:448:6241:25de with SMTP id ee47-20020a056402292f00b00448624125demr20014223edb.248.1662098706844; Thu, 01 Sep 2022 23:05:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662098706; cv=none; d=google.com; s=arc-20160816; b=R8Wr5PWEtMGmHZQ515KppC3DnYVGHgMZgDOXt87hxLxpMOIiiFb6L/MLOf5GniVEpu fKvA3C3Fmhx0rlxkBWem3v1Q794kCU/EWr5ZrCYoDMAwCkS/rdA7XyJ6LDs7XTdCdpoq ntb37ERC1gcun1rVNnMqDzn7K2Vu5RERhqv8rwTYYb0eMJ+Lw6ld6FZxjAdU2V7avq0W 14v8vlE0NSmq7oIY8TDo5duNOG0N7aqYaMydmjoQlr/SkccGH8fFNCFXKs1zcBgRLjrj 0/9+a0CT2nGCJqxQT20UUY49SLgxzE5tnAGYggnnGkf8VBJYogw0Vg7bCNrVY4q+LiJ5 Mq9w== 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=qtR8Nb7AVdZ+pzBMPREYgoknd/ZZepYUdcq91bPxntA=; b=vFa+WeSryDErijy0MauP4UUau0DaaTSrjPxrDva5UIych2Z/gjLh7nCpuGCpSl2Gji jymYcXqGZA2GuA81jjTeGoVuLKbo7N5vNiKaezdu219BiIoPHxFqy3KBeZFX/KTz32+U fysx2NzHjk1aFqkKcYX7NS3Zpb4tJvtZZHB43piyIBlTZ6HN5kAuaCDnwnOAgsrv3V3x lFFmw+v3a2SnmK4bb4rUN799TIlJHFKEHTnvOI+Lb9a7FbV7I1puzTPhB3f7q0BKYwam VpcG8KjIghzWPdxfY0MYGYstAxgauUDyO1scheV9v2ZoKfJDZu7tJZ+TMLfjXuJyvqTp VqgQ== 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 f11-20020a0564021e8b00b00447879e8221si1275438edf.247.2022.09.01.23.04.42; Thu, 01 Sep 2022 23:05:06 -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 S231231AbiIBGCB (ORCPT + 99 others); Fri, 2 Sep 2022 02:02:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235317AbiIBGBn (ORCPT ); Fri, 2 Sep 2022 02:01:43 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ED65ABF00; Thu, 1 Sep 2022 23:01:41 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 2825eWm6091015; Fri, 2 Sep 2022 13:40:33 +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; Fri, 2 Sep 2022 14:00:16 +0800 From: Neal Liu To: Dhananjay Phadke , 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 v1 3/4] dt-bindings: crypto: add documentation for Aspeed ACRY Date: Fri, 2 Sep 2022 14:00:11 +0800 Message-ID: <20220902060012.3758637-4-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220902060012.3758637-1-neal_liu@aspeedtech.com> References: <20220902060012.3758637-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 2825eWm6091015 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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..192b40cd0a39 --- /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 Device Tree Bindings + +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 independently 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 832da6d77374..09ab1c3adbb7 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