Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp164496iof; Mon, 6 Jun 2022 00:19:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1R+Y8myTdhJlkNi5ANbbrO3qV4HAyc3zA8v+gXyRXL3Ewa9JUWZuAod0qBcJdAmOj3lv2 X-Received: by 2002:a17:903:22ce:b0:164:277:88c6 with SMTP id y14-20020a17090322ce00b00164027788c6mr22886725plg.22.1654499947761; Mon, 06 Jun 2022 00:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654499947; cv=none; d=google.com; s=arc-20160816; b=CnFcIBlUsgKiapVEUOivzG0JllFCp4jmiTtxc+XSHu9QXL8oCnnPUncfyml6gpMGSR NmPSY6qEfzk44zl1Pqp5hUJ95BGC98wfb5BNs7ho6iN54j8K3WZJJgcYMH1izC/Yj1/K sKbkpf6AhgSMRY3vckberyxl/0XMyUeJkBv01SQ5oJpeP7bzQ5etRNmt+NeCdgUUzaXb tkIcll61NVwC2BXXKpfBksJQoCW7w7rviRcQlW0qrOrBvtdSTay1Q3rjBSgFXDhxQh/W VOl6+ZvXxxxFsP3K9TB/EKXJiMDMmGk5L3m9lSG6hQdsWXRzp/a6+OUliPzoxOOLrFMV F4Dg== 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=r5uajI42Ou43AVti4lAIdPkNsharrhHRlkAYdxiBYOM=; b=hnROT040MoxCg1g9eCqItsfkvWEG/NqqyzlCOVBOI8tOLvCKGGiJzicWrua3GSE6DM aJ8hRaP5G7Z8GjnIRvoP+QKk6FcD1QfKJiWeHOhZ6CvVwZN7e3Q4XidKA2iA4RCZ+yLO rjvS3FCW0KL+KXj9cCoHvTy5IAa4mYbU4Yf0LKjAc5owb9oKQKGQAzaZiRVPkkRq4BBB XLyC6nWhno1kgUuLK/y7qrbFXkw7qoKWJCEtwcl6G9YaibmJ7qxD9r5fJPImtNTktPhg 4VZLccy2ZwZDWOrZlB8K4K/dCOetT/H3UVl6tyxYUx3O91rhXp7qzvYK68RewetnWSV7 asBw== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id n2-20020a170902f60200b0016510536bb2si20115882plg.293.2022.06.06.00.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jun 2022 00:19:07 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-crypto-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 919DC12746; Sun, 5 Jun 2022 23:50:27 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbiFFGuN (ORCPT + 99 others); Mon, 6 Jun 2022 02:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230183AbiFFGuI (ORCPT ); Mon, 6 Jun 2022 02:50:08 -0400 Received: from twspam01.aspeedtech.com (twspam01.aspeedtech.com [211.20.114.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B0C7302 for ; Sun, 5 Jun 2022 23:50:06 -0700 (PDT) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 2566YucU035313; Mon, 6 Jun 2022 14:34:57 +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; Mon, 6 Jun 2022 14:49:41 +0800 From: Neal Liu To: Herbert Xu , "David S . Miller" , Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Johnny Huang CC: , , , , , Subject: [PATCH v2 4/5] dt-bindings: crypto: add documentation for aspeed hace Date: Mon, 6 Jun 2022 14:49:34 +0800 Message-ID: <20220606064935.1458903-5-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220606064935.1458903-1-neal_liu@aspeedtech.com> References: <20220606064935.1458903-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 2566YucU035313 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 --- .../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