Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5547467rwb; Wed, 17 Aug 2022 21:04:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR5gVa8GyVuIjmA57l+fEsco/BGdDqOxQ9qJI+mUmwEUxTI7H7S75XpsM9rVc9+qLllSntgj X-Received: by 2002:a17:90b:605:b0:1fa:b5c5:3449 with SMTP id gb5-20020a17090b060500b001fab5c53449mr5786817pjb.103.1660795442016; Wed, 17 Aug 2022 21:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660795442; cv=none; d=google.com; s=arc-20160816; b=n64rpdyM1T3/LbgaACjBTlFkUy8C6hS13fJ9vEIKN1W/dlMCzBJ1KTRqM3oV3ptasV KhQ8OrYAE6gaoTRNrm16/a5ZkstaeIx1qoo9ViKciFqwiRnOwv+Ta2C7sFcolavX/Gst BejaxTqLehkDxiuAljZTvp+dh/e1EIMmkqz3lpjORNUXzuyNXmFieazTCup19A2qAstI POWrfnCiLq+nLgmw3oI0llCXPrWGizC401nqnv4IhcpPlSBQHfdR1K5nQvBZvMjJJ7L1 FJr2J3faFiHoEGNUJfTRtroNBqAbTQ98prd2wgCFJLjbpx34/bhIr29L70mDk0rcdVa4 h5tQ== 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=+6xtpNeB90gTl/LQvVn+tsjjUJDYB/SNQojZrllSagw=; b=hyw4dlB7UDzzKYFF0wgUiumnuySxkYvAJUoyKx9MaWe0z+SK0D14G4Qf7a15InfW6k s2v1YAaXZqskJpHLhlZTyWyNfgtz1rkgHpz6lmdmWo040lUNaTX+kbFb37rl0/bqKGQ8 gs8VEkWv35VYXJtuQHsPgHJEJRPIKfAsI/qEBzDdGPh88d3uCF6FHsSOQOMEeIZ+4HBn +a3XrDluGA1wJFPccHaOXkoRWHOX1KMusD5PnlE07n9Xq1jrzeMwXisltfaioWq11tWk RHWNOHIujgteaXllu4zDzzLst3crrgW8t3WJHRDUDlslIjtTMMzUhbtl0sJDPIf0vmMx Hu1w== 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 i21-20020a635855000000b0041cefab5b61si436481pgm.719.2022.08.17.21.03.25; Wed, 17 Aug 2022 21:04:01 -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 S235733AbiHREB2 (ORCPT + 99 others); Thu, 18 Aug 2022 00:01:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233903AbiHREBX (ORCPT ); Thu, 18 Aug 2022 00:01:23 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3C8AAB052; Wed, 17 Aug 2022 21:01:21 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 27I3f86w089912; Thu, 18 Aug 2022 11:41:09 +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; Thu, 18 Aug 2022 11:59:59 +0800 From: Neal Liu To: Corentin Labbe , Christophe JAILLET , Randy Dunlap , Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Dhananjay Phadke , "Johnny Huang" CC: , , , , , , Krzysztof Kozlowski Subject: [PATCH v10 4/5] dt-bindings: crypto: add documentation for aspeed hace Date: Thu, 18 Aug 2022 11:59:55 +0800 Message-ID: <20220818035956.1160585-5-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220818035956.1160585-1-neal_liu@aspeedtech.com> References: <20220818035956.1160585-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 27I3f86w089912 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Hash and Crypto Engines (HACE) Controller. Signed-off-by: Neal Liu Signed-off-by: Johnny Huang Reviewed-by: Krzysztof Kozlowski --- .../bindings/crypto/aspeed,ast2500-hace.yaml | 53 +++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml diff --git a/Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml b/Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml new file mode 100644 index 000000000000..a772d232de09 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/aspeed,ast2500-hace.yaml @@ -0,0 +1,53 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/aspeed,ast2500-hace.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ASPEED HACE hash and crypto Hardware Accelerator Engines + +maintainers: + - Neal Liu + +description: | + The Hash and Crypto Engine (HACE) is designed to accelerate the throughput + of hash data digest, encryption, and decryption. Basically, HACE can be + divided into two independently engines - Hash Engine and Crypto Engine. + +properties: + compatible: + enum: + - aspeed,ast2500-hace + - aspeed,ast2600-hace + + reg: + maxItems: 1 + + clocks: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + +required: + - compatible + - reg + - clocks + - interrupts + - resets + +additionalProperties: false + +examples: + - | + #include + hace: crypto@1e6d0000 { + compatible = "aspeed,ast2600-hace"; + reg = <0x1e6d0000 0x200>; + interrupts = <4>; + clocks = <&syscon ASPEED_CLK_GATE_YCLK>; + resets = <&syscon ASPEED_RESET_HACE>; + }; -- 2.25.1