Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp410464iog; Wed, 29 Jun 2022 02:49:03 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vugbwdNSUkdE4unnO70MzciAFtW9f5KYbBdwDPe3C/QKBJjWQvWE2apkQ56WDZHTjbluwx X-Received: by 2002:a05:6402:1d53:b0:437:9737:24f3 with SMTP id dz19-20020a0564021d5300b00437973724f3mr2914529edb.397.1656496142667; Wed, 29 Jun 2022 02:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656496142; cv=none; d=google.com; s=arc-20160816; b=Vdma81dj9FBCE/Id1P7JKyDXZpIgAzAp4kYY5IZ9onTGH5iThsYjii59ywuinnNIyG i0BL2OjDIV96H2pnaQilMnKl+LorA0OH0BdHtqrx9dgZQlt2LSrd12Lc3KdHRPH13Xyb CR5z/NFuDeRmuZUHef+Ujs0o4grJo1OVjxFxA8F6hnoqG0DA8Ca1IcIR9VkD7RRDXy1G Ah+PiSX7wf+8p+rOQEvziqqiOXGBnFpbFjegRxHpbJZqniyWZGRBte5PoAObb+i88Tvg RXKiU2WfVLQk+0aenY9EAhsxZ6x75uELShY9nxpF9KevL2qUTQWwVBWHScJYLhb32aEf 9R0w== 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=ZpHlmi1QD1XfM3iJfMl+RJlCL8a4Jw9a9WRDY6KrmEFHX50D8Txzsq6I7qtP4aYrp+ iKncgIesDly3wOQ+VV7TVAp6y1uAbxDySdY17GyaxIVl3CnR6f2DPFPoznt2V7IhPOna Mw3/VOmZxCpQpoM3Dyrf7Sr2JSLlYDdMC+zaaeI0/9RDR1YzihUyFMKGU4nlrzlAMNnA D8BhgVZyXPBt+zXLybuqnWueStjgefVhxjcFRavG+ssL3DPtAq5wLMGrZ8ipqP/1sSeY LxNTdiLalCqqiys7i75KHsYehqXGXe40USflCZ7Rb8twhapOYmDtAms23S5sZcmCmuJx cMXQ== 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 n17-20020aa7db51000000b004355043e3fbsi284834edt.440.2022.06.29.02.48.27; Wed, 29 Jun 2022 02:49:02 -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 S232934AbiF2Jpe (ORCPT + 99 others); Wed, 29 Jun 2022 05:45:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232954AbiF2Jpd (ORCPT ); Wed, 29 Jun 2022 05:45:33 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9AD363BBF0; Wed, 29 Jun 2022 02:45:32 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 25T9SSim051155; Wed, 29 Jun 2022 17:28:28 +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, 29 Jun 2022 17:44:32 +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 v6 4/5] dt-bindings: crypto: add documentation for aspeed hace Date: Wed, 29 Jun 2022 17:44:25 +0800 Message-ID: <20220629094426.1930589-5-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220629094426.1930589-1-neal_liu@aspeedtech.com> References: <20220629094426.1930589-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 25T9SSim051155 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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